|Jan 12, 2009, 02:17 AM||#1|
I am working with NSScanner .
NSScanner *scanner = [NSScanner scannerWithString: myData];
[scanner scanUpToString:@"valid" intoString:&temp];
Now in case there is no "valid" string in the search the software crashes saying "Terminated due to Uncaught Exception".
Please help, send me suggestion.
Is there something like try-catch in obective-C?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|NSScanner not continuing scan||Spike099||Mac Programming||4||Apr 7, 2008 11:10 AM|
All times are GMT -5. The time now is 04:10 PM.