Contents

CKFetchSubscriptionsOperation

An operation for fetching subscriptions.

Declaration

class CKFetchSubscriptionsOperation

Overview

A fetch subscriptions operation retrieves subscriptions (with IDs you already know) from iCloud and can fetch all subscriptions for the current user.

You might fetch subscriptions so you can examine or modify their parameters — for example, to adjust the delivery options for push notifications that the subscription generates.

If you assign a handler to the completionBlock property, the operation calls it after it executes and passes it the results. Use the handler to perform any housekeeping tasks for the operation. The handler you specify should manage any failures, whether due to an error or an explicit cancellation.

Topics

Creating a Fetch Subscriptions Operation

Getting All Subscriptions

Configuring the Fetch Subscriptions Operation

Processing the Fetch Subscription Results

Instance Properties

See Also

Subscription Management