NEVER Confuse @State vs @Binding Again || SwiftUI Property Wrappers

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 47

  • @MiaomiaoShi-p6s
    @MiaomiaoShi-p6s 5 місяців тому +1

    amazing video

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

    best explanation I found. Thank you sir

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

    thank you

  • @911gogogo
    @911gogogo Рік тому +1

    Your lectures have changed my Life! Thank you so much My Hero

  • @user-bw1tj3tu3e
    @user-bw1tj3tu3e 7 місяців тому +1

    The best and hight quality content I ever seen, your channel will be the highly recommended to the beginners. After watching your knowledge sharing you deserve a like and subscribe 👍

  • @shubhamshetkar8785
    @shubhamshetkar8785 6 місяців тому +1

    Your teaching style is very easy to understand. This cleared my confusion very quickly. Thank you 🙏

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

    happy to see you back again !! you are probably the best IOS coach on youtube!

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

    best swiftui tutor on UA-cam. we need more videos please

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

    from today and over you are my prof

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

    Best explanation I found so far. What I like the most about your approach is mixing infographics while explaining. Please keep it up!

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

    17:42 what’s the idiomatic way to handle deeply passed binding vars. For example, putting darkModeEnabled at to top of the view hierarchy and maybe ten constructors down are using it

  • @user-a_fellow_traveler
    @user-a_fellow_traveler Рік тому

    Very useful and simple explanation thanks

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

    Very high quality content, completely understood. Thanks a lot.

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

    I love you videos: your teaching method is great ....
    ...however the stereo music at the start almost gives me a headache
    i think it would be fine if not stereo... i always listen with a headset do
    as not to both my hubby
    Just to let you know...Judy
    oh, i just read the comment below, larger font would really help
    me too : ) thanks for your tutorials!

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

    This has helped me building up my basics.. Keep it up. ❤

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

    This is awesome. Thanks for sharing your knowledge. One suggestion for improving the video would be to expand the Xcode interface to fill the screen or increase the font size, as small text can be difficult to read for viewers with visual impairments.

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

    Great video! You made it simple to understand with good examples. Thanks! Now Subscribed...🤩

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

    Thank you so much - this is the best explanation I've found, very easy to understand and love the way you simplify the concept and give concrete examples.

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

    Very nice, merci!

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

    12:55 when you dismiss the drawer by swiping down, how do you show it again declaratively? Do you have to cycle the showDrawer to false and then true?

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

    I got more knowledge from this aswesome video. Thank you so much!

  • @marcoalonsoiosmar-academy
    @marcoalonsoiosmar-academy Рік тому

    Very useful thanks 🙏🏼

  • @phongho.design
    @phongho.design Рік тому

    thanks you so much ❤

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

    thank you nice tutorial

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

    awesome, thanks

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

    I like how you explain these concepts, can you make a tutorial about async await?

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

      I have one! It’s my ‘Network Like A Pro’ video

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

    that was quality content man, thanks for the awesome explanations

  • @caiohenriquesoares-zl6vg
    @caiohenriquesoares-zl6vg 7 місяців тому

    Finally I got! Thank you for that

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

    Keep making videos man! I have been teaching myself swift, and this video was super helpful.

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

    Absolutely killer vid, thanks

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

    Thanks for the explaining but why when you change the value binding on the dismiss button doesnt change the color to white line 24-25 Text? so the if for that propouse dont know about that change? how can refresh the whole view?

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

    Great tutorial. Thanks.

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

    Thanks for the video!

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

    Nice explanation, Thanks a lot

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

    Really nice explanation, thank you

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

    This is awesome thanks! But can you explain how you would set new values to the binding if it is not a Bool? Say a string. Compiler won’t let me.

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

    ❤ simple

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

    Can this be implemented on any app, anywhere in terms of a new swiftUI project ?

  • @MdRezaulKarim-y9l
    @MdRezaulKarim-y9l Місяць тому

    CAN YOU BRING NICE COMBINE FRAMEWORK VIDEOS?

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

    Amazing explanation bro, hope you can create more courses on Udemy as well.

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

      I’m mostly putting courses on my website now. Udemy will be courses with a limited feature set. My site will contain the course with the full feature set. I recommend just buying straight from my site

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

    For anyone else confused about the relationship between the @State property on ContentView and the @Binding property on Detail View, it's worth noting that even though they're bound they are not the same property and can be named independently for e.g
    struct ContentView: View {
    @State private var showDetailViewContentView = false
    ...
    struct DetailView: View {
    @Binding var showDetailViewDetailView: Bool
    ...
    Then passed in as such
    .fullScreenCover(isPresented: $showDetailViewContentView, content: {
    DetailView(showDetailViewDetailView: $showDetailViewContentView)
    })
    Not that you'd ever want to do it this way, but for me realising this helped visualise the handing off of data from one view to another where the property names are the same, something I personally struggle with.

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

    Awesome for me! (noob)

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

    great video, but please stop speaking only to my right ear :( maybe go for mono?