Instance Property

query

The query to use for the search.

Declaration

@NSCopying var query: CKQuery? { get set }

Discussion

You set the initial value of this property with the init(query:) 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

var cursor: CKQueryOperation.Cursor?

The data cursor to use for continuing the search.

var zoneID: CKRecordZone.ID?

The ID of the zone containing the records to search.

var resultsLimit: Int

The maximum number of records to return at one time.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software