Global Variable

NSPersistentStoreCoordinatorStoresWillChangeNotification

Posted before the list of open persistent stores changes.

Declaration

NSString *const NSPersistentStoreCoordinatorStoresWillChangeNotification;

Discussion

This notification is similar to similar NSPersistentStoreCoordinatorStoresDidChangeNotification. If the application is running, Core Data will post this notification before responding to iCloud account changes or “Delete All” from Documents & Data.

See Also

Adding, Removing, and Deleting Stores

NSPersistentStoreCoordinatorStoresDidChangeNotification

Posted whenever persistent stores are added to or removed from a persistent store coordinator, or when store UUIDs change.

NSPersistentStoreCoordinatorWillRemoveStoreNotification

Posted whenever a persistent store is removed from a persistent store coordinator.