Sep 20, 2023
This is how it's supposed to work now. I don't pass the whole view model to the other view, it doesn't need it. I pass a two way binding so this over view can change this property. This is literally as documented by Apple https://developer.apple.com/documentation/swiftui/managing-model-data-in-your-app