Hi,
Now the user only get a error message like "Error code 5".
NSString *errorString = [NSString stringWithFormat:@"Error code %i", [parseError code]];
UIAlertView *errorAlert = [[UIAlertView alloc] initWithTitle:@"Error loading content" message:errorString delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[errorAlert show];
So the NSXMLParserError code is not enough for me. I rather would like something like "NSXMLParserPrematureDocumentEndError" or "The document ended unexpectedly."
Is there an easy way to do this?
Cheers