Initializer

init(recordZoneIDs:optionsByRecordZoneID:)

Initializes and returns an operation object configured to fetch record zone changes.

Declaration

convenience init(recordZoneIDs: [CKRecordZone.ID], optionsByRecordZoneID: [CKRecordZone.ID : CKFetchRecordZoneChangesOperation.ZoneOptions]? = nil)

Return Value

An initialized operation object.

Discussion

The returned operation object is configured to retrieve all record zones passed in. If you want to minimize the amount of data returned even further, configure the CKFetchRecordZoneChangesOperation.ZoneOptions property for each record zone.

After initializing the operation, associate at least one progress block with the operation object (excluding the completion block) to process the results.

optionsByRecordZoneID

The options per zone.

recordZoneIDs

The record zones that should be fetched.

See Also

Creating a CKFetchRecordZoneChangesOperation Object