Global Variable


The record type for user records.


const CKRecordType CKRecordTypeUserRecord;


CloudKit automatically creates a user record for each unique user of the app. User records are empty initially. You can add data to the user record using the same rules that apply for all records. Specifically, the type of data stored for a particular field name must be the same in all user records. However, you cannot create new user records using this record type and you cannot query for records of this type. To locate user records, you must know the ID of the user record or use the CKContainer interfaces to discover user records.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software