Perhaps I should not be asking this here, but can anyone recommend a good learning resource/tutorial for a complete beginner for SwiftData and CloudKit?
In the SwiftData layer, the only thing you can use to configure CloudKit is ModelConfiguration.CloudKitDatabase.
Underneath, SwiftData uses NSPersistentCloudKitContainer
for CloudKit integration, so all the documentations and knowledges related to NSPersistentCloudKitContainer
help understand how SwiftData + CloudKit works, and you can start with CloudKit mirroring.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.