Post

Replies

Boosts

Views

Activity

Comment on iOS 18 SwiftData Bug: Codable Models Cause Relationship Mapping Error
The only solution that works 100% is to remove conformance to Codable. You have to serialise the date in your own different way. The workaround, I described in the post, removes the error message but the issue is still there and it is clearly noticeable when notes are processing in batch mode.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on iOS 18 SwiftData Bug: Codable Models Cause Relationship Mapping Error
I don't think so. The model was not well defined there.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on SwiftData does not persist change on relationship on iOS 18 beta 7
No, I don't need, SwiftData does this for us. I've already mentioned that save() does not help.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’24