Swift Errors Thrown from here are not handled
I followed the above link but i still seeing that issue. Adding code below
do {
// print("\(v)")
let jsonData = try NSJSONSerialization.dataWithJSONObject(["code":"102", "response":v], options: NSJSONWritingOptions.PrettyPrinted)
let string: String! = String(data: jsonData, encoding: NSUTF8StringEncoding);
print("\(string)")
BonjourClient.sharedInstance.sendString(string)
}
catch let error as NSError {
print(error)
}