STOP Using Navigation Stack in SwiftUI! Use THIS Instead...
STOP Using Navigation Stack in SwiftUI! Use this instead...
Navigation Router π https://store.rebeloper.com/navigatio... In this video, I'm going to show you how to create a navigation router with dependency injection and swiftui. By the end, you'll have a working navigation stack that you can use in your own projects! If you're looking to add a bit of organisation to your user interfaces with swiftui, then this video is for you! I'll show you how to create a navigation router that uses dependency injection in swiftui, so you can keep your user interfaces consistent and easy to use. This navigation stack will allow you to add a hierarchical navigation system to your app using a simple and easy to use class.
00:00 INTRO
00:22 WHAT IS NAVIGATION ROUTER
01:18 STARTER PROJECT
02:22 ADD NAVIGATION ROUTER TO XCODE
02:55 CREATE ROUTES IN SWIFTUI
07:32 ROOT NAVIGATION ROUTER IN SWIFTUI
11:09 PUSH A VIEW WITH NAVIGATION ROUTER IN SWIFTUI
13:22 DEPENDENCY INJECTION WITH NAVIGATION ROUTER
14:55 HOW TO POP A VIEW WITH NAVIGATION ROUTER IN SWIFTUI
15:23 POP LAST WITH NAVIGATION ROUTER
17:49 POP TO INDEX WITH NAVIGATION ROUTER
18:34 POP TO STACK ROOT WITH NAVIGATION ROUTER
19:22 PRESENT A FULL SCREEN COVER WITH NAVIGATION ROUTER IN SWIFTUI
23:58 PRESENT A SHEET WITH NAVIGATION ROUTER IN SWIFTUI
26:27 POP TO ROOT WITH NAVIGATION ROUTER IN SWIFTUI
27:56 NAVIGATION ROUTER WITH ASYNC/AWAIT
29:00 SHEET WITH NAVIGATIONSTACK IN SWIFTUI
36:42 DEEP LINKING WITH NAVIGATION ROUTER IN SWIFTUI
39:24 WHERE TO GO NEXT
Donβt forget to download the resources: β here
VIDEOS I RECOMMEND
The BEST Side Hustles For Programmers in 2023
Are You Using SwiftUI 4 Data Handling Properly?
DO YOU WANT TO BE MY APPRENTICE? HIRE ME
Say Hi on social:
Github: https://github.com/rebeloper/
Hire me: https://rebeloper.com/hire-us/
LinkedIn: https://www.linkedin.com/in/rebeloper/
Follow me on Instagram: https://www.instagram.com/rebeloper/