SwiftUI - how to avoid navigation hardcoded into the view?
问题 I try to do the architecture for a bigger, production ready SwiftUI App. I am running all the time into the same problem which points to a major design flaw in SwiftUI. Still nobody could give me a full working, production ready answer. How to do reusable Views in SwiftUI which contain navigation? As the SwiftUI NavigationLink is strongly bound to the view this is simply not possible in such a way that it scales also in bigger Apps. NavigationLink in those small sample Apps works, yes - but