How to use ObservableObject, @StateObject, & @ObservedObject in Xcode (SwiftUI)

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • In this lesson I'll be going over how we can use ObservableObject, @StateObject, & @ObservedObject in our native iOS apps using SwiftUI.
    Source code: github.com/fed...

КОМЕНТАРІ • 12

  • @omerkaraca7375
    @omerkaraca7375 2 роки тому +4

    The simplest explanation i've ever listened regarding this topic. Thank you for this clarified tutorial

    • @328Force
      @328Force 3 місяці тому

      yeah, i also enjoyed his explanation!

  • @ConfidentlyRong-jo5yt
    @ConfidentlyRong-jo5yt 2 місяці тому +1

    Great video! Thanks for the lightbulb moment :) Helping me become confidently correct

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

    Finally a video that really explains this stuff! I've been trying to get my head around @StateObject etc for ages!

  • @twizzlestix9309
    @twizzlestix9309 10 місяців тому +1

    Thanks for this concise example.

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

    Great Video

  • @federicodigiorgio
    @federicodigiorgio 2 роки тому +1

    Thanks buddy👍👍👍👍

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

    awesome explanation, thank you

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

    thanks finally got it working

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

    Nice video! But why say Text("\(stuff.text)") when we can just say Text(stuff.text) ? :)

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

    gigachad

  • @nroose
    @nroose 2 роки тому

    To me, putting a new object into a file for a struct is not better organized.