So to merely set the default value of a Picker
we need to create a separate type, own an instance outside the view that cares about it, inject it into the view, and use that binding? Even with the new @StateObject
, that doesn't seem right.
So to merely set the default value of a Picker
we need to create a separate type, own an instance outside the view that cares about it, inject it into the view, and use that binding? Even with the new @StateObject
, that doesn't seem right.