Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best way to parse XML from a URL for iOS?

Tags:

ios

xml

iphone

I'm looking for the best way to parse XML on iOS. There seem to be SO many ways to do this, so many different examples. Specifically, I want to send a request to a weather service, then extract the weather from the XML response.

If you could point me in the right direction and hopefully someone else will also find this useful.

like image 729
W Dyson Avatar asked Dec 17 '25 01:12

W Dyson


1 Answers

If the xml document is small to medium sized, then NSXMLParser is the way to go: NSXMLParser

like image 90
ennuikiller Avatar answered Dec 19 '25 13:12

ennuikiller