Post

Replies

Boosts

Views

Activity

Reply to SwiftData ModelContainer can not be created in iOS 17.4 Beta
In case anyone else stumbles across this, I found the following syntax resolved the error for me: @Relationship(inverse: \Item.category) var items: [Item]? = [] var category: ItemCategory? Seems to work so I guess it's correct? 🤷
Replies
Boosts
Views
Activity
May ’24