Enumeration

CKReferenceAction

Constants indicating the behavior when a referenced record is deleted.

Declaration

typedef enum CKReferenceAction : NSUInteger {
    ...
} CKReferenceAction;

Topics

Constants

CKReferenceActionNone

No action when a referenced record is deleted. Deleting a parent record does not delete the children that refer to that parent. The CKReference object still contains the ID of the deleted record and is not updated automatically.

CKReferenceActionDeleteSelf

The delete action for referenced records. Deleting a record also deletes any records containing CKReference objects that point to that record. The deletion of the additional records may trigger a cascade deletion of more records. The deletions are asynchronous in the default zone and immediate in a custom zone.

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