Type Property

NSPersistentStoreCoordinatorStoresWillChange

Posted before the list of open persistent stores changes.

Declaration

static let NSPersistentStoreCoordinatorStoresWillChange: NSNotification.Name

Discussion

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

enum NSPersistentStoreRequestType

These constants specify the types of fetch request.

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.

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