Initializer

init(recordZoneIDs:)

Initializes and returns an operation object configured to fetch the specified record zones.

Declaration

convenience init(recordZoneIDs zoneIDs: [CKRecordZone.ID])

Parameters

zoneIDs

An array of CKRecordZone.ID objects representing the zones you want to retrieve. This parameter is used to initialize the value in the recordZoneIDs property. If you specify nil, you must assign a value to the recordZoneIDs property before executing the operation.

Return Value

An initialized operation object.

Discussion

After initializing the operation, assign a block to the fetchRecordZonesCompletionBlock property to process the results.

See Also

Initializing the Operation Object

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software