How to use NavigationStack in SwiftUI | Bootcamp #62

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 71

  • @HieuNguyen-hv4us
    @HieuNguyen-hv4us ปีที่แล้ว +11

    most friendly-for-beginners SwiftUI coach on UTube. +1 respect.

  • @lincolndickerson1293
    @lincolndickerson1293 ปีที่แล้ว +20

    You are the most responsible content create ever!
    The very best. Thank you for uodating, deprcating, and overall keeping Swiftful Thinking fresh
    WWDC has a gold mine of content for you. The new Swift Data stuff is fantastic can’t wait to see where you take it.

    • @SwiftfulThinking
      @SwiftfulThinking  ปีที่แล้ว +7

      Thanks! Yea, I will try to make iOS 17 videos soon 🤙😎

    • @Marcn.ar.
      @Marcn.ar. 8 หลายเดือนก่อน

      Please!!!!!!!!!!! You are HUGE@@SwiftfulThinking

  • @vladc.5311
    @vladc.5311 6 หลายเดือนก่อน

    Been following your SwiftUI tutorials and I want to say you are doing an amazing job teaching the community all the cool Swift UI features that Apple brings every year. Thank you!

  • @kevincosta2132
    @kevincosta2132 8 หลายเดือนก่อน +4

    Hello Nick! Great video like always i just wanted to point out that even if you say that implementing the stackPath will ruin the Int destinations at 19:38, this is not the case. It ruins the Int destinations just because you initialized the path as an array of strings [String] if you initialize the path as a NavigationPath() it will then work with all destination types! You should probably pin this for future viewers, or change the description of your video to point that out!

    • @jalapisco
      @jalapisco 3 หลายเดือนก่อน +1

      Just tried it and it worked like you said it would. Thanks for pointing that out 👍

    • @kevincosta2132
      @kevincosta2132 3 หลายเดือนก่อน

      @@jalapisco You are welcome!

  • @michaelq927
    @michaelq927 4 หลายเดือนก่อน

    Thank you for much Nick! I start form #1up to here in couple weeks, have no code back ground, not understand all of them, but will learn bit by bit, step by step , setting the foundation for my future development in App making skill, and you are one of the person i need to credit for if I become billionaire !

    • @SwiftfulThinking
      @SwiftfulThinking  4 หลายเดือนก่อน +2

      It’s a “when” not “if” 🚀

  • @jalapisco
    @jalapisco 3 หลายเดือนก่อน

    Was really struggling to get my head around NavigationStack until now. Thanks for this awsome video 👍

  • @christianmoreno7390
    @christianmoreno7390 ปีที่แล้ว +5

    Hey Nick! Can you do a video on implementing machine learning through Firebase/SwiftUI? For example, a recommendation system to recommend content to users? There isnt that much documentation on the subject. Thanks!

  • @avirubhattacharjee8987
    @avirubhattacharjee8987 ปีที่แล้ว +4

    Thanks Nick

  • @dre5671
    @dre5671 11 หลายเดือนก่อน

    I'm finally understanding how this works, thank you for comparing with the old way to shed more light!
    I'm also wondering what if we didn't have a value to pass, but simply wanted to navigate to another view?

  • @craigstar4467
    @craigstar4467 14 วันที่ผ่านมา

    great work, Nick! thank you very much

  • @polyglotmona
    @polyglotmona 11 หลายเดือนก่อน

    :D THANK YOU so much, I had such a lot of fun doing this with you, and the watermelon made me laugh so hard :D I'm looking forward to learning more with your videos.

  • @dugrut1325
    @dugrut1325 ปีที่แล้ว

    Yeah, nice to see you back Nick, and something that I can understand.

  • @PattayaASMRWalking
    @PattayaASMRWalking ปีที่แล้ว +1

    Yeah the bootcamp is back! :D best tuts out there, thanks nick

  • @Notkdenben
    @Notkdenben ปีที่แล้ว

    Glad to see an update on this content.

  • @spradohak
    @spradohak ปีที่แล้ว

    Awesome Nick, I was hoping that you make videos for these SwiftUI updates.
    Thank you so much

  • @БогданОлейник-ю3э
    @БогданОлейник-ю3э ปีที่แล้ว

    The best content on SwiftUI, thanks for telling us about the new features

  • @jzaae
    @jzaae ปีที่แล้ว

    loving the new intro nick!!

  • @ShabadM
    @ShabadM 8 หลายเดือนก่อน

    Thanks for providing valuable content like these...

  • @asaadjaber1
    @asaadjaber1 7 หลายเดือนก่อน +1

    The part with the Navigation Stack starts at 10:18.

  • @owencunn
    @owencunn ปีที่แล้ว +1

    Thanks for everything you do Nick,
    I have a suggestion for a future video. SwiftUI Navigation Stack and TabView - returning to the root view to scrolling to the top when appropriate.
    I've searched online and can't find a complete example of this anywhere!

    • @summerofoz1
      @summerofoz1 ปีที่แล้ว

      I agree..I am in the same situation

    • @iOS-Coder
      @iOS-Coder 5 หลายเดือนก่อน

      Agree...

  • @KirankumarGaware
    @KirankumarGaware ปีที่แล้ว +1

    Could you please explain why it print twice? I tries to find but not able to find. Please explain

  • @Jandroverse
    @Jandroverse 11 หลายเดือนก่อน

    Hey great video, but i've looked all over youtube no one shows what im about to ask you. Could you show us how to move to another view, without having to click on it. basically if an event happens it sets a flag and if that flag is true move to the other page. Thanks in advance.

  • @itsayan1616
    @itsayan1616 ปีที่แล้ว

    Best explanation.
    Thanks Nick, Waiting for more.😀

  • @khanhduyle5287
    @khanhduyle5287 5 หลายเดือนก่อน

    Thank you for your very good teaching. I'm just starting out so the thing I'm a little confused about is why init is called twice when navigating through screen 2. Can you explain to me?

  • @abhishekpednekar211
    @abhishekpednekar211 ปีที่แล้ว

    You just made it so easy. Cheers 🍻

  • @RussChannel13
    @RussChannel13 ปีที่แล้ว +1

    12:48 It was as unexpected and shocking as Sopranos ending :D

  • @LebenWerden
    @LebenWerden 5 หลายเดือนก่อน

    Thank you. Video helps a lot.

  • @evangelosspyromilios5994
    @evangelosspyromilios5994 ปีที่แล้ว +1

    17:33 what happens if both lets say 'fruits 'and 'x' are of the same type ? how you can differentiate then ?

  • @gogog119
    @gogog119 ปีที่แล้ว

    Thank you for your update!

  • @ortezan4186
    @ortezan4186 ปีที่แล้ว

    Great as always.

  • @charita.r
    @charita.r 8 หลายเดือนก่อน

    What if the minimum deployment target is 15.0? How to manage the navigation destination and navigation link?

  • @trile2799
    @trile2799 หลายเดือนก่อน

    Is it possible to have a navigationStack inside another navigationStack?

  • @galaxiegalaxie5003
    @galaxiegalaxie5003 ปีที่แล้ว

    Thank you for such a great content. what if my second and third screen that has navigation destination of int type on both screen, will there be a problem?

  • @10_GRANDS
    @10_GRANDS 4 หลายเดือนก่อน +1

    lets add this everyone's favourite b-a-n-a-n-a

  • @andresraigoza2082
    @andresraigoza2082 ปีที่แล้ว

    So awesome! thank you so much!

  • @JeckyKA
    @JeckyKA ปีที่แล้ว

    Thank you Nick!

  • @stelluspereira
    @stelluspereira 7 หลายเดือนก่อน

    Excellent presentation style & easy to understand in ‘bite size’
    I would really really appreciate if you could do a split navigation for iPad

    • @SwiftfulThinking
      @SwiftfulThinking  6 หลายเดือนก่อน

      How to use NavigationSplitView in SwiftUI | Bootcamp #72
      th-cam.com/video/Ua37Oof6H1Q/w-d-xo.html

    • @stelluspereira
      @stelluspereira 6 หลายเดือนก่อน

      Thankyou Sir, later I found the video & commented it
      Keep up the good work sir

  • @AdityaNarayan-u3d
    @AdityaNarayan-u3d ปีที่แล้ว

    Hey Bro I find your content awesome and most suitable for understanding and applying. I would request you to make video on The Composable Architecture (TCA)

  • @barche75
    @barche75 ปีที่แล้ว

    Question is how to open screen without any Hashable object. My solution is to create empty struct for such screen. And I’m also wandering is it possible to show modal screen using navigation path or hashable array 😊

  • @kembel2761
    @kembel2761 10 หลายเดือนก่อน

    Hey I love your videos and I've followed a bunch of your tutorials. Currently I am building my own apps but I encountered a problem I can't seem to fix.
    So that situation is I have a NavigationStack which has a goes to a View. That View then presents a sheet. My problem now is, I'd like to go back to the rootview from the sheet, but I can't seem to make it work. Basically I want to dismiss the sheet AND it's parent navigationLink view. Please help :(

  • @knowledgeispower4953
    @knowledgeispower4953 8 หลายเดือนก่อน

    Really Respect Man...🤝

  • @VishalDesai-o8s
    @VishalDesai-o8s 7 หลายเดือนก่อน

    How to navigate next screen without any action??

  • @xinl370
    @xinl370 ปีที่แล้ว

    Thanks for the video! Is there a way we can accelerate, or even remove the default slide-in animation when changing pages (e.g. when clicking "Super segue!" from the content page, or clicking "Back" from other child pages)? Thanks!

  • @1slyboy
    @1slyboy ปีที่แล้ว

    How do you get the preview to enable the debug output to the console? I've made sure Debug Area->Active Console. I set Preference->Behaviors->Generates Output->[Show] Debugger with [Current Views] And I don't see any options on the preview (e.g. right-clicking play). The print statements do show up when using the simulator.

  • @SiamakAshrafi
    @SiamakAshrafi ปีที่แล้ว

    Thank You!

  • @stephenweber33
    @stephenweber33 8 หลายเดือนก่อน

    @State private var stackPath = NavigationPath()
    Quoting Paul Hudson, "if you need heterogeneous data to use a special type-erased wrapper called NavigationPath. This can work with any hashable data, so you could add a few strings, a few integers, a few custom structs, etc, and as long as they all conform to Hashable you’re okay.

  • @eliasayele1102
    @eliasayele1102 ปีที่แล้ว

    Thanks

  • @vojtechkalivoda8455
    @vojtechkalivoda8455 ปีที่แล้ว

    Are ou also going to cover iOS17 new SwiftUI stuff right after this iOS16 changes? I am sure new developers would prefer to never learn all the property wrappers for the Views that are now being deprecated ig 😅 atleast i would prefer that 🤣 thanks for the video Nick!

  • @Designguidetv
    @Designguidetv ปีที่แล้ว +1

    the whole thing about .self is confusing to me. Why is it explicitly needed to mention .self ?

  • @georgehabib4333
    @georgehabib4333 ปีที่แล้ว

    Thanks for your videos Nick, you're awesome!
    Newbie question though..
    If I have only 2 items on a screen - say PLAY and OPTIONS buttons that lead to a GameView and OptionsView, can I simply use NavigationLink (destination, label) ? or will that be deprecated ?

    • @SwiftfulThinking
      @SwiftfulThinking  ปีที่แล้ว +1

      Yes you can keep it simple if you’d like

  • @김성연-z8u
    @김성연-z8u ปีที่แล้ว

    i love you

  • @ZeroTorySeats
    @ZeroTorySeats หลายเดือนก่อน

    I’ve never used NavigationView so I would have preferred just an explainer of NavigationStack

  • @IamTheGreatCornholioo
    @IamTheGreatCornholioo 10 หลายเดือนก่อน +4

    Navigation is by far the worst thing about swiftui

  • @MobileDeveloper1965
    @MobileDeveloper1965 ปีที่แล้ว

    Stop teaching. Your teaching is confusing.

    • @dre5671
      @dre5671 11 หลายเดือนก่อน +3

      He's literally one of the best teachers out there (notice how every other comment disagrees w you).
      You should stop watching if you aren't ready for this content yet. Check out his super beginner courses or gtfotta here

  • @PaulDabit
    @PaulDabit 2 หลายเดือนก่อน

    When are you going to teach us how to charge people and make them pay using their debit card or credit card? Can you do that please