home.social

#swiftuinavigation — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #swiftuinavigation, aggregated by home.social.

  1. I managed to get @pointfreeco’s latest #SwiftUINavigation working with #ComposableArchitecture, but I had to hack together my own amalgam of `ReducerProtocol.ifLet` and `ReducerProtocol.ifCaseLet` that knows how to get the Destination from the parent state, then the child state from the Destination. I also had to provide a ViewStore get/send binding to `navigationDestination(unwrapping: …)`. I'm not 100% sure it's all correct yet, but it was nice to see it working.