Re: Versioning and CoreData
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