I'm late to the party but many thanks for this. I like the organization of content and the ability to load Views directly. After messing around with it I can jump around TopicViews by adding a navigationLink to a TopicView but that does add Views to the stack without removing them when you navigate back. Combined with what I learned in your Navigation Stack Part 2 tutorial I can add a NavigationPath and remove Views from the stack to navigate back two screens, go directly to the root menu screen, etc.
Excellent, short, and not much code. I like the multiple select keyboard cursor shortcuts and the simplified use of .navigationDestination(), iOS 16 specific that replaces NavigationLink(destination:).
I watched this again yesterday and today and this is an awesome video that nobody else has out there that I have seen and I appreciate it so much. Stewart you are a very special teacher!
Steward, I found your channel lately and finding each video incredibly helpful. Thank you so much. Please keep sharing those which are fantastic learning for us
If I have watched your this great video, I should have saved myself many hours of efforts to complete my project where I need to layout couple of views in the old way! Thank you! Indeed!
Great tutorials, it helped me a lot with the project I am working on right now. Struggling a bit to implement paths to Navigation Stack but I guess I will manage. Many Thanks Steward
This is awesome Stewart. I think SwiftUI finally resolved all of the navigation issues that I previously had. I'd be curious if anyone ran into any use case that doesn't work.
The { $0 } idiom is just a bit too far for my ability to read and understand. I love that you explained the concepts upto and including that short-hand $0.
@@StewartLynch in a modular appstructure where you have each feature isolated in a spm-package. In that case, you would need a shared router package, but that will end up in a circular dependency. I'm struggling with combining the router pattern and the modular app structure :) Just asking if you have suggestion for this
Email sent! I basically want to have the front page with a map. The annotations will act like Enum -cases to open up a 3d model scene, like a 3d hamburger at a local restaurant.
Simple and elegant solution explained in a clear and concise manner. One of the best instructional channels on UA-cam! Thank you, Stewart!
🤯 conforming to the View protocol is gold 👏
Thanks. I normally learn new things from you.
I'm late to the party but many thanks for this. I like the organization of content and the ability to load Views directly. After messing around with it I can jump around TopicViews by adding a navigationLink to a TopicView but that does add Views to the stack without removing them when you navigate back. Combined with what I learned in your Navigation Stack Part 2 tutorial I can add a NavigationPath and remove Views from the stack to navigate back two screens, go directly to the root menu screen, etc.
Great to hear!
WOW. I didn't expect an enum could take the View protocol. Worth giving it a shot!
I love how you start small and then keep adding on the possibilities with the enum !
Excellent, short, and not much code. I like the multiple select keyboard cursor shortcuts and the simplified use of .navigationDestination(), iOS 16 specific that replaces NavigationLink(destination:).
One can try very hard to find some weak spot in your videos, but there aren’t any. Well done!!
Amazing video, i've seen lots of videos covering this topic, but no one did it as good as you. Bravo.
Glad you liked it!
I watched this again yesterday and today and this is an awesome video that nobody else has out there that I have seen and I appreciate it so much. Stewart you are a very special teacher!
You were the inspiration for this
Thank you Stewart 🎉✨💫
Steward, I found your channel lately and finding each video incredibly helpful. Thank you so much. Please keep sharing those which are fantastic learning for us
This is exactly what I needed. I appreciate the great video friend 🤙
Glad I could help
Very helpful. Thanks Stewart!!
Just what I was looking for. Another Brilliant tutorial. You're now becoming my goto for tutorials sir. Thanks very much for this .. Champion !!
If I have watched your this great video, I should have saved myself many hours of efforts to complete my project where I need to layout couple of views in the old way! Thank you! Indeed!
Just what was looking for ... Thanks!!!
Glad I could help!
Beautiful! Thanks for sharing these great tips
Thanks for watching!
Thank you, very informative. Enums are so powerful in swift.
this was masterful 👏
Best explanation I have seen if this Stewart. Excellent work!
Great tutorials, it helped me a lot with the project I am working on right now. Struggling a bit to implement paths to Navigation Stack but I guess I will manage. Many Thanks Steward
I already use a similar solution in my app. Nice touch to have the enum conform to view. I use a computed property that returns some view.
Thanks for the inclusion of some cool xcode shortcuts.
You're welcome!
Brilliant use of enums, as usual. And keyboard shortcuts in bonus. (I left the same comment last night, but it seems to have disappeared.)
Simple and elegant as usual. Thank you for this useful tutorial 🌹
This is so cool and well explained, Thank you so much Stewart
This is awesome, Stewart. I had no idea there were so many keyboard shortcuts. 🙂
Thank you for this great video, Stewart!
This is awesome Stewart. I think SwiftUI finally resolved all of the navigation issues that I previously had. I'd be curious if anyone ran into any use case that doesn't work.
14:18 Thank you. Excellent.
Thanks!
Thank you Andrew
You make learning easy. Awesome video!
Great. And so many other tips along the way.
Great job! very well done!
The { $0 } idiom is just a bit too far for my ability to read and understand. I love that you explained the concepts upto and including that short-hand $0.
$0 represents the instance of the enum and since it conforms to the View protocol it is a view
Hi Stewart, very nice tutorial, thank you!
Is there a way to navigate back from one of the topic view to the root ContentView programmatically?
I cover this in my NavigationStack video.
@@StewartLynch Thanks, will have a look
Uau 🤯
How would you handle this, if you have features in different swift packages, and you have to navigate from one feature to another?
Not sure that I understand the question.
@@StewartLynch in a modular appstructure where you have each feature isolated in a spm-package. In that case, you would need a shared router package, but that will end up in a circular dependency. I'm struggling with combining the router pattern and the modular app structure :) Just asking if you have suggestion for this
@nicolaiharbo2201 I see what you are getting at. Unfortunately, I do not have any suggestions for you off the top of my head
How would you make the Green screen the home screen and the current Home Screen a directory view?
I’m sorry, I don’t understand the question. Send me an email (links in the video description) and we can discuss further.
Email sent! I basically want to have the front page with a map. The annotations will act like Enum -cases to open up a 3d model scene, like a 3d hamburger at a local restaurant.
Is this too limited to iOS16? I haven’t had a chance to try it out yet. I know NavigationStack is, but could this work with a NavigationView?
This is dependent on the path binding and that is iOS 16 only
👍🏼👍🏼👍🏼
wonderful
it's a toss up this morn. My two favorite Swift topics...Enums and Navigation or World Cup /w Messi and Mbappe; plus snow. What to do???🥸
Nice Steward. Space after : please for us using SwiftLint it’s painful to have without spaces
I agree. Don’t know how I would have missed that
@@StewartLynch no worries. Thanks for amazing keyboard shortcuts!
Thanks!
Thanks for your support