Contents

didMergeChangesObjectIDsNotification

A notification that posts after a context finishes merging changes from another notification.

Declaration

static let didMergeChangesObjectIDsNotification: Notification.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

Managing notifications