Re: Core Data "commit changes" -- What does that mean?
Re: Core Data "commit changes" -- What does that mean?
- Subject: Re: Core Data "commit changes" -- What does that mean?
- From: Kyle Sluder <email@hidden>
- Date: Sat, 11 Jul 2009 15:43:25 -0700
On Sat, Jul 11, 2009 at 2:07 PM, Jerry Krinock<email@hidden> wrote:
> Is "commit changes" synonymous with "send the managed object context a save:
> message and see it return YES"?
In the context of documentation such as that of
-[NSManagedObjectContext deleteObjects], yes. That's the circumstance
which sends NSManagedObjectContextDidSaveNotification.
> There is also discussion of "commit editing" but that seems to be something
> different.
That's part of NSManagedObjectContext's implementation of
NSEditorRegistration. NSEditorRegistration defines a well-known
protocol for UI elements to inform controllers that they are editing
values controlled by those controllers.
--Kyle Sluder
_______________________________________________
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