swiftui-router
Path-based routing in SwiftUI (by frzi)
Helm
A graph-based SwiftUI router (by valentinradu)
swiftui-router | Helm | |
---|---|---|
2 | 3 | |
948 | 139 | |
0.9% | 2.2% | |
2.1 | 0.0 | |
6 months ago | almost 3 years ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swiftui-router
Posts with mentions or reviews of swiftui-router.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-17.
-
How can I access that navigation history stack on a NavigationView?
It’s kind of hard in native SwiftUI, but this might help: https://github.com/frzi/SwiftUIRouter
-
SwiftUI and Generics: A learning barrier?
The magic is definitely weird. The base views with Body == Never are what get me, they feel impossible to replicate. There's like a few projects around navigation in SwiftUI like SwiftUI Router (Federica Zanetello had this cool blog post on using NavigationLink) but yeah navigation is very magical too. I honestly wish Apple would open up the SwiftUI framework a little, there are efforts to recreate Combine in an open source way, but SwiftUI seems tougher. This early on in SwiftUI it's super frustrating to wait between WWDCs for updates and fixes.
Helm
Posts with mentions or reviews of Helm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-26.
-
iOS 14+ Navigation solution for SwiftUI
At the moment I am considering FlowStacks (https://github.com/johnpatrickmorgan/FlowStacks) that seems to do the trick, but I was wondering if there are any other options one would recommend. I also know of Helm (https://github.com/valentinradu/Helm) but it feels overly verbose and tedious to set up for me.
-
How to do navigation properly in SwiftUI?
Have a look at Helm. It's a bit harder to set up (it relies on a graph to describe the relationships between dynamic views, a bit like storyboards, but it does support deeplinking (it's actually possible to fully restore the navigation state, overlapping views included)
- Helm: A graph-based SwiftUI router
What are some alternatives?
When comparing swiftui-router and Helm you can also consider the following projects:
navaid - A navigation aid (aka, router) for the browser in 850 bytes~!
swiftui-navigation - This package is now Swift Navigation:
RouteComposer - Protocol oriented, Cocoa UI abstractions based library that helps to handle view controllers composition, navigation and deep linking tasks in the iOS application. Can be used as the universal replacement for the Coordinator pattern.
FlowStacks - FlowStacks allows you to hoist SwiftUI navigation and presentation state into a Coordinator
swift-url-routing - A bidirectional router with more type safety and less fuss.
NavigationBackport - Backported SwiftUI navigation APIs introduced in WWDC22