The try{}catch
construct is common to C++, Java & related languages. In the iOS SDK is there and any functionality like this?
@try {
// Try something
}
@catch (NSException * e) {
NSLog(@"Exception: %@", e);
}
@finally {
// Added to show finally works as well
}