• 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: NSManagedObjectContextObjectsDidChangeNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSManagedObjectContextObjectsDidChangeNotification


  • Subject: Re: NSManagedObjectContextObjectsDidChangeNotification
  • From: Niko Matsakis <email@hidden>
  • Date: Fri, 21 Oct 2005 14:33:15 +0200

How often is a NSManagedObjectContextObjectsDidChangeNotification sent? It doesn't seem to be sent immediately when changes are made, but rather collects changes. I am guessing that it is collects all changes made during an undo transaction or something like that? I see some vague references in the documentation to "transactions" in reference to deleted objects, but that's all I could find.

Sorry, I wrote this email a while back but discovered a little more in the mean time and forgot to update it: I would guess that this notification is sent when @selector(processPendingChanges) is invoked, which the docs say is at least once through every event loop. Since I do not invoke it manually, I assume that this is the only time.


Is this correct?


thanks, Niko

_______________________________________________
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


References: 
 >NSManagedObjectContextObjectsDidChangeNotification (From: Niko Matsakis <email@hidden>)

  • Prev by Date: making an "enabled" binding on a per-row basis in an NSTableView
  • Next by Date: Re: NSWindow and NSImageView
  • Previous by thread: NSManagedObjectContextObjectsDidChangeNotification
  • Next by thread: making an "enabled" binding on a per-row basis in an NSTableView
  • Index(es):
    • Date
    • Thread