On 2014 Feb 23, at 01:07, Yi Lin <yionco...@gmail.com> wrote:

> After reading Apple’s docs on migration policy subclasses, I find it very 
> convoluted

I don’t find mapping models or NSMigrationPolicy to be any more complex than is 
necessary.  There are some holes in the documentation which you’ll need to 
search around for.  This is helpful…

https://devforums.apple.com/message/146412#146412

On 2014 Feb 23, at 01:07, Yi Lin <yionco...@gmail.com> wrote:

> I can even make use of logic in my NSManagedObject subclasses to construct 
> data in the new model instead of
> working with the complex mechanism in migration policy.

Migration logic is ugly, rarely used, and ideally something that you aspire to 
delete in the distant future.  I would rather have it in an NSMigrationPolicy 
subclass rather than muck up my managed object subclasses.


_______________________________________________

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

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

Reply via email to