Contents

NSPersistentStoreCoordinatorStoresDidChangeNotification

A notification that the coordinator posts after its registered stores change.

Declaration

extern NSString * const NSPersistentStoreCoordinatorStoresDidChangeNotification;

Discussion

This notification’s object is the changed store coordinator. The framework posts the notification to an internal thread. Move to a known thread before peforming any work.

The userInfo dictionary contains information about the added, updated, and removed persistent stores, which you access with the NSAddedPersistentStoresKey, NSUUIDChangedPersistentStoresKey, and NSRemovedPersistentStoresKey keys. Don’t capture the dictionary’s contents.

See Also

Notifications