Filter
Exclude
Time range
-
Near
SwiftUI provides you with a type called NavigationPath, allowing us to store any hashable value and map them to the destination in the navigation stack. NavigationPath erases the type of pushed values and allows us to keep values of different types. swiftwithmajid.com/2022/10/0…
2
1,265
14 Dec 2025
Replying to @RydMike
I use this approach on zenrouter when you use it via Coordinator. The Coordinator always know which NavigationPath is active and pop it. (Active here mean have > 1 routes in it and located in deepest level possible). If no active NavPath found then pop the whole app.
1
2
65
4 Dec 2025
Basically, Layout is a special Route and they own a StackPath (NavigationPath or IndexedStackPath). And other child routes of that layout will be pushed down the path managed by the layout. I will explain in detail in the tween section ⬇️ 1/n
1
3
140
2 Dec 2025
One potential improvement: since NavigationPath controls everything, the only difference between NavigationStack and ManualStack is the latter cannot handle the back gesture 'pop' yet. I plan to expose this for novel use cases.
3
131
2 Dec 2025
Replying to @RayLiVerified
nice technique. You delegate the transformation of the route state to the URL to the manual stack, but that's still imperfect. Since I want to centralize everything in routing, the current Page abstraction is not enough, so I introduced a new NavigationPath and NavigationStack
1
5
98
1 Dec 2025
First, define the Coordinator. You must define every possible NavigationPath in your app here. Every AppRoute has a host - this is the NavigationPath they belong to. Next, we will hook them up. ⬇️
1
2
260
29 Nov 2025
ZenRoute debug panel 🔎 It helps you spot the current active path, detect routes stacked above the current one, find hidden routes you forgot to clean up, simulate the browser URL bar inside the app, and much more. All of this is possible thanks to the control of NavigationPath
29 Nov 2025
OMG! I finally cooked the ultimate router library. zenrouter is coming. Stay tuned! • Fully type-safe • redirect, pop guard work asynchronous • Optional Web URLs • Fine-grained deep links • Override paths freely (no strict rules)
6
9
51
4,882
Second app is built. I don’t think this is the one that will make money, but it has some ideas I wanted to try. And I also learned how to setup: - A share extension - NavigationPath Now I’ll start using it and keep polishing the UI.
4
179
27 Nov 2025
Just discover the Myer diff algorithm for compute text diff just like Git diff. But since it generalize so i think to develop a router package using that algorithm and user can pass direct NavigationPath to manipulate routes.
2
4
204
Replying to @azamsharp
Not NavigationPath? Lol
1
3
283
18 Sep 2025
Day 36 of #100DaysOfSwiftUI via @twostraws ✅ Learned: Programmatic navigation (array / NavigationPath) @Binding share state across views Built logic to save & reload user’s last navigation path #iOSDev #SwiftUI # Swift
1
8
90
18 Sep 2025
Day 26 of posting: Finished Project 9_Navigation Learned: NavigationLink & NavigationDestination NavigationStack & NavigationPath Toolbar & nav bar customization Side project: Building PillPal 💊 pill reminder app for my grandma ❤️ #buildinpublic #100DaysOfSwiftUI
2
10
147
SwiftUI’da kompleks navigation çözümleri için NavigationPath 🔐 Type-safety → Enum tabanlı routing, compile-time güvenlik 🔗 Deep link desteği → Dış linkten direkt ekrana atlama 🔄 Programatik kontrol → removeLast(), removeAll() 📱 Modern NavigationStack → Dynamic akışlar, state yönetimi 👉 NavigationView → geçmişte kaldı, şimdi NavigationStack NavigationPath zamanı! #SwiftUI #iOSDev #SwiftLang #NavigationPath #DeepLinking
1
18
1,764
Beginner friendly SwiftUI tutorial on using NavigationPath – appreciate the support!
1
25
1,856
Navigation SwiftUI popToRoot and popTo specific view. * Since, I am using NavigationPath the popTo specific view introduced complexity and I had to add a routeStack collection. Still thinking about a better solution.
3
4
90
6,755
Replying to @hermanhaidin
I see that you did not passed path as property of NavigationStack, is that mean that it is not mandatory when working with .navigationDestination? @State private var path = NavigationPath() NavigationStack(path: path) {}
1
2
23
Explore SwiftUI's NavigationStack, NavigationPath, and navigationDestination to implement programmatic navigation in your app! Check out this video for a practical guide: youtube.com/watch?v=5dBN-uBt…
5
2,502
3 Jun 2025
🎉 I just finished Day 44 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swi… via @twostraws Worked on 9th Project: Navigation. Worked with programmatic navigation, NavigationPath and Codable support. GitHub: github.com/DKC195/DKC-Apple-… #Swift #Apple #SwiftUI #AppDeveloper
5
82
Beginner friendly SwiftUI tutorial on list navigation using closures and NavigationPath. youtu.be/9e541uSpD_4
3
28
1,445