View Full Version : How can we use Webservice in Iphone application

Nov 12, 2008, 12:41 AM
I am using Webservice to get the data for my Iphone application which returns in XML format.

How can I display this data in Navigation-Based application default view(TableView).

any idea??

Thanks in advance,

Nov 12, 2008, 04:04 AM
You'll want to take a look at NSXMLParser for the data (http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html) and the UITableViewDataSource protocol (https://developer.apple.com/iphone/library/documentation/UIKit/Reference/UITableViewDataSource_Protocol/Reference/Reference.html) for updating a table view's data.

Check out the TableViewSuite example for lots of sample code (http://developer.apple.com/iphone/library/samplecode/TableViewSuite/index.html).