Hacker News new | ask | show | jobs
by superb_dev 979 days ago
I agree that navigation in a pure SwiftUI app is annoying, but I don't think that was short sided. It's just iterative design.

At the start SwiftUI was something you could add to an existing UI/AppKit project, so individual parts could be rewritten. They've been building on top of that since. Refining the api and slowly letting you write more and more with just SwiftUI

1 comments

The implementation seems to encourage that "leaf" views have to be aware of parent views, or what context they're in. I used to work with a guy who'd always say, "maybe I'm holding it wrong," that's how I feel about the navigation in SwiftUI. Maybe I need to see a clean example to get it.