• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core data migration question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Core data migration question
      • From: Timothy Larkin <email@hidden>
References: 
 >Core data migration question (From: "Jon C. Munson II" <email@hidden>)
 >Re: Core data migration question (From: mmalc Crawford <email@hidden>)
 >Re: Core data migration question (From: Jon Munson II <email@hidden>)

  • Prev by Date: Re: SQLite and Unicode
  • Next by Date: (no subject)
  • Previous by thread: Re: Core data migration question
  • Next by thread: Re: Core data migration question
  • Index(es):
    • Date
    • Thread