Instance Method

setParentReferenceFromRecordID:

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

Declaration

- (void)setParentReferenceFromRecordID:(CKRecordID *)parentRecordID;

Parameters

parentRecordID

The CKRecordID object associated with the record (CKRecord) that you want to set as the parent of this record.

Discussion

This method creates and sets a CKReference object for the record associated with the CKRecordID passed in. The resulting CKReference object will have its action set to CKRefereneActionNone.

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.

- setParentReferenceFromRecord:

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

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