2014年10月16日 星期四

[Swift]Try-Catch case

TryCatch.try({ () -> Void in
//try stuff
}, catch: { (exception) -> Void in
//catch exceptions
}) { () -> Void in
//close resources
}

沒有留言:

張貼留言