recordType
The value that your app defines to identify the type of record.
Declaration
var recordType: CKRecord.RecordType { get }Discussion
Use this value to differentiate between different record types in your app. The value is primarily for your benefit, so choose record types that represent the data in the corresponding records.
CloudKit provides two system-defined record types:
Record Type | Description |
|---|---|
Identifies records that represent users. | |
Identifies records that the user shares. |