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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software