Hi !
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?
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?