Re: CoreData: unsolicited undelete
Re: CoreData: unsolicited undelete
- Subject: Re: CoreData: unsolicited undelete
- From: Jim Correia <email@hidden>
- Date: Fri, 23 Sep 2005 08:57:40 -0400
On Sep 23, 2005, at 8:24 AM, Pierre Bernard wrote:
Could anyone explain how this can happen?
[context deleteObject:queryItem];
BOOL isDeleted = [queryItem isDeleted]; // YES
[context processPendingChanges];
BOOL isStillDeleted = [queryItem isDeleted]; // NO !!
Where did I mess up?
Is that exactly the code in question? You didn't save the managed
object context in between?
<http://www.cocoabuilder.com/archive/message/cocoa/2005/7/14/141922>
further explains isDeleted.
Jim
_______________________________________________
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