Type Property

NSPersistentStoreCoordinatorWillRemoveStore

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

Declaration

static let NSPersistentStoreCoordinatorWillRemoveStore: NSNotification.Name

Discussion

The notification is sent during the invocation of NSPersistentStore’s willRemove(from:) method during store deallocation or removal. The notification's object is the persistent store coordinator will be removed.

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 NSPersistentStoreCoordinatorStoresWillChange: NSNotification.Name

Posted before the list of open persistent stores changes.