Andrew
Andrew

Reputation: 238927

iPhone: How to populate a table view from XML data?

Let's say I have XML data that I just downloaded from a web app api.

Upvotes: 0

Views: 7005

Answers (2)

Nithin
Nithin

Reputation: 6475

try using NSXMLParser. You can get the documentationhere

Upvotes: 0

Jay
Jay

Reputation: 320

Here is a tutorial that does exactly what you are asking for. It downloads an RSS feed (which is XML), parses it, then loads the data into a table.

It should be easy to modify this for your application.

http://theappleblog.com/2008/08/04/tutorial-build-a-simple-rss-reader-for-iphone/

Upvotes: 2

Related Questions