didChangeObjectsNotification
A notification that posts when a context makes changes to its registered objects.
Declaration
static let didChangeObjectsNotification: Notification.NameDiscussion
This notification’s object property is the changed managed object context. Don’t peform any asynchronous work or block the calling thread. NSManagedObjectContext posts notifications to the same thread that creates it.
The userInfo dictionary contains the inserted, updated, deleted, and invalidated managed objects. For the keys to access those objects, see NSManagedObjectContext.NotificationKey. Don’t capture the dictionary’s contents.
See Also
Managing notifications
NSManagedObjectContextObjectsDidChangedidSaveObjectsNotificationNSManagedObjectContextDidSavewillSaveObjectsNotificationNSManagedObjectContextWillSaveNSInsertedObjectsKeyNSUpdatedObjectsKeyNSDeletedObjectsKeyNSRefreshedObjectsKeyNSInvalidatedObjectsKeyNSInvalidatedAllObjectsKeydidMergeChangesObjectIDsNotificationdidSaveObjectIDsNotificationNSManagedObjectContext.NotificationKey