Creates and sets a reference object for a parent from its record.
On This Page
func setParent(_ parentRecord: CKRecord?)
A record that you want to set as the parent to this record.
This method creates and sets a CKRecord.Reference object for the CKRecord passed in. The resulting CKReference will have its action set to CKRecord_Reference_Action.none.
var parent: CKRecord.Reference?
A reference to the parent record to this record.
var share: CKRecord.Reference?
A reference to the share associated with the sharing of this record.
Creates and sets a reference object for a parent from the parent’s record ID.