CKQuery is a component of the cloudkit iOS Developer Library. A CKQuery object manages the criteria to apply when searching for records in a database.
CKQuery is a component of the cloudkit iOS Developer Library. A CKQuery object manages the criteria to apply when searching for records in a database.
You create a query object as the first step in the search process. The query object stores the search parameters, including the type of records to search, the match criteria (predicate) to apply, and the sort parameters to apply to the results. The second step is to use the query object to initialize a CKQueryOperation object, which you then execute to generate the results.
Available in iOS 8.0 and later.
Read the official reference for further details