Why You Should NEVER Use Navigation Stack! ... This Surprising Alternative Will Change Everything!
Why You Should NEVER Use Navigation Stack! ... This Surprising Alternative Will Change Everything!
Join SwiftUI Nation today and get access to kindaSwitfUI's Navigation Routear and much more:
π https://store.rebeloper.com/community
In this video, we're going to be discussing the dangers of using the navigation stack and why you should instead switch to a navigation router. By using a navigation router, you'll be able to eliminate all of the clutter and confusion that comes with using the navigation stack. Not only will this make your project easier to build, but it'll also improve your code's readability and maintainability. . So don't waste any more time and switch to a navigation router today!
CHAPTERS:
00:00 INTRO
00:36 SWIFTUI NATION
01:27 FINAL PROJECT DEMO
06:17 JOIN SWIFTUI NATION
06:41 ADD KINDASWIFTUI AS A SWIFT PACKAGE TO YOUR PROJECT
09:15 SET YOUR KINDASWIFTUI LICENSE KEY
10:34 EMBED YOUR CONTENT INTO KINDASWIFTUICONTENTVIEW
11:06 UNLIMITED TRIAL OF KINDASWIFTUI
12:18 NAVIGATION ROUTER SETUP
13:48 MODALVLAUE AND INIT IN NAVIGATION ROUTER SETUP
14:36 ADDING DESTINATION VIEWS
15:18 TAB BARS WITH NAVIGATION ROUTER
16:44 CUSTOM TAB VIEW WITH NAVIGATION ROUTER
17:25 CREATE A NAVIGATION ROUTER STACK
19:05 PUSH A VIEW WITH THE NAVIGATION ROUTER
20:35 UNLIMITED TRIAL OF KINDASWIFTUI
21:02 ADD A KINDASWIFTUI LICENSE KEY
21:52 POP A VIEW WITH NAVIGATION ROUTER
22:27 TAB VIEW WITH TAB ROUTER STACK
24:01 CUSTOM TAB VIEW WITH NAVIGATION ROUTER
24:45 HOW TO PUSH A VIEW
26:06 DEPENDENCY INJECTION WITH NAVIGATION ROUTER
27:02 POP THE LAST 2 VIEWS
28:48 POP TO INDEX WITH NAVIGATION ROUTER
29:43 POP TO ROOT IN SWIFTUI
29:55 PRESENT A SHEET WITH NAVIGATION ROUTER
30:10 PRESENT A FULL SCREEN COVER
30:18 VIEW MODIFIERS FOR PRESENTING MODALS
32:20 POP LAST VIEWS AS MODALS AND STACKS
34:05 POP TO ROOT FROM SHEET IN SWIFTUI
34:09 PRESENT A SHEET IN SWIFTUI
34:29 DEMO POPPING WITH NAVIGATION ROUTER
35:09 POP FROM MULTIPLE SHEETS IN SWIFTUI
36:36 POP FROM STACKED VIEW WITHIN A SHEET
38:19 POP TO NEAREST ROOT IN A SHEET
39:10 POP VIEWS ONE BY ONE WITH NAVIGATION ROUTER
42:08 DEEP LINK WITH NAVIGATION ROUTER
43:47 JOIN SWIFTUI NAVIGATION
45:10 WHERE TO GO NEXT
Donβt forget to download the resources: β here
VIDEOS I RECOMMEND
2023's Must-Have Xcode Extensions: Revealed Here!
Progress Button in SwiftUI - How to Track Progress on User Interactions
Why You Should Use The SwiftUI Coordinator Pattern
Firebase Firestore in SwiftUI Demystified
How I HACKED My Brain To Learn Coding
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/