Hi,
I am a beginner to iPhone App development. Please help me out.
In my iPhone application, I am making an API request and getting an XML.
I have to parse it, store it in a object(or xml as such) and also display it in my application at a later point of time (Its more like storing the current state).
I figured out how to request API, parse it, but dono what to do for storing it. Here are my constraints.
- When I exit & re-open the application next time, I have to retain the downloaded XML data.
- I have explored and got solutions to request API and parsing it using NSXMLParser. But for storing it in phone memory or application bundle, I have not got a clear idea.
As I searched through various threads & blogs for storing the data, I get to know about several ways to do this.
a. Saving NSDefaults
b. SQLite Database
c. Storing it as plist
b. Core data
I am not sure on any of the above. Please let me know on which is the best way (should be none of the above i guess - ;) ) to store the XML data for later use along with the time, so that I can check it and update it on later stage.
Thanks in advance