On 3 Sep 2013, at 15:59, Fritz Anderson <fri...@manoverboard.org> wrote:

> On 2 Sep 2013, at 9:33 AM, Jerry Krinock <je...@ieee.org> wrote wise things 
> about handling mismatches between stores and MOMs, and the practice of 
> copying a generic store into Documents/ if no store is there.
> 
>> On 2013 Sep 02, at 04:01, Dave <d...@looktowindward.com> wrote:
>> 
>>> 1.  Is this advisable? Is it Safe?
>> 
>> It's kind of weird.
> 
> I've done it before, and would be surprised if it were unusual. One would 
> often want to seed an app with default and constant data, wouldn't one?

Yes, of course, but to import a SnapShot of the app.sqlite file isn't the best 
way of achieving this. In this case anyway, it would be better to hold the 
default data in some other kind of data file and then write it into the latest 
Core Data store when the app is first launched.

Cheers
Dave


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to