The other day I was doing some coding on the side, and i was playing with different web services. Some of the web services returned JSON, while others returned XML. Now, JSON was easy to handle, b/c i could simply use the NSJSONSerialization class built into ios and export it to an NSDictionary. However, XML was a different story. To handle that natively meant that i had to parse it using the NSXMLParser . To do this, you need to create a delegate, and build your data model as you go through each...(read more)
↧