init(subscriptionIDs:)
Creates an operation for fetching the specified subscriptions.
Declaration
convenience init(subscriptionIDs: [CKSubscription.ID])Parameters
- subscriptionIDs:
An array of strings where each one is an ID of a subscription that you want to retrieve. This parameter sets the Subscriptionids 714ct property’s value. If you specify
nil, you must set thesubscriptionIDsproperty before you execute the operation.
Discussion
After creating the operation, assign a closure to the fetchSubscriptionCompletionBlock property to process the results.