Open JCKL opened 1 year ago
// DIRTY workaround ⚠️
extension CKRecord: @unchecked Sendable {
}
extension CKRecordZone: @unchecked Sendable {
}
I believe a better solution could be defining a sendable Contact
struct and replacing the raw CKRecord
in ViewModel
.
When I run this sample code In Xcode 14.3. I get the following warnings:
@Sendable
closureUntil CKRecord, CKRecordZone become Sendable Types, what is a workaround for this sample code?