Instance Method

setParentReferenceFromRecord:

Creates and sets a reference object for a parent from its record.

Declaration

- (void)setParentReferenceFromRecord:(CKRecord *)parentRecord;

Parameters

parentRecord

A record that you want to set as the parent to this record.

Discussion

This method creates and sets a CKReference object for the CKRecord passed in. The resulting CKReference will have its action set to CKReferenceActionNone.

See Also

Sharing Records

parent

A reference to the parent record to this record.

share

A reference to the share associated with the sharing of this record.

- setParentReferenceFromRecordID:

Creates and sets a reference object for a parent from the parent’s record ID.