This NEW SwiftUI Feature Is AMAZING | Navigation Stacks

Поділитися
Вставка
  • Опубліковано 11 січ 2023
  • In this video we'll dive into the new navigation system SwiftUI has implemented. We'll cover how it works, why it's better than the old system, and go thru an awesome example!
    🖥️ RESOURCES
    🔴 Become a member for lifetime access to source code:
    www.stephancodes.com/blank-page
    🖥️ COURSES & SOURCE CODE FILES
    👉 Pro Courses:
    www.stephancodes.com/videos
    👉 iOS App Templates:
    www.stephancodes.com/shop
    👉 FREE UBER SwiftUI Course
    • 🔴 Let's Build UBER wit...
    👉 FREE Crypto SwiftUI Course
    • Free iOS Development C...
    👉 FREE Twitter SwiftUI Course
    • 🔴 Let's Build Twitter ...
  • Наука та технологія

КОМЕНТАРІ • 44

  • @HolographicKode
    @HolographicKode Рік тому +4

    OMG . this presentation is KICKASS.. and the features are wicked. Great presentation! I can’t wait to try these swift gems. Please go deeper into these examples with some more realistic apps, like providing some settings screens for an app, a concrete navigating within an more functional app etc. Some aspects to focus on is also how to organize your views, classes, etc to allow the app to scale up from a simple to a more complex app.

  • @andrewduncanpoole
    @andrewduncanpoole Рік тому

    Brilliant! Just subscribed and will be diving into other videos this week. thank you Stephan

  • @manwithllama
    @manwithllama Рік тому +5

    Stephan: Listen to this back with headphones-the audio is a bit funky. Almost like your mic recorded in stereo, which seems impossible. But your voice kept panning slightly from right to left. Maybe you mixed an overhead in with it or left camera audio on?
    Hope this helps as much as you just helped me! Excellent tutorial! 🎉

  • @AlexBlack-xz8hp
    @AlexBlack-xz8hp Рік тому

    Excellent video! thanks for clarifying this. I did not realize how much better the navigation stack was until I watched this. I have been struggling with making navigation view work for my needs for ages.

  • @jamesallison9725
    @jamesallison9725 Рік тому +1

    Excellent tutorial. You explain things very well indeed! Thanks

  • @ikshitchaudhari2529
    @ikshitchaudhari2529 Рік тому

    happy to see you back after long time !

  • @vncproductions4961
    @vncproductions4961 Рік тому +1

    Wouldn't have wanted it explained differently, well done mate, I got it 👍

  • @zeroh_chill2966
    @zeroh_chill2966 3 місяці тому +1

    How have i not seen this video before?! The best description with use case of navigation stack in all of youtube. FOLLOWED! Let me see what else you got now! Well done

    • @zeroh_chill2966
      @zeroh_chill2966 3 місяці тому

      Hey Stephan, i watched your TikTok course here and would like to keep learning all the extra stuff you mention about that particular app. I’m on your website and i want to be sure what I’m getting. The front page make it look like no matter what version you buy, you can have unlimited access to everything. I see the $40 one has terms and conditions which limits you on what you can actually get. Is the annual account unlimited? Meaning i could download and watch everything you have immediately?

  • @jorgeceles7942
    @jorgeceles7942 10 місяців тому

    Should have came here first! Thank you! Starting to build on my own and today this had me pulling my hair.

  • @samldev
    @samldev 8 місяців тому

    Great video, thanks for sharing

  • @user-do7dv4kd2g
    @user-do7dv4kd2g 8 місяців тому

    very clear. ThankU

  • @gatep5
    @gatep5 5 місяців тому +1

    Great content but a suggestion for the future is to increase your font size in the code editor. Trying to see the code on an iPhone is almost impossible.

    • @appstuff5778
      @appstuff5778  5 місяців тому

      Seeing it on a computer is easy. That’s how it’s meant to be watched. It’s on the largest font setting Xcode has

  • @911lalala
    @911lalala Рік тому

    Thank you for great video

  • @user-bz8cs6yc4y
    @user-bz8cs6yc4y 10 місяців тому

    Awesome tutorial! Wow!🤯

  • @ssaguiar
    @ssaguiar 2 місяці тому

    Obs: I am not using List for the buttons, but a Vstack with the NavigationLink for each button.

  • @brianjordan2418
    @brianjordan2418 Рік тому +1

    Thanks!

  • @yega3k
    @yega3k 8 місяців тому

    Thanks for the excellent breakdown. New to Swift UI and was totally confused until this video 😅. I had no idea there were two different syntaxes (in fact, I have a NavigationView nested in a NavigationStack right now 🤦‍♂️ lmao

  • @berniewong7983
    @berniewong7983 Рік тому

    awesome tutorial

  • @marcoalonsoiosdev
    @marcoalonsoiosdev 3 місяці тому

    Nice video!

  • @dugrut1325
    @dugrut1325 Рік тому

    I've watched so many videos on this subject and I'm still in the dark. I sure hope you can shed some 'light' on it.

  • @saskiaa9165
    @saskiaa9165 Місяць тому

    There's a problem with your navigationPath declaration, this way you cannot use it with different types. In your case it should be defined as:
    @State private var navigationPath = NavigationPath()
    And then later on manipulate it like navigationPath = NavigationPath( brands ) for instance.

  • @ssaguiar
    @ssaguiar 2 місяці тому

    This video is amazing as it made me understand the process of getting the root view (pop to root). But I have a question, if possible: I have a buttons menu on which every button presents a new view (a view file). How could I made the changes to the code to show those views. Should I create an array of views to deal with? Thanks a lot for your help.

  • @fusionlabs6215
    @fusionlabs6215 8 місяців тому

    About time, I'm surprised this wasn't part of SwiftUI v1.

  • @gmostafaali
    @gmostafaali Рік тому

    Great ✌🏿

  • @dotnetdevni
    @dotnetdevni Рік тому

    How does that work though with a side drawer or bottom nav bar?

  • @Kush_Daddy
    @Kush_Daddy Рік тому

    Is there a way to use this navigationstack to automatically navigate to your next view? It seems like now when you want to navigate, you have to create a physical button or link to press and begin navigating to the next screen. However, you used to be able to use the navigation links isActive parameter and create an empty view ao that when the condition is met, you can automatically navigate without pressing anything Such as after a api call.

  • @rudyfolden585
    @rudyfolden585 7 місяців тому

    Excellent tutorial, however, when the path is added to the NavigationStack, the Cars NavigationLinks become broken. Any way to fix this?

  • @NastyHangover
    @NastyHangover Рік тому

    Hey mate,
    are you going to release any new course on your website any time soon and if so would you be willing to spoiler a tiny bit ;)? Also if there is a planned release date I would put it in my calendar. Would love to buy some new classes :) Love the content you're putting out there and your courses taught me extremely much.

    • @appstuff5778
      @appstuff5778  Рік тому +1

      Currently working on creating a full bootcamp, teaching people how to code from scratch. Will contain multiple courses and exercises like data structure and algo problems. Will suit all levels, should be out in the next 4-6 weeks :) After that im gonna do more stuff on UA-cam like IG clone, AirBnb Clone etc

    • @NastyHangover
      @NastyHangover Рік тому

      @@appstuff5778 amazing, just put myself a reminder. Also thanks for the quick reply. Much appreciated.

  • @Lowlightapp
    @Lowlightapp 9 місяців тому +1

    Legend video. Watched 2x b2b

  • @Po-ChunChang
    @Po-ChunChang 9 місяців тому

    May I know why you used NSUUID not UUID?

  • @vcastroc
    @vcastroc 6 місяців тому

    PRINCIPAL QUESTION 🙋🏻‍♂️
    How do you could send parameters from view by NatigationStack to another View ????

  • @emmanuelmensah990
    @emmanuelmensah990 10 місяців тому

    u dope

  • @jacobgomez_
    @jacobgomez_ 5 місяців тому

    Really random but what's the ID on that intro track haha

  • @IamTheGreatCornholioo
    @IamTheGreatCornholioo 2 місяці тому

    5:30 This is horrendously unintuitive, setting naviationDestination on the list instead of each element, why does it even work like that? I hate swift/swiftui!