Enumeration

NSPersistentStoreUbiquitousTransitionType

These constants are used as the value corresponding to the NSPersistentStoreUbiquitousTransitionTypeKey in the user info dictionary of NSPersistentStoreCoordinatorStoresWillChangeNotification and NSPersistentStoreCoordinatorStoresDidChangeNotification notifications to identify the type of event leading to a change.

Declaration

typedef enum NSPersistentStoreUbiquitousTransitionType : NSUInteger {
    ...
} NSPersistentStoreUbiquitousTransitionType;

Topics

Constants

NSPersistentStoreUbiquitousTransitionTypeAccountAdded

This value indicates that a new iCloud account is available, and the persistent store in use will or did transition to the new account.

NSPersistentStoreUbiquitousTransitionTypeAccountRemoved

This value indicates that no iCloud account is available, and the persistent store in use will or did transition to the “local” store.

NSPersistentStoreUbiquitousTransitionTypeContentRemoved

This value indicates that the user has wiped the contents of the iCloud account, usually using Delete All from Documents & Data in Settings.

NSPersistentStoreUbiquitousTransitionTypeInitialImportCompleted

This value indicates that the Core Data integration has finished building a store file that is consistent with the contents of the iCloud account, and is ready to replace the fallback store with that file.

See Also

Deprecated

NSPersistentStoreDidImportUbiquitousContentChangesNotification

Posted after records are imported from the ubiquitous content store.

Deprecated
+ removeUbiquitousContentAndPersistentStoreAtURL:options:error:

Deletes all ubiquitous content for all peers for the persistent store at a given URL and also delete the local store file.

Deprecated
+ setMetadata:forPersistentStoreOfType:URL:error:

Sets the metadata for a given store.

Deprecated
+ metadataForPersistentStoreOfType:URL:error:

Returns a dictionary containing the metadata stored in the persistent store at a given URL.

Deprecated
- unlock

Relinquishes a previously acquired lock.

Deprecated
- lock

Attempts to acquire a lock.

Deprecated
- tryLock

Attempts to acquire a lock.

Deprecated