News for hackers. Stuff that matters.
Re:Data in SwiftUI, Part 2: Views as a Function of Data by ollysb on Saturday February 15, 2020 @05:59AM (#22334539)
As an Elm dev jumping into swift a couple of weeks ago I decided to just do the nav myself. I have an enum for Page and switch over that in the view. It seems far more obvious to use than the built in nav which doesn’t actually do an awful lot for you but takes away control(I did try the isActive approach but it seemed far more fiddly than using a Page enum).

There are no comments on this comment yet.