XML (IPhone Application Development)

There are actually two XML samples I can recommend. The first one, SeismicXML, shows you how to work with XML documents. When you launch it, it gets and parses an RSS feed. This particular feed is from the U.S. Geological Survey that provides data on recent earthquakes around the world. (I live in Northern California, so you can bet I keep this one on my iPhone as well.)
The second sample, XMLPerformance, parses XML by using the two APIs provided in the SDK. This sample allows the user to choose between the two APIs, tracks the statistics of each parse, and stores that data in an SQLite database. There’s a good discussion of performance in the ReadMe file. In addition, the app’s RSS feed uses the “Top 300″ songs from iTunes, so you can keep up to date on those tunes.

Next post:

Previous post: