init(recordZoneIDs:)
Creates an operation for fetching the specified record zones.
Declaration
convenience init(recordZoneIDs zoneIDs: [CKRecordZone.ID])Parameters
- zoneIDs:
An array of Id objects that represents the zones you want to retrieve. If you provide an empty array, you must set the Recordzoneids property before you execute the operation.
Discussion
After creating the operation, assign a value to the fetchRecordZonesCompletionBlock property so you can process the results.