Instance Property

referenceAction

The ownership behavior for the records.

Declaration

@property(nonatomic, readonly, assign) CKReferenceAction referenceAction;

Discussion

The value in this property determines what action, if any, to take when the target of the reference object—that is, the object pointed to in the recordID property—is deleted. When this property is set to CKReferenceActionDeleteSelf, deleting the target object deletes any records that contain that reference in one of their fields. When this property is set to CKReferenceActionNone, deleting the target object does not delete any additional objects.

See Also

Getting the Reference Attributes

recordID

The ID of the referenced 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