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.

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