Constants indicating the behavior when a referenced record is deleted.


enum CKRecord_Reference_Action : UInt



case none

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.

case deleteSelf

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.