Pre loaded database on iPhone?
Posted
by Julian
on Stack Overflow
See other posts from Stack Overflow
or by Julian
Published on 2010-06-07T15:14:29Z
Indexed on
2010/06/07
15:22 UTC
Read the original article
Hit count: 204
Hi,
I have recently developed an app using core data as the storage db. The app allowed the user to read and write to the db. I am now developing a new app which the user doesnt need to write anything to the db, instead the app just needs to read the data. The data has relationships etc so cannot just use a plist or something similar. My question is should I use core data for such a requirement and if so how would i go about entering the data and then releasing the app. Would I have to code the data entry which would populate the db then remove all this code (as I dont want the database to repopulate every time the user opens the app)?? Is there a way to create a core data model using sql commands as with sqlite ie insert into..... etc?
Any ideas/thoughts would be very helpful.
Many thanks
Jules
© Stack Overflow or respective owner