The query to use for the search.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
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.