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

I am looking for the best way to parse XML on iOS. There seem to be so many ways to do this, so many different examples. In particular, I want to send a request to the weather service, and then extract the information from the XML response.

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

+3
source share
2 answers

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

+5
source

Source: https://habr.com/ru/post/1773693/


All Articles