• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data "commit changes" -- What does that mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Core Data "commit changes" -- What does that mean?
      • From: Jerry Krinock <email@hidden>
References: 
 >Core Data "commit changes" -- What does that mean? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSScrollView
  • Next by Date: Re: KVC and addObject for "to-many" properties
  • Previous by thread: Core Data "commit changes" -- What does that mean?
  • Next by thread: Re: Core Data "commit changes" -- What does that mean?
  • Index(es):
    • Date
    • Thread