Core Data Initialization
Core Data Initialization
- Subject: Core Data Initialization
- From: Dave <email@hidden>
- Date: Mon, 02 Sep 2013 12:01:42 +0100
Hi,
I have inherited an iOS application that uses Core Data. At App Launch time, it checks to see if the App.sqlite file is present and if not it copies an existing .sqlite file including in the Xcode Project into the correct folder on the device for Core Data.
I have a couple of questions regarding:
1. Is this advisable? Is it Safe?
2. What happens if I change the model file and forget to update the Pre-built SQLite File?
3. Is there a better way of doing this?
Thanks in Advance for your help
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden