init(recordZoneIDs:optionsByRecordZoneID:)
Creates an operation for fetching record zone changes.
Declaration
convenience init(recordZoneIDs: [CKRecordZone.ID], optionsByRecordZoneID: [CKRecordZone.ID : CKFetchRecordZoneChangesOperation.ZoneOptions]? = nil)Parameters
- recordZoneIDs:
The IDs of the record zones that you want to query for changes.
- optionsByRecordZoneID:
A dictionary that maps record zone IDs to their corresponding options. You can specify
nilfor this parameter.
Discussion
CloudKit configures the operation for retrieving all of the record zones that you specify. If you want to reduce the amount of data that CloudKit returns, provide zone options for each record zone.