Accessing XML data online?

Posted by fuzzygoat on Stack Overflow See other posts from Stack Overflow or by fuzzygoat
Published on 2010-03-24T16:59:20Z Indexed on 2010/03/24 17:23 UTC
Read the original article Hit count: 432

Filed under:
|

I am just testing an app to get data off our web server, previously I had been using:

NSURL, NSURLRequest, NSURLConnection etc. to get the data that I wanted.

But I have just noticed that if I swap to using XML I can simply do the following and pass the results to NSXMLParser:

NSURL *url = [NSURL URLWithString:@"https://www.fuzzygoat.com/turbine?nbytes=1&fmt=xml"];

Am I right in thinking that if your just after XML this is an acceptable method? It just seems strongly short compared to what I was doing before?

gary

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone