Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-31-2010, 09:12 PM   #1 (permalink)
valisubik
Registered Member
 
Join Date: Jul 2010
Posts: 2
Default 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
valisubik is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,850
Threads: 89,215
Posts: 380,665
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jaraspl
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:46 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.