Re: NSManagedObjectContext -insertObject: Cancels Prior Deletion -- BUT!
Re: NSManagedObjectContext -insertObject: Cancels Prior Deletion -- BUT!
- Subject: Re: NSManagedObjectContext -insertObject: Cancels Prior Deletion -- BUT!
- From: Jerry Krinock <email@hidden>
- Date: Thu, 7 May 2009 06:37:23 -0700
On 2009 May 06, at 11:32, Jim Correia wrote:
Using multiple MOCs with a single persistent store coordinator is
supported. It is pattern #1 in the Core Data threading documentation.
Thanks, Jim.
I believe that moving the children to a "foster parent" before
deleting the real parent would be a practical solution.
But I don't want to implement any solution before I understand the
problem!
I keep re-reading the quote from Ben Trumbull:
On 2009 May 05, at 05:28, Dave Fernandes wrote:
Begin forwarded message:
From: Ben Trumbull <email@hidden>
-insertObject: is the reciprocal of deleteObject: You can use it
to cancel a deletion.
- Ben
It makes complete sense. But certainly one would not expect the un-
deleted object to have had all of its attributes hosed? I find it
hard to believe that this would be a bug in Core Data behavior after
all these years, but equally hard to believe is that such behavior
would not be documented.
I'm worried that I'm not understanding something basic in Core Data
and therefore have other flaws in my design concept.
_______________________________________________
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