Post

Replies

Boosts

Views

Activity

Comment on SwiftData serious bug with relationships and CloudKit in iOS 18.0 (Xcode 16 Beta)
Yes. The value of the relationship is available in the second device, it just doesn't appear on the rows, as you can see in the picture. The system doesn't update the views when they are inside a ForEach loop. I used notifications to force the update but it is not a good solution because this also happens locally, not just with CloudKit. I found a way to fix it by applying the id() modifier to ForEach. It forces the system to update the content of the ForEach every time a new value is available.
Sep ’24
Comment on SwiftData serious bug with relationships and CloudKit in iOS 18.0 (Xcode 16 Beta)
Yes. The value of the relationship is available in the second device, it just doesn't appear on the rows, as you can see in the picture. The system doesn't update the views when they are inside a ForEach loop. I used notifications to force the update but it is not a good solution because this also happens locally, not just with CloudKit. I found a way to fix it by applying the id() modifier to ForEach. It forces the system to update the content of the ForEach every time a new value is available.
Replies
Boosts
Views
Activity
Sep ’24
Comment on SwiftData serious bug with relationships and CloudKit in iOS 18.0 (Xcode 16 Beta)
I'm going to file my own bug report on Monday because I'm having these problems since iOS 18 Beta 1 and they haven't done anything to fix it. Thanks for the info.
Replies
Boosts
Views
Activity
Sep ’24
Comment on XCode 16 beta 3 creating a folder instead of a group for all project initial content
Awful decision.
Replies
Boosts
Views
Activity
Nov ’25