Navigation in SwiftUI & iOS 16

preview_player
Показать описание
Get started with SwiftUI’s new navigation APIs for navigation stacks. You will learn about NavigationStack, NavigationPath and navigationDestination based on several examples.

Timestamps:
00:00 Introduction
00:43 Review: What was navigation like before iOS 16?
01:57 Example 1: NavigationStack + old NavigationLink
02:49 Example 2: NavigationStack + new NavigationLink + navigationDestination
05:44 Example 3: NavigationPath + programmatic navigation
09:03 Example 4: NavigationPath + multiple types
17:49 Outro

Links:

🚨 SPECIAL CWC+ OFFER FOR YOUTUBE:

🚨 SPECIAL CWC+ OFFER FOR YOUTUBE:

MY FREE ONLINE COURSE:

CWC+ PROGRAM:

WEEKLY UPDATES VIA EMAIL:

CONNECT:

ABOUT CODEWITHCHRIS:

DID THESE LESSONS HELP YOU?

ROADMAP:

#iOS16 #Xcode14 #SwiftUINavigation
Рекомендации по теме
Комментарии
Автор

These changes are SO GOOD! Thanks for letting me host this lesson😁

FloWritesCode
Автор

Thanks for the mention, Flo. 🤗 Awesome overview!

bigmtnstudio
Автор

Excellent tutorial and really appreciate the thoughtful examples. I learned multiple things I didn't know already. You earned a new subscriber.

ninumedia
Автор

This is the first time I had seen NavigationPath, but I think that is what makes NavigationStack useful

markaurelius
Автор

Wonderful!! This is the best Navigation Stack tutorial I have found so far. Thanks - I am subscribing right now.

jamesallison
Автор

What a great Navigation Stack tutorial, thank you 🤩

EricTMCode
Автор

Thank you man :) Your videos have been *extremely* helpful for me!! :')

ColeHowe-elqg
Автор

This is probably one of the better explanations on SwiftUI Navigation that I have seen. There are some other great online instructors for SwiftUI, but they all pretty much dropped the ball on explaining NavigationStack.

chrisstromberg
Автор

I love UIKit Storyboards but this new Navigation for SwiftUI is a game changer.

gondaimgano
Автор

Oh this is huge, navigation was a buggy mess. Nicely shown @Flo writes Code.

ColeDano
Автор

so if i understand this correctly(as a beginer in SwiftUI), when i am in between the lines of navigationDestination, i can already make a new ContentView design with Z/V/H stacks and add Spacer and all of that stuff for all the data i got from 1 Navigation Link(here would be some API data i got from the web)?
I hope this is understandable

japonska
Автор

Thanks for the great video. I have a question please. I was able to initialize a subview with a binding property with the previous navigationLink initializer. is it possible to do that with the new navigationDestination? thanks

JasemAlqaseer
Автор

Very useful video. Can you elaborate on how NavigationLink would work inside a Grid or GridRaw. It seems to no work.

APWatchdog
Автор

I'm comprehending this for the most part, but how do I get this paradigm working with custom SwiftUI View types? I don't know how I can just enum my SwiftUI views or make them hashable. Each view uses different observedobjects, and my ios15 code works - not sure how to make it work on ios16. On the hunt right now.

andre.unsal.
Автор

Will the old NavigationLink in future also be deprecated? Sometimes its better than the new one.

TheSpiralnotizblock
Автор

What if I don't want to use list and how can pass data over multiple views.?

nikitapatidar
Автор

How use presentation Detents together with tabview?

SwiftUA
Автор

Well, no backward compatibility, as always. "Thanks" apple. I swear to go, ios development is a joke.

GoeHybrid
Автор

How do we change the slide animation to a fade animation?

yourgflikesit