CloudKit Namespace

Access to iCloud.

Remarks

The CloudKit namespace allows application developers to control the flow of data between their applications and iCloud. App devs can use CloudKit to control the timing and specifics of the data transfer.

In addition to user-specific repositories, CloudKit can be used to transfer data to and from a single repository shared by all users of the application. This public repository is associated with the application and does not require that application users have a registered iCloud account.

Classes

TypeReason
CKAccountStatusEnumerates values that indicate whether a user's iCloud account is available.
CKApplicationPermissionsEnumerates a value that indicates that other app users can discover the current user by email address.
CKApplicationPermissionStatusEnumerates the states that an application can have when attempting to obtain a permission.
CKAssetA large file associated with a CloudKit.CKRecord object.
CKContainerEncapsuates content associated with an app, including shared and per-user private data.
CKDatabaseContains data within a CloudKit.CKContainer. A public CloudKit.CKDatabase provides shared data, a private db holds the current user's data.
CKDatabaseDeleteSubscriptionHandlerCompletion handler for the CloudKit.CKDatabase.DeleteSubscription method.
CKDatabaseOperationAbstract class for operations on a CloudKit.CKDatabase.
CKDiscoverAllContactsOperationA CloudKit.CKOperation that retrieves the IDs of all discoverable contacts of the app user.
CKDiscoveredUserInfoInformation about a user. Returned by a CKDiscoverAllContactsOperation.
CKDiscoverUserInfosCompletionHandlerApplication developers can implement this delgate and assign it to the CloudKit.CKDiscoverUserInfosOperation.Complete property to process the user information that is returned.
CKDiscoverUserInfosOperationA CloudKit.CKOperation that retrieves the IDs of discoverable users whose email addresses or record IDs are already known to the app dev.
CKErrorCodeEnumerates CloudKit error conditions.
CKErrorFieldsHolds error constants used by CloudKit.
CKFetchNotificationChangesOperationA CloudKit.CKOperation that ret../../summary_set.sh CKFetchNotificationChangesOperation A
CKFetchRecordChangesHandlerDelegate for the CloudKit.CKFetchRecordChangesOperation.AllChangesReported property.
CKFetchRecordChangesOperationA CloudKit.CKDatabaseOperation that retrieves data about changed or deleted CloudKit.CKRecord objects.
CKFetchRecordsCompletedHandlerDelegate for the CloudKit.CKFetchRecordsOperation.Completed property.
CKFetchRecordsOperationA CloudKit.CKDatabaseOperation that retrieves specific CloudKit.CKRecord objects.
CKFetchRecordZonesOperationA CloudKit.CKDatabaseOperation that retrieves CloudKit.CKRecordZone objects from iCloud.
CKFetchSubscriptionsCompleteHandlerDelegate for the CloudKit.CKFetchSubscriptionsOperation.Completed property.
CKFetchSubscriptionsOperationA CloudKit.CKDatabaseOperation that retrieves CloudKit.CKSubscription objects from iCloud.
CKLocationSortDescriptorSorts records based on their distance from the specified location.
CKMarkNotificationsReadHandlerDelegate for the CloudKit.CKMarkNotificationsReadOperation.Completed property.
CKMarkNotificationsReadOperationMarks push notifications as read. Typically used by apps that use push notifications to track record changes.
CKModifyBadgeOperationA CloudKit.CKOperation that modifies the badge of the app's icon, either on the current device or all the user's devices.
CKModifyRecordsOperationA CloudKit.CKDatabaseOperation that commits changes to one or more CloudKit.CKRecord objects.
CKModifyRecordsOperationHandlerDelegate for the CloudKit.CKModifyRecordsOperation.Completed property.
CKModifyRecordZonesHandlerDelegate for the CloudKit.CKModifyRecordZonesOperation.Completed property.
CKModifyRecordZonesOperationA CloudKit.CKDatabaseOperation that commits changes to record zones.
CKModifySubscriptionsHandlerDelegate for the CloudKit.CKModifySubscriptionsOperation.Completed property.
CKModifySubscriptionsOperationA CloudKit.CKDatabaseOperation that commits changes to one or more CloudKit.CKSubscription objects.
CKNotificationA push notification sent to the app.
CKNotificationIDUniquely identifies a push notification sent from a container.
CKNotificationInfoSpecifies the type of push notifications generated when the trigger condition is met.
CKNotificationTypeEnumerates the events that can generate a push notification.
CKOperationAbstract base class for operations executed against the CloudKit database.
CKQuerySpecifies a query against the CloudKit database.
CKQueryCursorHolds the current stopping point in the result set of a CloudKit.CKQuery.
CKQueryNotificationA push notification generated by a CloudKit.CKSubscription object.
CKQueryNotificationReasonEnumerates the persistent storage events that can trigger data lifecycle notifications.
CKQueryOperationA CloudKit.CKDatabaseOperation that executes a CloudKit.CKQuery.
CKRecordA dictionary of Key-Value pairs that structure data within CloudKit.
CKRecordIDUniquely identifies a CloudKit.CKRecord within a database.
CKRecordSavePolicyEnumerates policies that control when or if a record should be saved.
CKRecordValueApp developers should not subclass this interface, which provides strong typing for objects stored in a CloudKit database. Custom data types are not supported.
CKRecordZoneAllows related CloudKit.CKRecord objects to be organized. By default, both the private and public database have a single zone.
CKRecordZoneCapabilitiesEnumerates the special operations that a zone is capable of.
CKRecordZoneCompleteHandlerDelegate for the CloudKit.CKFetchRecordZonesOperation.Completed property.
CKRecordZoneIDUniquely identifies a CloudKit.CKRecordZone within a database.
CKRecordZoneNotificationA push notification resulting from changes within a CloudKit.CKRecordZone.
CKReferenceDefines a 1:M relationship between CloudKit.CKRecord objects within a single CloudKit.CKRecordZone.
CKReferenceActionEnumerates values that control whether a reference should delete itself when its target record is deleted.
CKServerChangeTokenA read-only object that identifies a version of a CloudKit.CKRecord. When fetching updated data, passing the existing token allows the server to only return the changes, increasing efficiency.
CKSubscriptionA persistent query that tracks changes on the server. (See CloudKit.CKQueryNotification.)
CKSubscriptionOptionsEnumerates flags for controlling push notification behavior for query-based subscriptions.
CKSubscriptionTypeEnumerates subscription types.
ICKRecordValueInterface representing the required methods (if any) of the protocol CloudKit.CKRecordValue.