MCUserRecord
public class MCUserRecord: UserRecordRetriever, MCAccountAuthenticationVerifier
This struct contains a static var (singleton) which accesses USER’s iCloud CKRecordID.
-
This read-only, computed property should be called async from main thread because it calls to remote database before returning value. If successful returns the User’s CloudKit CKRecordID, otherwise returns nil.
Declaration
Swift
public var singleton: CKRecordID?