I am writing an iPhone 3.0 application that uses Core Data to persist the model. I\'d like the application to be installed with a default dataset. When developing for iPhone <
Two options spring to mind:
In my experience the code to implement option 1 is nearly the same code as required to prepopulate a persistent store, so perhaps there's really only one option with two points of view.
You can use Plist to store the initial data and populate your persistent store on first run. This approach is easier than having to write your own custom XML parser.