Is there a good way to deal with NSError in ios development?I was going trough some online references and i found that most of them were using [NSApp presentError]
to present the error??
This is definitely not possible in ios as there is nothing called NSApp in the ios realm..
I was wondering how should one go about handling NSErrors other than just printing what
the error really is using [error localizedDescription]
Should one access the error code property of the NSError class and handle all the possible
error codes that one might expect in a particular situation using an else if/ladder??
**It would also be helpful if one could explain the major difference between NSError and
NSException? an why we have two seperate thing at the first place**