Instance Property

recordType

The record type to search.

Declaration

@property(nonatomic, readonly, copy) CKRecordType recordType;

Discussion

Searches return only records of the specified type. This property is set at initialization time and cannot be changed later.

The record type is an app-specific string that you use to distinguish among the records of your app. The records of a given type all represent different instances of the same information. For example, an employee record type might store the employee’s name, phone number, and a reference to the employee’s manager.

See Also

Accessing the Query Parameters

predicate

The search criteria to use when matching records.

sortDescriptors

The sort descriptors to use when organizing the query results.