Easily Add Programmatic Navigation In SwiftUI | SwiftUI Navigation

preview_player
Показать описание
Easily Add Programmatic Navigation To Your App!!! | Programmatic Navigation in SwiftUI

**********************************

*Timestamps:*

00:00 - Intro
01:02 - Project Breakdown
01:58 - Creating a NavigationRouter with Enums
14:27 - Navigating programmatically one level deep within Navigation Stack
18:32 - Popping back programmatically using NavigationPath
23:15 - When to use NavigationPath & Limitations
24:38 - Refactoring our Routes to be an array of Enums
35:08 - Handling navigation 2+ levels deep programmatically
44:11 - Popping back to specific screens programmatically
47:38 - Writing Unit Tests In Swift for our RouteManager
56:00 - Summary

Enjoying the video? Then why stop here 🤷🏾‍♂️

Enjoy rest of this course here in this playlist 👇🏾

Become A SwiftUI Navigation Pro (All Levels | SwiftUI Navigation Stack | iOS Deep Links | iOS Push Notifications | SwiftUI Multiplatform)

**********************************

Welcome to this comprehensive SwiftUI tutorial on programmatic navigation using the NavigationStack API. In this video, we'll walk you through all the steps necessary to create seamless and intuitive user experiences with Swift UI navigation by handling an iOS shopping app navigation.

We'll start by introducing you to the basics of SwiftUI and the NavigationStack API, and then dive deep into using SwiftUI programmatic navigation. We'll cover all the key concepts, including how to use NavigationView, NavigationLink & build your own routes manager object to navigate between screens in this ios shopping app.

Along the way, we'll demonstrate SwiftUI navigation techniques, as well as provide tips and tricks to help you get the most out of SwiftUI NavigationStack. Whether you're new to SwiftUI or a seasoned developer, you'll find plenty of valuable insights in this video.

We'll also explore the latest features in SwiftUI 4, so you can take advantage of the most up-to-date functionality. Plus, we'll show you how to work with Xcode to streamline your programming workflow.

By the end of this tutorial, you'll be able to confidently use the NavigationStack API to create complex navigation structures in your SwiftUI apps. So if you're ready to learn how to use NavigationStack & build an ios e-commerce app in SwiftUI for programmatic navigation, this video is for you!

**********************************

*Check Out My Courses 👨🏽‍🏫*

Enjoy my teaching style? Check out my other courses on my website that may interest you, they range from beginner to advanced topics within iOS development.

*Link to Website*

**********************************

*Join the crew 🤝*

Want to help support the channel? Become a member with the join link below and get access to exclusive badges and stickers, as well as other perks that are coming soon.

*Become a channel member*

*Support in other ways 💕*

You can support me for free and help the channel grow so that I can continue to make the best iOS development content for you by liking, commenting, subscribing, and hitting the notification bell.

All of this really helps my channel grow and allows me to keep on making content for you. If you’re interested in subscribing to the channel then you can do so with the link below.

*Subscribe to the tundsdev YouTube channel*

**********************************

*Download Source Code*

Interested in looking at the source code? Then check out the GitHub Repo below

**********************************

EditorKeys
View Editor Keys Amazing Products with the link below and use the discount code for 10% off any product

Get a 10% Discount Code on any product with the code below
TUNDSDEV

See my keyboard cover in action with my review below 👇🏾

**********************************

RØDE Wireless Mic

RØDE SmartLavPlus Microphone

2021 Apple MacBook Pro (16-inch, Apple M1 Pro chip with 10‑core CPU and 16‑core GPU, 16GB RAM, 1TB SSD) - Space Grey

Apple Magic Keyboard with Numeric Keypad (Wireless, Rechargeable) 

Apple Magic Mouse

Secretlab TITAN 2020 Charcoal Blue Gaming Chair

ErgoFoam Ergonomic Foot Rest for Under Desk

Lumbar Support Pillow

Macbook Stand for Apple Macbook and All Notebooks

Portable Chair Green Screen Background

**********************************

#iosdev #iosdevelopment #swift #swiftlanguage #xcode #appdevelopment #mobileappdevelopment #iosappdevelopment #appdeveloper #iosprogramming #iosengineer #appdevelopmenttips #iosdevelopmenttips #swiftui
Рекомендации по теме
Комментарии
Автор

This is exactly the content I've been trying to find to learn navigation.

AndrewB
Автор

Video and explanation is great, love your teaching style Tunde, you're a beast.

DonatB
Автор

Already know some of the content in this series, but watching through anyway because your teaching vibe is so friendly!

IosMastre
Автор

Great video!
Thank you.
I think this is the best video about SwiftUI navigation on YouTube

MrMisterSin
Автор

Hey man, just wanted to say great work! Had no idea NavigationStacks were this powerful!

michaelgrant
Автор

You're a genius teacher. Thanks Tunde and keep up the good work.

Luxun
Автор

oh man amazing work. I have never seen anyone using enums that handy!!!🔥gotta watch It one more time to get the things I missed the first time hahahah

vojtechkalivoda
Автор

This is the perfect tutorial for Navigation in SwiftUI. Thanks a lot

cagrgider
Автор

Awesome tutorial! Using an array of routes instead of the NavigationPath so you can know where you are and the previous screens in the stack is exactly what I needed.

WidoFTW
Автор

This is the perfect tutorial, thanks bro

Максим-шхй
Автор

I absolutely subscribed, please keep up the excellent work

samsallee
Автор

Amazing work ! Been struggling a bit with the new way to navigate but your content made it cristal clear. Thank you 🙏🏻

vemar
Автор

thank you, this tutorials are awesome

sharshuwuu
Автор

You're blowing my mind here, sir. 🤯

dlewisdev
Автор

This is an excellent tutorial! Very well explained!

StuartZiane
Автор

Thanks for such amazing content! You are a gifted teacher! Your website indicated that you have courses on Udemy - how can I find those?

antonywmiller
Автор

Great Stuff....just what I was looking for. Love the use of enums and the router; very well explained and demonstrated. How about an interesting addon...multiple Images of a menu item like you did with ingredients, allergies, and locations. FYI singular of allergies is allergy. I see in the next chapter you move the router to @main. I wondered why it wasn't in this chapter.

kenturnbull
Автор

Very good video. Gave me excellent ideas to implement the navigation stack. What I like to see too is how this navigation implementation works with binding values. Say you click on a dessert and brings up the dessert view. What happens if you change the name of the dessert and you have an update button on that dessert view and then go back. Is that reflected in your dessert list?

josdownunder
Автор

Hi, Great course much better than any video about NavigationStack on youtube 👍
I have question why menuItem is a Protocol ?
I don't get it why it not a enum ?

ixx
Автор

Hiii! I'm a recent subscriber and I love your videos!! I have a question too!
If you were to treat your food, drink, and dessert sections as separate views in a custom tab view, then how would you design your Route and NavigationRouter?

I'm new to using navigation features and I'm having a lot of trouble trying to make a Router system for programmatic navigation in my project.

potaticuspotaticus
join shbcf.ru