CloudKitCodable
CloudKitCodable copied to clipboard
An encoder and decoder for CKRecord
This PR proposes restricting watchOS targets to SDK version 4.0 or later. This is when all of the API the library requires became available. What it doesn't do, and perhaps...
Currently the framework only builds for macOS. Add support for - [x] tvOS - [X] iOS - [ ] watchOS
Hey Gui, It would be great to have access to the system fields typed data of the CKRecord to provide the capability to the following workflows: 1. Inspect recordChangeTag to...
Is it possible to add support for custom keys? In CloudKit I have a property like "archived" but I'd want to define it as `let isArchived: Bool`
As mentioned on the readme, nested values are not supported yet. They would have to be encoded as `CKReference`.
This introduces a couple of protocols, `CloudKitStringEnum` and `CloudKitIntEnum`. When a model that conforms to `CustomCloudKitCodable` wants to encode/decode enum properties, the enums can adopt `CloudKitStringEnum` or `CloudKitIntEnum` and `CoudKitRecordEncoder/Decoder`...
Do I have an optional array type field such as [Int]? How to fix this error
I think in the `CloudKitRecordRepresentable` protocol, the `cloudKitRecordType` should be a `static var ` property. here is the code sample. ``` func fetchRecords(type: CKRecord.RecordType) async throws -> ([CKRecord], CKQueryOperation.Cursor?) ```...