How to force a refresh of a SwiftUI View?
How to force a refresh of a SwiftUI View? Problem Description: I have a button with a .disabled() condition that’s a computed property of my ObservableObject model class. This means I can’t make it @Published. Something like this: class MyModel : ObservableObject { var isDisabled: Bool { if … { return true } else { … Read more