Global Variable NSManaged Object Context Objects Did Change Notification
A notification of changes made to managed objects associated with this context.
iOS 3.0+ macOS 10.4+ Mac Catalyst 13.0+ Beta tvOS 9.0+ watchOS 2.0+ Declaration * NSString const NSManagedObjectContextObjectsDidChangeNotification;
The notification is posted during
, after the changes have been processed, but before it is safe to call process Pending Changes again (if you try, you will generate an infinite loop). save:
The notification object is the managed object context. The userInfo
dictionary contains the following keys:
NSInserted Objects Key
NSUpdated Objects Key
NSDeleted Objects Key
Note that this notification is posted only when managed objects are
changed; it is not posted when managed objects are added to a context as the result of a fetch. See Also Managing Notifications NSDeleted Objects Key
A key for the set of objects that were marked for deletion during the previous event.
NSRefreshed Objects Key
A key for the set of objects that were refreshed but were not dirtied in the scope of this context.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software