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

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 68

  • @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 7 місяців тому

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

  • @balajiramadoss6014
    @balajiramadoss6014 9 місяців тому

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

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

    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 2 місяці тому

    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.

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

    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.

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

    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

  •  Рік тому +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.

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

    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.

  • @JemmaGuaney
    @JemmaGuaney 4 місяці тому

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

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

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

  • @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

  • @nawafalmutairi2078
    @nawafalmutairi2078 Рік тому +3

    Best Swift channel! Thanks for making swift content!🙏

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

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

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

    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

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

    you are so smart, can you marry me?

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

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

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

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

  • @tapiokuusisto4780
    @tapiokuusisto4780 Рік тому +2

    Really really useful and well-made. Thank you!

  • @georgehyker
    @georgehyker 9 місяців тому

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

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

    Thanks!

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

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

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

    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?

  • @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

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

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

  • @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

  • @СергейПетрук-с4в
    @СергейПетрук-с4в 8 місяців тому

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

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

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

  • @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 : )

  • @SOK-gn6hw
    @SOK-gn6hw Рік тому

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

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

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

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

    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!

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

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

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

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

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

    Brilliant! Thank you for this great work.

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

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

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

    Awesome descriptions. Thank You!

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

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

  • @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?

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

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

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

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

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

    Thank you 😊 Karin for the detail explanation.

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

    Great video Karin, congrats and thanks a lot…

  • @KristianGrönberg
    @KristianGrönberg Рік тому

    Great explanation. Thank you.

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

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

  • @ОлександрТимченко-с5х

    That was very helpful, thank you!

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

    Thank you! Amazing video. 🤗

  • @RatherBeCancelledThanHandled

    Extrodinairly well explained. Well Done !

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

    Great tutorial. Thanks

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

    Thank you for the Tutorial👍

  • @retro.spectral
    @retro.spectral Рік тому

    Now this is a tutorial. Stellar.

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

    Thank you! Help me a lot !

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

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

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

    cool...thanks.

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

    Great coverage of this new way of doing things

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

    Great explanation!

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

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

    How to do slide from bottom animation or fade animation?

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

    Finally 🎉

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

    Thank you :)