What is a good delivery format from a server to a utility app?
-
21-09-2019 - |
Question
What Format should data be in when going into a utility app from a server? JSON, XML or something else?
Edit:
I need to tell a client to tell his web guy to build me a web service or let me do it. I need to make sure I am asking for the right thing.
Solution
The best format is Apple's Plist format. The iPhone OS can quickly and easily parse this. It's faster and less memory intensive than XML.
Best of all, it requires no additional libraries or parsing code on the device.
OTHER TIPS
There are good libraries for parsing and emitting both XML and JSON in Cocoa Touch. I recommend KissXML and either Stig Brautaset's JSON or TouchJSON.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow