MonobjcMonobjc Documented Class Library
NSManagedObjectContextDidSaveNotification Field
NamespacesMonobjc.CoreDataNSManagedObjectContextNSManagedObjectContextDidSaveNotification

Posted whenever a managed object context completes a save operation.

The notification object is the managed object context. The userInfo dictionary contains the following keys: NSInsertedObjectsKey, NSUpdatedObjectsKey, and NSDeletedObjectsKey.

You can only use the managed objects in this notification on the same thread on which it was posted.

You can pass the notification object to mergeChangesFromContextDidSaveNotification: on another thread, however you must not use the managed object in the user info dictionary directly on another thread. For more details, see “Concurrency with Core Data”.

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSManagedObjectContextDidSaveNotification
Public Shared ReadOnly NSManagedObjectContextDidSaveNotification As NSString
public:
static initonly NSString^ NSManagedObjectContextDidSaveNotification
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)