A Full Tour of NavigationStack , NavigationLink and navigationDestination - SwiftUI tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

  • @zazoobah
    @zazoobah ปีที่แล้ว +16

    So yeah, this kind of teaching style; showing a bunch of variations on the same theme without dragging the audience through a meaningless app building exercise - you hit the nail smack dab on the head. This is golden, more please ! Thanks for taking the time to study the new API and condense it down into a vid. Very nice Karin!

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

      I also found it really helpful than those fast paced tutorials of building an app

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

    I came back after all this time because I still remembered I could find the best SceneStorage explanation here. Thanks again!!

  • @genebogdanovich
    @genebogdanovich 2 ปีที่แล้ว

    I thought that adapting new navigation APIs in my app would be a pleasant walk in a park. It couldn't have been further from the truth. The app was crashing and hanging. Navigation links weren't working at all. This video definitely set me on the right path. Thank you so much!

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

    Damn, that last part. You've truly mastered that API

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

    I have challenged myself to learn swiftui in one day and this is the video. Just like a wow😮

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

    thank you so much!!! finally I understand it with navigationPath not even the documentation explain it !!!

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

    Thanks!

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

    THANK YOU ! This was so helpful. I am finally moving to SwiftUI from UI Kit and Navigation has really confused me until now : )

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

    You've just saved the UX of my application, thank you very much!

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

    I watch many NavigationStack videos; I still don't understand it. So hope you will make it clear. I'm excited to watch.

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

    48:26 I burned myself with that lately. The environment object supplies ancestor views. But when you put it on the RootView and then push another view - this view is not part of the RootView, but NavigationStack. So in order to make it work properly, you would have to put it directly under NavigationStack. Screens will always be part of the NavigationStack or NavigationView. Other screens are just View siblings for RootView, not ancestors.
    Edit: Oh sorry, you figured this out later in the video.

  • @nawafalmutairi2078
    @nawafalmutairi2078 2 ปีที่แล้ว +3

    Best Swift channel! Thanks for making swift content!🙏

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

    Thank you, I’ve spent 40 hours to get understandable for me info. And your describing is awesome and nice. ❤

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

    Awesome descriptions. Thank You!

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

    Great video Karin, congrats and thanks a lot…

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

    Thank you 😊 Karin for the detail explanation.

  • @СергейПетрук-с4в
    @СергейПетрук-с4в 11 หลายเดือนก่อน

    Karin, thank you for video! It helped me a lot! i can knew how can use destination without navigationLinks! 🤗

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

    Nice video Karin, u got a new subscriptor… go a head!!!

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

    Great content! This video really helped us out. Well done, THANK YOU! I purchased your courses!!😀

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

    Now this is a tutorial. Stellar.

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

    Brilliant! Thank you for this great work.

  • @tapiokuusisto4780
    @tapiokuusisto4780 2 ปีที่แล้ว +2

    Really really useful and well-made. Thank you!

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

      Glad it was helpful!

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

    Wow! Karin this was amazing! It was very detailed and you saved me A LOT of time! Thank you! ❤

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

    Great videos, liked and subd

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

    Extrodinairly well explained. Well Done !

  • @jorgesegundorojas6119
    @jorgesegundorojas6119 2 ปีที่แล้ว

    You are the best ❤❤❤, this is my fav iOS channel by far !

  • @KristianGrönberg
    @KristianGrönberg ปีที่แล้ว

    Great explanation. Thank you.

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

    1:01:46 you're being polite ;-) I thought the way they did it was crazy!

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

      It always feel a bit strange to critic code from Apple engineers. But it really is too weird.

  • @Wiintb
    @Wiintb 2 ปีที่แล้ว

    You do an amazing job. Brilliant. Thank you for your videos and tutorial.

  • @lincolndickerson1293
    @lincolndickerson1293 2 ปีที่แล้ว

    Great coverage of this new way of doing things

  • @enshoremusic1494
    @enshoremusic1494 ปีที่แล้ว +2

    Thank you very much Karin!
    This is by far the most comprehensive tutorial on NavigationStack if found till today!
    Did you also try out a TabView with each tab being a NavigationStack having its own path? I wonder what best practise would be in such a design?

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

      Not yet! But this should work because Apple recommends using NavigationStack inside TabView

  • @ОлександрТимченко-с5х
    @ОлександрТимченко-с5х ปีที่แล้ว

    That was very helpful, thank you!

  • @HarrySchulting
    @HarrySchulting 2 ปีที่แล้ว

    Thank you for the Tutorial👍

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

    55:20 : the .navigationTitle is no longer a bug (Xcode v15.3)

  • @benhwang6378
    @benhwang6378 2 ปีที่แล้ว

    Thank you! Help me a lot !

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

    Hi Karin,
    Can you provide an example of LoginView -> (clears stack and push) HomeView ->(push) ListView ->(push) DetailView -> (clear stack and push) LoginView ?

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

    great video, could you make a tutorial on how instagram accomplishes their custom scale transition in the explore page? i’ve seen it done in UIKit but was unsure of the implementation, or is it only possible in SwiftUI

  • @officialspaceefrain
    @officialspaceefrain 2 ปีที่แล้ว

    Thank you! Amazing video. 🤗

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

    Very good tutorial. Question about the ModelDataManager being put into the environment. Why didn't you add it to the app Entry @Main and all subsequent views are children/kinderen? Is there a problem with that approach? I tried it it and it works fine...maybe it will break somewhere; but not yet. Fingers crossed waiting for your reply.

  • @Byte_Code
    @Byte_Code 2 ปีที่แล้ว

    Great tutorial. Thanks

  • @GeolseuDeiGamers
    @GeolseuDeiGamers 2 ปีที่แล้ว

    Great explanation!

  • @Decatilinae
    @Decatilinae 2 ปีที่แล้ว

    Thanks for sharing 😊… when you make a new course?

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

    Thanks Karin, I finally understand view stacking better, just one question, do you to create stacks per tabview or can you it on the highest level of your app?
    thanks Pierre

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

    Could we have multiple navigation stacks in a SwiftUI app? Let's say I have a login flow, onboarding flow, and the main app flow. Could I use a navigation stack in the root view of each flow or just have one Navigation stack enum that covers all the flow in the app.

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

    I'm struggling to figure-out the best option for navigation when I have a mixture of non-value and value based navigation... and there's no tutorials on it.
    For example, to get to my main settings screen I use traditional destination based navigation links. But deeper in, I'm using value based navigation. It turns-out you cannot used the "dismiss" action with the isPresented navigationDestinations... and everything just becomes more messy that it needed to be.

  • @Daniel-dw8lo
    @Daniel-dw8lo ปีที่แล้ว

    Thanks for this. Are you able to add a background color behind the entire list? I’ve tried everything and it won’t work for me

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

    Hi Karin Prater, amazing tutorial, actually even better than the apple kitchen one. Can you suggest a simple solution to change the default slide animation? Also to apply to the full stack or only the navlink?

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

    If i start learning ios development in 2024 should i start with SwiftUI or UIKit?
    And should i even consider native ios development as a career with KMP and React native coming on to the scene.

  • @SOK-gn6hw
    @SOK-gn6hw 2 ปีที่แล้ว

    Hey, can you make a video about adding Images into our project like PhotosPicker?

  • @rahulop6201
    @rahulop6201 9 วันที่ผ่านมา

    So if my minimum deployment target is iOS 15 Should I go for uikit instead of swift ui coz a good overall navigation in the app?

  • @amirhosseinmatloubi5231
    @amirhosseinmatloubi5231 2 ปีที่แล้ว

    i have question, can we use viewModels as enums associated type? for example second viewModel that is observable object and sotored in some other object like in stateObject viewModel. that might be second(viewModel:SecondViewModel). can we do that if we can is it right to do that?

  • @ivanoxg5079
    @ivanoxg5079 2 ปีที่แล้ว

    cool...thanks.

  • @cesmejia9014
    @cesmejia9014 2 ปีที่แล้ว

    Have you managed to adapt this new navigation API with the Coordinator Pattern?

  • @mtzgroup8010
    @mtzgroup8010 2 ปีที่แล้ว

    Are you officially working in some company or you are a freelancer?

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

    the meat of the video was good... but you really went down a rabbit hole!

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

    you are so smart, can you marry me?

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

    hello lady
    please how to create a pdf report , i mean full report with custom header ( company name, address, phone .. ect ) then report header ( invoice number, date, total, customer .. ect )
    finally report rows(item, qty, total .. ect)
    thank you

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

  • @unoarecare5728
    @unoarecare5728 2 ปีที่แล้ว

    Finally 🎉

  • @IcheVonB
    @IcheVonB 2 ปีที่แล้ว

    Thank you :)