• 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: Versioning and CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Versioning and CoreData


  • Subject: Re: Versioning and CoreData
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 6 May 2006 16:04:02 +0200

Am 02.05.2006 um 15:11 schrieb Ryan Britton:
Core Data can handle defaults, but it cannot handle any of the copying. If you have an acceptable default value for an added attributes, then you do not need to necessarily set these in the migration because Core Data will handle that part. Existing attributes must be copied directly though. Fortunately, you can get a list of these and iterate over them rather than having to hard code them in.

Great to hear that! Thanks for letting me know of that.

There is one other limitation that I didn't mention here. Store size plays a factor. This currently does no batching so large store sizes may not be practical without adding some kind of batching functionality. My data sets have been small so I've not done anything like this.

What do you mean by "batching functionality"? You mean that doing the conversion to a new model would require loading and writing out of the entire store, and one would ideally try to load only a few objects at a time, or what?


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Versioning and CoreData
      • From: Ryan Britton <email@hidden>
References: 
 >Versioning and CoreData (From: Uli Kusterer <email@hidden>)
 >Re: Versioning and CoreData (From: Ondra Cada <email@hidden>)
 >Re: Versioning and CoreData (From: Uli Kusterer <email@hidden>)
 >Re: Versioning and CoreData (From: Ryan Britton <email@hidden>)

  • Prev by Date: Bizarre CoreData Problem
  • Next by Date: Re: Versioning and CoreData
  • Previous by thread: Re: Versioning and CoreData
  • Next by thread: Re: Versioning and CoreData
  • Index(es):
    • Date
    • Thread