Re: Core data migration question
Re: Core data migration question
- Subject: Re: Core data migration question
- From: mmalc Crawford <email@hidden>
- Date: Tue, 07 Apr 2009 11:41:31 -0700
On Apr 7, 2009, at 10:53 AM, Jon Munson II wrote:
I wasn't certain if, in order to utilize versioning later, that I
would need to mark the current model in some way. The Apple dox
didn't state one way or another, and I didn't wish to make an
assumption and find out later that I missed some important step
which would result in hours of headache.
It's not clear how the discussion indicates there would be "hours of
heartache"?
"The versioned model has a new runtime format (.momd) that is a bundle
containing individually compiled .mom files. You load the .momd model
just as you would a regular .mom file (using
NSManagedObjectModel’sinitWithContentsOfURL:).
To create a versioned model, you start with a normal model such as
that illustrated in Figure 4."
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreDataVersioning/Articles/vmVersioning.html#//apple_ref/doc/uid/TP40004714
>
It would certainly be trivial to test.
mmalc
_______________________________________________
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