Class

CKModifySubscriptionsOperation

An operation for modifying one or more existing subscription objects.

Declaration

class CKModifySubscriptionsOperation : CKDatabaseOperation

Overview

A CKModifySubscriptionsOperation object saves changes to one or more CKSubscription objects. After creating or changing the configuration of a subscription object, use this type of operation object to save those changes to an iCloud container. You also use instances of this class to delete subscriptions permanently from a database.

If you assign a completion block to the completionBlock property of the operation object, the completion block is called after the operation executes and returns its results to you. You can use a completion block to perform housekeeping chores related to the operation, but do not use it to process the results of the operation itself. Any completion block you specify should be prepared to handle the failure of the operation to complete its task, whether due to an error or an explicit cancellation.

Relationships

Inherits From

Conforms To