简体   繁体   中英

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

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.

如果xml文档是中小型的,那么NSXMLParser就是这样的: NSXMLParser

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM