Post

Replies

Boosts

Views

Activity

Reply to Error after adding previewContainer during code-along
This looks like an issue with some aspect of the #Preview macro implementation. I replaced it with the old-style preview syntax and bypassed this issue: struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() .modelContainer(previewContainer) } }
Replies
Boosts
Views
Activity
Jun ’23