You can't initialize @Binding
variables!
A binding is not a source of truth.
The source of truth should be something like @State
.
Binding is just passed to child views with read/write access from source of truth
You can't initialize @Binding
variables!
A binding is not a source of truth.
The source of truth should be something like @State
.
Binding is just passed to child views with read/write access from source of truth
© Ravi Mashru. 2022