Type Property


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


static let NSPersistentStoreCoordinatorStoresDidChange: NSNotification.Name


The notification's object is the persistent store coordinator that was affected. The notification’s userInfo dictionary contains information about the stores that were added or removed, specified using the following keys:

See Also

Adding, Removing, and Deleting Stores

enum NSPersistentStoreRequestType

These constants specify the types of fetch request.

static let NSPersistentStoreCoordinatorStoresWillChange: NSNotification.Name

Posted before the list of open persistent stores changes.

static let NSPersistentStoreCoordinatorWillRemoveStore: NSNotification.Name

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