Type Property


Posted before the list of open persistent stores changes.


static let NSPersistentStoreCoordinatorStoresWillChange: NSNotification.Name


This notification is similar to similar NSPersistentStoreCoordinatorStoresDidChange. 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

static let NSPersistentStoreCoordinatorStoresDidChange: NSNotification.Name

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

static let NSPersistentStoreCoordinatorWillRemoveStore: NSNotification.Name

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