SwiftData offers a #Unique macro as of iOS 18, see here: https://developer.apple.com/documentation/swiftdata/unique(_:)
I was wondering if that one might work when the DB is backed by CloudKit.
SwiftData offers a #Unique macro as of iOS 18, see here: https://developer.apple.com/documentation/swiftdata/unique(_:)
I was wondering if that one might work when the DB is backed by CloudKit.
The same restrictions that existed before with a DB backed by CloudKit still apply with the introduction of the #Unique macro.