Why doesn\'t @try block work? It crashed the app, but it was supposed to be caught by the @try block.
NSString* test = [NSString stringWithString:@\"ss\"];
Objective-C is not Java. In Objective-C exceptions are what they are called. Exceptions! Don’t use them for error handling. It’s not their proposal. Just check the length of the string before using characterAtIndex and everything is fine....