Tag: Enum

Modularised Navigation in SwiftUI — An Enum-based Approach

In iOS 16, SwiftUI finally allows us to properly encapsulate navigation without being forced to pass a ton of bindings or using NavigationLink directly in UI. One thing that always introduces additional challenges, though, is modularisation. In a best-case scenario, every module func...