sergdort / CombineFeedback

Unidirectional reactive architecture using new Apple Combine framework https://developer.apple.com/documentation/combine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programmatic Navigation for MacOS

maximkrouk opened this issue Β· comments

Programmatic navigation has a dependency on NavigationView, but it has Safari-File-Picker behavior on MacOS which is not the most convenient one 🌚. I tried to find workarounds for a while so maybe this will be helpful for other MacOS developers, which will use CombineFeedback πŸ™‚

  • Here is a draft for manual NavigationView implementation (no_animation).
  • Xcode 12 supports switch expressions, which can be handy for navigation, especially in MacOS, so I came to this solution