Relative Content

Tag Archive for swiftuiswiftui-state

Why does the state change back to original state?

I’m new to SwiftUI and I couldn’t understand why the selectedUser is set to nil on the fullScreenCover block. Note that User is a class from a third party library and doesn’t conform to ObservableObject