Data Flow in a SwiftUI App

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

КОМЕНТАРІ • 147

  • @Stefan-xm9qb
    @Stefan-xm9qb 4 дні тому

    You explain things much better than Sean Allen. I immediately understand your videos, great job! I like how everything is from scratch and how it builds up.

    • @Stefan-xm9qb
      @Stefan-xm9qb 4 дні тому

      For example Sean Allen start with bunch of boilerplate code and also assumes you know stuff from older swift versions which makes it difficult to understand.

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

    I started watching your videos 6 years ago when I was in high school to learn coding. Now, I've graduated college, working as a software engineer and am still learning a ton from your videos!

  • @mario_luis_dev
    @mario_luis_dev 4 місяці тому +1

    masterful explanation Chris! 👏

  • @ammarmujib
    @ammarmujib Рік тому +5

    The video seems to be 1 year old, but still masterpiece to understand data flow/proprty wrappers in SwiftUI. Thanks a lot for such simple and clear explanation.

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

    Great video - I love it how it shows different scenarios and various tools used to solve issues

  • @JacobSucksAtCode
    @JacobSucksAtCode Рік тому +5

    Dude your walkthroughs are so good. Super thorough, relaxing and information filled!

  • @shrutisharma3341
    @shrutisharma3341 2 роки тому +5

    This video deserved so many more likes. This literally cleared out all of my data flow confusions with swift UI! Thanks a ton!!

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

      Ahhhh, thank you so so much! Makes all the hard work so worth it. :) -Arthur

  • @PierluigiLuceri
    @PierluigiLuceri 11 місяців тому

    thanks a lot, this is the best video about data flow in swiftui, great job

  • @nindz9272
    @nindz9272 2 роки тому +2

    Thank you so much for this video! Just yesterday I was googling the exact things you've described in this video. It really does help to understand how things work in SwiftUI.

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

      Glad you found us. We're so excited for you! :) -Arthur

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

    Thanks for the awesome video on environmentObjects. You made it super easy to understand and I appreciate the time and effort you put into making it. Keep up the great work!

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

      Thank you so much for the kind words! :) - Pat

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

    This cleared up all of my confusions. Best tutorial on youtube. Keep it up Chris🙂!

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

      This comment made our day. Thanks for learning with us! -Arthur

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

    I finally managed to understand them all! Thank you so much for this tutorial Chris! You are awesome! :)

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

      We're happy to help! And thanks for watching! :) - Pat

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

    Awesome video. This literally cleared out all of my data flow confusions with swift UI! Thanks a ton!! It deserves many more likes. Best video on this topic. Appreciate your effort for explaining it in nice & clean Manner.

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

      Glad to hear this, Susanta! Thanks for learning with us! -Arthur

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

    Amazing, very well explained! thank you Chris!

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

      You're more than welcome, Alvaro! :) -Arthur

  • @3VAU
    @3VAU Рік тому

    Very nice and down to earth ;) thank you!

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

    Dude you explained in easy way..thanks.

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

    Man, your explanations are excellent. Thank you for this!

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

    Such quality explanations. Thank you as always!

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

      Great to know this. Thank you for the kind words! -Arthur

  • @georgh.9814
    @georgh.9814 2 роки тому

    Thank you so much! Exactly what i was searching for and so well descriped!.

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

    Hi, Cris.
    Thank you for uploading these about Swift. I'd beed desperate till I found your channel. I found the best videos for starting to study the Swift! Awesome!

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

      So kind of you! Thank you so so much! -Arthur

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

    You made it easy to understand

  • @user-om1ze4mi7u
    @user-om1ze4mi7u 2 роки тому +6

    This was an amazing video for developers who get stuck to understand how properties wrappers work. Besides, Your voice is so soft and your pronunciation is very clear which can mesmerize everyone. I already subscribed your channel.

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

      Thank you for the kind words! Time for Chris to make a meditation app and to tell us to breathe, breathe, relax, breathe!
      @AdrienVillez

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

    This is very detailed, simplified and well explained. Others always tried (no offence!) but failed to give good examples like this. Thanks for this treasure.

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

      Thank you for the kind words! We do our best to explain as simply as possible.
      @AdrienVillez

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

    Thanks so much Chris as ever clear. Understand this clearly now.

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

      Awesome, happy to know that we helped you! :) -Arthur

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

    Very clear walk through, thanks Chris!

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

    Fantastic and clear explanation, thank you so much!

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

      This comment made our day. Thank you so much, Nirdhar! :) -Arthur

  • @GamingSucks
    @GamingSucks 2 роки тому +8

    What an incredibly clear explanation. The examples really bring it together. Quite possibly the best I have seen on UA-cam!

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

      Aaaaah, our team appreciates your support, Rick! Thank you for your very kind comment! :) -Arthur

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

    Your content is amazing

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

    Very good summary on data flow! Thank you!

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

      Glad it was helpful! Thanks for learning with us! - Iñaki

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

    Thanks a lot that makes me understand well about data flow

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

    New with iOS app development and man, a lot of those property wrappers have been explained here which can easily be understood. Many thanks to you sir! Keep up the great videos - you've helped a lot of beginner devs here.

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

    Thanks!!...Very well explained with example..

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

    Thank you for this video, it was excellent. Liked and favorited!

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

      Wow, you're just the best. We sincerely appreciate your support! :) -Arthur

  • @KimbrellBrad
    @KimbrellBrad 2 роки тому +8

    This was a very well-done explanation! Your style of walking through each combination of wrappers and properties really cleared up much of my previous "fuzzy" understanding of these property wrappers. Thanks Chris!

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

      Thanks for your lovely feedback, Madd! Means a lot! -Arthur

  • @akshaykumar-qj2kx
    @akshaykumar-qj2kx Рік тому

    You are awesome teacher Chris :) Thank you for the valuable information.

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

      That means a lot! :) Thank you so much! - Pat

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

    Very helpful! Thank you!

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

    Great Tutorial, thanks for this!

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

    I took your 2 initial iOS courses 6 years about back in 2015 and been working as a professional iOS dev for 5yrs now. came back to learn swiftUI. still high quality content, nice! wish I could like this video multiple times.

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

      Aaaaah, your comment made our day. Thank you for learning with us! Your support means a lot! :) -Arthur

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

    Wow, pretty informative and interesting! Thank you

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

      Anytime! Thanks for learning with us! :) -Arthur

  • @hakeemdeggs9117
    @hakeemdeggs9117 11 місяців тому

    Amazing!!!!!!

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

    Sir, this really helps me to understand concepts. Thank you for such a good video :)

  • @ThanhNguyen-jk5tn
    @ThanhNguyen-jk5tn 2 роки тому

    It's really helpful. Thanks!

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

      Glad to know, thanks for learning with us! -Arthur

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

    Great job Chris!

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

      Thanks for your kind words, William! -Arthur

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

    This is an awesome video. I feel so lucky to have access to this youtube channel.

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

      Indeed! Thanks for learning with us! -Arthur

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

    Good explanation bro ! Thanks !

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

      Glad it was helpful! Thanks for watching! - Iñaki

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

    Thank you very much for this informative video! It was definitely very clear and simple, and I now have a better understanding of this topic (which I must admit, I was having a difficult time understanding)

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

      This made our day. Thanks for learning with us! -Arthur

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

    My man 👍

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

    You're the the best

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

    Such a good tutorial

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

    Wow super you just made my Sunday productive......👍🏻👍🏻🙂

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

      We're glad that you found us, Sathriyan! :) -Arthur

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

    Wow thanks for this video now I understand...

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

    excellent review

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

    Great Video .. Thanks :)

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

      You are so welcome, subscribe for more! :) -Arthur

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

    Thanks!

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

    Thank

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

    Hi Chris, thanks for the excellent tutorial. Here's a couple of nuances that I've recently noticed in how @ObservedObject publishes changes and triggers redraws:
    1. if your Profile class had a second @Published property that is not used in the layout code, any changes to that property would trigger a redraw of the view anyways.
    2. setting the same/current value to a @Published property (e.g. isLoggedIn = true when it's already true) will trigger a redraw of the UI
    3. contrary to #2, the .onChange modifier will only react to new values and won't be triggered when setting the same value over and over

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

    Thank you

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

      Anytime. Thanks for being here! :) -Arthur

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

    Great video

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

    Very very very Good explanation. Well done Chris. Tell me where do you collect those information as developper? When I read the Apple document without exemple. it's very hard to understand.

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

    still great two years later

    • @CodeWithChris
      @CodeWithChris  6 місяців тому +2

      Glad it was helpful! Thanks for learning with us! - Iñaki

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

    Hey Chris! Love the videos! I’m new to apps. Anyway you could make a series on how to make a app like Tik tok that let’s the users upload their videos?

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

      Appreciate your support. Kindly post your idea here: app.productstash.io/codewithchris#/ideas Thank you! -Arthur

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

    Wow, this was super helpful Chris, thanks for putting this explanation together.
    Also, it sounds like you are using a custom mechanical keyboard, or maybe I'm wrong. What keyboard are you using?

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

      Hi, Kevin! Thanks for your kind support! Kindly send an email to care@codewithchris.com so I can give you more info! The links are too long to share here, haha. :) -Arthur

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

    Hello, thanks for your work. At 17:17 shouldn't the first line be @ObservedObject var myObj = MyObject() ?

  • @user-vf2qm6ui5r
    @user-vf2qm6ui5r 11 місяців тому

    I would KILL for you to teach Java, you're leagues better than my college professor.

    • @CodeWithChris
      @CodeWithChris  11 місяців тому

      Thanks for watching! I'll be sure to let Chris know :) - Iñaki

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

    👍

  • @nagarajvrao7249
    @nagarajvrao7249 2 роки тому +2

    Plz include StateObject... In the follow up video

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

    How would I get what the user types in TextField over to another view. I can't seem to get use the property its held in to do so? Thank you.

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

    Woow such great Tutorials. I already have done the Cardgame App 😊
    How do you proceed, if for whatever reason you want to create twice instances of Profile and use it with the property wrapper "EnvironmentObejct"?
    Would you have to create a constant for each instance (ex.: myProf1 = Profile () ) and then call the two references with the modifier EvnironmentObject?
    English is not my native language, hope you understood it anyway ^^

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

      Hello, kindly post your question in our CodeCrew forum so that our technical support staff can assist you. Go here: codecrew.codewithchris.com/ Thank you! -Arthur

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

    Nice explanation Arthur!
    Is it possible to change an observable object in another class? I have my logic going on in a separate class and would like do make some changes in states viewable in the view file?

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

      Hello, kindly post your question in our CodeCrew forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur

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

    I saw the video, great explanation, but I so simple, I'd like to know what happens if you need more than 1 enviormentObject. For instance, we have a model Company and model User that models are used in many parts of the app what is the correct way to pass 2 enviormentsObject and reuse that 2 models executed one time the user init session.

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

      We suggest posting on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com - Pat

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

    Hi Chris! I like your tutorials and I learnt a lot. But there is one more thing. I would like to integrate a print function for the AirPrint (SwiftUI). But unfortunately, I couldn't find any tutorials for this topic. Is it possible to integrate a printing function for SwiftUI at all? If yes, where could I find these information/tutorial? Thanks a lot. Peter🙂

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

      Hello, kindly post this question in our tech support forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. Thank you! -Arthur

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

    good

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

    A small typo in the slide on ~17:12. It should be "ObservedObject" instead of "ObservableObject" (although you said it correctly :D)

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

      Oh, thanks for catching that! :) -Arthur

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

    What if I want to use 2 EnvironmentObjects of the same type? How do I specify the exact name of the variable in the root View?

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

      We suggest posting on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com - Pat

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

    How do you reformat the code ?

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

      Hi! We suggest posting your question on our CodeCrew forum. Our tech support staff will help you out. Just visit this link codecrew.codewithchris.com - Pat

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

    How can download the code with Chris phone or laptop and koputer

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

      Can you clarify your question? -Arthur

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

    What is a “View”

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

      Hello, thanks for your kind words! Best if you post your question in our CodeCrew forum so that our tech support staff can guide you. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur

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

    You do a perfect job. But there is no way I can learn all from you. Need some more structure. Especially missing coredata.

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

      You can get started here codewithchris.com/start :) - Pat

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

    At 17:17 you say @ObservedObject but the slide shows @ObservableObject. But man am I loving these breakdowns. Watching it right before an exam😅

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

      🙈🤫 - just to make sure you were paying attention!
      @AdrienVillez