NestedCloudKitCodable
NestedCloudKitCodable copied to clipboard
Nested encoder and decoder for CKRecords
Fix #9, added a new function called ```swift func cloudKitReferenceActions() -> [String: CKRecord.ReferenceAction] ``` which allow user to customize `CKRecord.ReferenceAction` for any `CKRecord.Reference` property. It's default to `.deleteSelf` if the...
Right now `CKRecord.Reference`'s action is hardcoded to `.deleteSelf` https://github.com/olmps/NestedCloudKitCodable/blob/2c33db6dd6f01f7ef06e7b72cdcdf8d7fbda5073/Source/Classes/Encoder/CKEncoderKeyedContainer.swift#L203 Can we pass an option to `CKRecordEncoder` to customize this value to either `.deleteSelf` or `.none`? Thanks