I am not disputing the many benefits of SwiftUI's declarative "UI-as-code" model, but it doesn't seem to matter what I do it feels untidy and never really has that sense of good structure where you can read at one level and only have to drill down if you care. I think it's just inescapable with the model. I want to see
My View {
Header()
Body()
Footer()
}
but its litterered with @State, inits for that _state, view modifiers, private helpers etc.