PDA

View Full Version : Recommended data format




mpramodjain
Jan 3, 2009, 07:11 AM
Hi,

Do anyone know whether there is any recommended data format(xml,csv...etc) by apple for downloading the content from http server and display it on the device for a good performance.

My application contains data which is not in a same format every time , and also images are also to be downloaded to display with the content.

Any idea.

Thank u.



fishkorp
Jan 3, 2009, 08:08 AM
I tend to use XML. Has worked fine for me so far and is easy to work with using the NSXMLParser.

detz
Jan 3, 2009, 08:12 AM
I use JSON, much leaner and easier to work with than XML. It's up to the developer though, Apple doesn't care what you use.