Instance Property


The fields to fetch for the requested records.


@property(nonatomic, copy) NSArray<CKRecordFieldKey> *desiredKeys;


Use this property to limit the amount of data retrieved for each record during the fetch operation. This property contains an array of NSString objects, each of which contains the name of a field from the target records. When you retrieve a given record, only fields whose names match one of the keys in this property are included in the returned record. The default value is nil, which causes all keys of the record to be fetched.

Because the records you fetch can be of different types, the array should contain the merged set of all field names for the requested records and include at least one field name from each record type.

If you intend to specify the desired set of keys, set the value of this property before executing the operation or submitting it to a queue.

See Also

Configuring the Operation Object


The ID of the record zone whose records you want to fetch.


The token that identifies the starting point for retrieving changes.


The maximum number of changed records to report with this operation object.