I have an OSX core data app (non-document based) with several tables. I’d like to ship my app with just one of those tables preloaded with a few hundred records. The user will also be able to add more records to the pre-filled table.
What is the best way to ship my app with one of the tables pre-filled? I’ve seen similar answers for iOS, but I’m on OSX which doesn’t appear to use sqlite for core data.
Future versions of the application may want to update this table without wiping out any of the user-defined records created with the current version.
Thank you in advance.
Store a template data file in your application’s resources. If the user has no working data file, copy the template into place.