
Clean Architecture for SwiftUI

No other layers know about the View layer existence, so there is no need to hide it behind a protocol.
Clean Architecture for SwiftUI
Instead, they forward the result to the AppState or a Binding provided by the View.
The Binding is used when the result of work (the data) is owned locally by one View and does not belong to the central AppState , that is, it doesn’t need to be persisted or shared with other screens of the app.
The Binding is used when the result of work (the data) is owned locally by one View and does not belong to the central AppState , that is, it doesn’t need to be persisted or shared with other screens of the app.
Alexey Naumov • Clean Architecture for SwiftUI
“or a binding provided by the view”