NSXMLParser is already built in. You should look at this article for a more thorough comparison.
Simple and quick way to parse an XML file in iOS7
Pregunta
I have a simple XML file like this
<?xml version="1.0"?>
<catalog>
<timezone>
<name>UTC-11:00</name>
<place>
<value>American Samoa</value>
<value>Samoa</value>
</place>
</timezone>
<timezone>
<name>UTC-10:00</name>
<place>
<value>Honolulu</value>
<value>Tahiti</value>
</place>
</timezone>
</catalog>
What is the canonical/standard way to parse this in iOS? I want to save "names" and "places" for each name.
Solución
Otros consejos
It is NSXMLParser
. Official documentation
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow