-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think that Jon is asking whether he should give a version number to his data model, and not whether he should create a second version of his data model. If this is in fact his question, then I think the answer is yes, because this will make it easier, if he needs to migrate at some time in the future, to identify which data model version he migrating from.

On Apr 7, 2009, at 2:41 PM, mmalc Crawford wrote:


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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/tsl1%40cornell.edu

This email sent to t...@cornell.edu

Tim Larkin
Network Administrator Emeritus
E&EB
Cornell University



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAknbqXgACgkQOzculQ5SMWRVnwCfb8lsg+3BnPfPGSb5AbJd0Sec
xxgAoL92cNyz+ElgUC3PQo2M44pzTBa2
=azsg
-----END PGP SIGNATURE-----
_______________________________________________

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

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

Reply via email to