Contents

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

Ckrecordtypeuserrecord 49k30

Identifies records that represent users.

Ckrecordtypeshare 8b6yt

Identifies records that the user shares.

See Also

Accessing the Record’s Metadata