Contents

NSManagedObjectContextDidMergeChangesObjectIDs

A notification that posts after a context merges changes from a different notification.

Declaration

static let NSManagedObjectContextDidMergeChangesObjectIDs: NSNotification.Name

Discussion

This notification’s object is the merged 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 identifiers of the inserted, updated, deleted, refreshed, and invalidated managed objects. For the keys to access those objects, see NSManagedObjectContext.NotificationKey. It’s safe to capture the dictionary’s contents.

See Also

Core Data