Re: What exactly happens when I use Core Data's 'Remove' button?
Re: What exactly happens when I use Core Data's 'Remove' button?
- Subject: Re: What exactly happens when I use Core Data's 'Remove' button?
- From: Bill Bumgarner <email@hidden>
- Date: Fri, 11 Aug 2006 07:56:59 -0700
On Aug 11, 2006, at 6:32 AM, Arthur C. wrote:
So another question is why the object is not actually deleted (I
would expect it to be dealloc-ed).
As someone else said, it is marked as deleted in the context and not
actually dealloc'd until save.
NSManagedObjectContext offers a notification named
NSManagedObjectContextObjectsDidChangeNotification. Observe this and
take appropriate action upon the managed objects found in the user
info dictionary under the key NSDeletedObjectsKey.
_______________________________________________
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