These changes are SO GOOD! Thanks for letting me host this lesson😁
@CodeWithChris
2 жыл бұрын
Wunderbar! @AdrienVillez
@markaurelius61
2 жыл бұрын
This is the first time I had seen NavigationPath, but I think that is what makes NavigationStack useful
@FloWritesCode
2 жыл бұрын
For sure. This is what really enables programmatic navigation with little overhead. It's also doable without NavigationPath, but needs a bit more setup.
@bigmtnstudio
2 жыл бұрын
Thanks for the mention, Flo. 🤗 Awesome overview!
@ninumedia
3 ай бұрын
Excellent tutorial and really appreciate the thoughtful examples. I learned multiple things I didn't know already. You earned a new subscriber.
@jamesallison9725
2 жыл бұрын
Wonderful!! This is the best Navigation Stack tutorial I have found so far. Thanks - I am subscribing right now.
@CodeWithChris
2 жыл бұрын
Awesome, thank you! - Pat
@EricTMCode
2 жыл бұрын
What a great Navigation Stack tutorial, thank you 🤩
@CodeWithChris
2 жыл бұрын
Glad you liked it! - Pat
@gondaimgano
2 жыл бұрын
I love UIKit Storyboards but this new Navigation for SwiftUI is a game changer.
@CodeWithChris
2 жыл бұрын
It really is. Thanks for watching! - Pat
@gondaimgano
2 жыл бұрын
@@CodeWithChris thank you to you!
@dugrut1325
Жыл бұрын
... clear as MUD!
@Conquerz-tj7iw
Жыл бұрын
mud isn't clear
@ColeDano
2 жыл бұрын
Oh this is huge, navigation was a buggy mess. Nicely shown @Flo writes Code.
@CodeWithChris
2 жыл бұрын
Great!! I'll pass the message along! Flo has a bunch of videos on his own channel to by the way! (kzitem.infovideos) @AdrienVillez
@chrisstromberg6527
Жыл бұрын
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.
@CodeWithChris
Жыл бұрын
Thank you for the kind words! :) - Pat
@GorYeghoyan
2 жыл бұрын
Awesome, thx a lot!
@CodeWithChris
2 жыл бұрын
Thank you for watching! - Pat
@w0mblemania
2 жыл бұрын
This was very useful, thanks.
@CodeWithChris
2 жыл бұрын
Glad it was! Thanks for watching! :) - Pat
@umairkhan4982
Жыл бұрын
Great explanation
@ColeHowe-el5qg
Жыл бұрын
Thank you man :) Your videos have been *extremely* helpful for me!! :')
@CodeWithChris
Жыл бұрын
Happy to hear that! :) - Pat
@APWatchdog
2 жыл бұрын
Very useful video. Can you elaborate on how NavigationLink would work inside a Grid or GridRaw. It seems to no work.
@FloWritesCode
2 жыл бұрын
It works just fine in my little test app. What does your setup look like? NavigationStack(path: $path) { Grid { GridRow { Color.green } GridRow { NavigationLink("Test Link", value: Person.examples[0]) } } .navigationDestination(for: Person.self) { person in Text(person.name) .font(.headline) } } This example works just as expected for me in Xcode 14 Beta 3.
@CodeWithChris
2 жыл бұрын
Hi there! Can you post your concern on our CodeCrew forum codecrew.codewithchris.com? We have our tech support staff that are ready to help you out! :) - Pat
@japonska2009
Жыл бұрын
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
@thomascole8216
Жыл бұрын
Very nice! Great job...
@CodeWithChris
Жыл бұрын
Thank you very much! - Pat
@bigmtnstudio
2 жыл бұрын
Thanks!
@CodeWithChris
2 жыл бұрын
No problem! - Pat
@CodeWithChris
2 жыл бұрын
Thanks for the Tip @Mark! @AdrienVillez
@JasemAlqaseer
2 жыл бұрын
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
@CodeWithChris
2 жыл бұрын
Hi Jasem! You can post your question on our CodeCrew forum and have our team assist you. Just visit this link codecrew.codewithchris.com. - Pat
Жыл бұрын
Thanks! 🙌🏻
@CodeWithChris
Жыл бұрын
No problem! - Pat
@TheSpiralnotizblock
2 жыл бұрын
Will the old NavigationLink in future also be deprecated? Sometimes its better than the new one.
@CodeWithChris
Жыл бұрын
NavigationView will still be in use for quite some time, especially for app projects that are still on iOS 15 and below, since NavigationStack is not backwards compatible. In reality, production apps, especially those that have an existing user base can't easily raise the minimum iOS version to the latest one upon release as it would hurt their user metrics. Raising the minimum iOS compatibility would mean dropping a percentage of the user base from using your app. - Pat
@enoch8835
Жыл бұрын
THANK U
@CodeWithChris
Жыл бұрын
You're welcome! - Pat
@nikitapatidar8907
2 жыл бұрын
What if I don't want to use list and how can pass data over multiple views.?
@CodeWithChris
2 жыл бұрын
Hi Nikita! We suggest posting your question on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com. - Pat
@andre.unsal.13
2 жыл бұрын
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.
@CodeWithChris
2 жыл бұрын
Hi Andre! We suggest posting your question on our CodeCrew forum and have our tech support staff assist you. Just visit this link codecrew.codewithchris.com - Pat
@YaroslavSherstyuk
Жыл бұрын
How use presentation Detents together with tabview?
@CodeWithChris
Жыл бұрын
We suggest posting your question on our CodeCrew forum codecrew.codewithchris.com. Our tech support staff will help you out! - Pat
@srome0711
Жыл бұрын
Great video
@CodeWithChris
Жыл бұрын
Glad you enjoyed it! - Pat
@GoeHybrid
2 жыл бұрын
Well, no backward compatibility, as always. "Thanks" apple. I swear to go, ios development is a joke.
@CodeWithChris
2 жыл бұрын
SwiftUI is a very young language and we can expect a lot more changes in the future too. Indeed, things are going to be interested in September when all this goes live. @AdrienVillez
@w0mblemania
2 жыл бұрын
@@CodeWithChris The problem is that SwiftUI isn't very young any more... It was released in 2019, and we're up to SwiftUI 4. And with every release, there are show-stopping problems that force us to go back to UIKit. And everyone has to keep asking "is SwiftUI production-ready?". Apple need to dogfood SwiftUI... the vast majority of their apps aren't using SwiftUI yet they tell us that SwiftUI is the best way to make an app. SwiftUI feels like the future, but we have to work in the here and now.
@CodeWithChris
2 жыл бұрын
Yes... well, I was comparing it to something like Java, C, or even Objective-C. But yes, working with iOS and SwiftUI is a non stop Learning-Coding-Learning-Coding-Change/Fix-Learning-Coding loop. I do understand your frustration. From my experience, Xcode does a pretty good job to suggest edits and new ways to write a line of code when converting an older project. Not sure if this will be the case. PS: This comment thread will slowly disappear in the abyss of youtube's older comments (well, at leas this is how they are given to use), so I would recommend you to join us in the Forum! codecrew.codewithchris.com/. Come and chat with us and talk SwiftUI with the team!) @AdrienVillez
@yourgflikesit
Жыл бұрын
How do we change the slide animation to a fade animation?
@CodeWithChris
Жыл бұрын
We suggest posting your question on our CodeCrew forum so that our tech support satff can assist you. Just visit this link codecrew.codewithchris.com - Pat
Пікірлер: 57