• 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: Jerry Krinock <email@hidden>
  • Date: Sat, 11 Jul 2009 22:30:58 -0700


On 2009 Jul 11, at 15:43, Kyle Sluder wrote:

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.

Yes, that's what I thought.

Thanks, Kyle. I just filed a bug on the use of the undefined term in the documentation, 7051543.

I solved the problem I was looking for by using -[NSValue valueWithPointer:] instead of -[NSManagedObject objectID] as keys to objects in a temporary dictionary. I don't have to worry about them changing from temporary to permanent when a fetch is done, and they take up alot less space in my console log too :)

_______________________________________________

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


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

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