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: "I. Savant" <email@hidden>
- Date: Fri, 11 Aug 2006 11:13:52 -0400
Ah - I forgot about that approach. Disregard my last suggestion;
this one is far better. :-)
I *would* recommend going (back?) over the Core Data Programming
Guide. This topic is thoroughly covered there.
--
I.S.
On Aug 11, 2006, at 10:56 AM, Bill Bumgarner wrote:
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:
40gmail.com
This email sent to email@hidden
_______________________________________________
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