Updating App data through XML or text files
I have a conceptual problem to solve and it has to do with the iPhone platform.
Here it is:
I am planning to develop an application which can be called a game or similar to a quiz application.
What I want to do is to define individual quizzes/scenarios in a simple text or XML file and as such "publish" new scenarios by providing text or XML files the user would download and "import" into the application.
Once the text file is imported, the content can be converted to Managed Objects and stored in a persistent store.
My problem is to decide whether to use text or XML, and how to let users import these files, given that there is really no apparent file system.
For parsing the files, I know there is an XML parser (NSXMLParser), but I did not see a simple text parser.
So, in summary:
1) Should I use text or XML, thinking about the capabilities in the iPhone SDK?
2) How can I provide the user a mechanism to import new files/scenarios and make them part of the application content
Thanks,
======
Dr. Levent Mollamustafaoglu
|