STOP Using Navigation Stack in SwiftUI! Use THIS Instead...

preview_player
Показать описание
STOP Using Navigation Stack in SwiftUI! Use this instead...

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.

Don’t forget to download the resources:

CHAPTERS:
_____
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

***VIDEOS I RECOMMEND***

→ PLAYLIST:
Developer Life:

DO YOU WANT TO BE MY APPRENTICE?

TOOLS I RECOMMEND:
__________
Get in touch:

SUBSCRIBE to weekly tips & tutorials for building iOS apps!

______
#rebeloper
Рекомендации по теме
Комментарии
Автор

The project is amazing but the sad thing is that I don't have the money to buy this. I will buy this one day. Thanks for sharing the knowledge. ♥

AnushkaSamarasinghe-
Автор

I was struggling with Navigation stack, that's awesome. Thanks

sralexco
Автор

Is SheetNavigationStack a modifier you added to the project?

NunoBatista-gmdj
Автор

is there any chance when we want to go to the root view to navigate there without presenting the stacked views?
If i'm on 3rd screen, can i go popToRoot view without showing the previous?

NikolaJovanovicSimunic
Автор

can you jump to top instead of popping? Meaning: As a user I typically dont want to watch the views unwind I just want to be back at the beginning.

lincolndickerson
Автор

Very cool! Has this been tested on WatchOS 9?

SRHTWOA
Автор

Do you offer SwiftUI for macOS consulting services?

xenochaosxc