Why is this SwiftUI state not updated when passed as a non-binding parameter? – Ios swift
Here's what I want to do: Have a SwiftUI view which changes a local State variable On a button tap, pass that variable to some other part of my application However, for some reason, even though I update the state…