// fetch the URL and load it into an XML document NSXMLDocument* nsxmlDocument = [[NSXMLDocument alloc] initWithContentsOfURL:nsurl options:0 error:&nserror]; NSMutableArray* tweets = [TwitterParserXml parseDocument: nsxmlDocument]; // display the string (we convert it to UTF8 for display) NSLog(@"Retrieved %i tweets", [tweets count]);