Re: Core Data migration: how to delete some managed objects?
Re: Core Data migration: how to delete some managed objects?
- Subject: Re: Core Data migration: how to delete some managed objects?
- From: Sean McBride <email@hidden>
- Date: Wed, 06 Mar 2013 13:52:19 -0500
- Organization: Rogue Research Inc.
On Tue, 5 Mar 2013 18:56:32 -0800, Jerry Krinock said:
>> I take it you are using your technique successfully in practice?
>
>Maybe not. I'd pasted in some of my code but modified it for your
>case. Although I have done a lot of stuff in that method, I'm not sure
>if I have ever used that specific technique of *not* invoking super, to
>"delete" an object.
OK, well, it seems to be working well at least!
>If you invoked associateSourceInstanc
>e:withDestinationInstance:forEntityMapping: per the documentation, you'd
>pass nil for destinationInstance. And then it will either (1)
>degenerate internally to a no-op, (2) raise an exception, or (3) crash.
>You can figure it out from there :)
As I said in my previous post, it goes boom. :( I'll just not invoke super, it seems the right stuff is happening...
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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