Contents

NSManagedObjectContextObjectsDidChangeNotification

A notification that posts when there are changes to context’s registered managed objects.

Declaration

extern NSString * const NSManagedObjectContextObjectsDidChangeNotification;

Discussion

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.