I have this NSXMLParser that parsing an XML file from a webserver
parser = [[NSXMLParser alloc] initWithContentsOfURL: [NSURL URLWithString:@"http://www.ep.samico.dk/valuta.xml"]];
I want my app to handle http errors, so it displays an error if cant connect to the server..
How can i check the url for response before i parse it?
Fetch the data first, then feed it to the parser.
NSDatacan do this for you.