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.