Instance Property

query

The query to use for the search.

Declaration

@property(nonatomic, copy) CKQuery *query;

Discussion

You set the initial value of this property with the initWithQuery: method. When the value in the cursor property is nil, the query operation uses the CKQuery object in this property to execute a new search and return the results to your completion handler. If the cursor value is not nil, the cursor is used instead.

If you intend to specify or change the value of this property, do so before executing the operation or submitting the operation object to a queue.

See Also

Configuring the Operation Object

cursor

The data cursor to use for continuing the search.

zoneID

The ID of the zone containing the records to search.

resultsLimit

The maximum number of records to return at one time.

desiredKeys

The fields to retrieve for the requested records.