I have a hierarchy of views. The top level view has an @Binding property. I am wondering what is the best practice when it comes ot providing the intial value for this Binding?
The original value ( Or source of truth) should be in some model I guess. But I am not sure where the original value should be created and how this should be passed onto the view. Suppose we have a model object that 'owns' this value. The model object should provide the inital value for this. But how do you create an inital value for an @Binding variable? You could use .constant(Value) but that seem to create an immutable value. How do you create a mutable @Binding with an intial value?