These constants specify the types of fetch request.


enum NSPersistentStoreRequestType : UInt


These constants are used by requestType.



case fetchRequestType

Specifies that the request returns managed objects.

case saveRequestType

Specifies that the request saves managed objects.

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.

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