Data Flow in a SwiftUI App

  Рет қаралды 55,385

CodeWithChris

CodeWithChris

Күн бұрын

Пікірлер: 149
@F34R303
@F34R303 8 ай бұрын
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!
@joeybodnar
@joeybodnar 3 жыл бұрын
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 3 жыл бұрын
Aaaaah, your comment made our day. Thank you for learning with us! Your support means a lot! :) -Arthur
@thaerzori2684
@thaerzori2684 2 ай бұрын
Thank you for this outstanding video. I struggled for couple of weeks to understand the difference between @State, @Binding and how data flow between views. You explained them masterfully. Keep up the good work.
@言って-x1e
@言って-x1e 2 жыл бұрын
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
@cherriesinoct
@cherriesinoct 2 ай бұрын
I just started working on some iOS projects and this one is a really cool video! Such a simple and clear explanation - compact and easy to understand. Thanks a lot!
@ammarmujib
@ammarmujib 2 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You're welcome! - Pat
@shrutisharma3341
@shrutisharma3341 3 жыл бұрын
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 3 жыл бұрын
Ahhhh, thank you so so much! Makes all the hard work so worth it. :) -Arthur
@jamesclavel25
@jamesclavel25 Жыл бұрын
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.
@CodeWithChris
@CodeWithChris Жыл бұрын
Thank you for the kind words! - Pat
@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 2 жыл бұрын
Thank you for the kind words! We do our best to explain as simply as possible. @AdrienVillez
@susantasahoo4702
@susantasahoo4702 3 жыл бұрын
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 3 жыл бұрын
Glad to hear this, Susanta! Thanks for learning with us! -Arthur
@mario_luis_dev
@mario_luis_dev 10 ай бұрын
masterful explanation Chris! 👏
@Stefan-xm9qb
@Stefan-xm9qb 6 ай бұрын
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 6 ай бұрын
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.
@andriybelizky9318
@andriybelizky9318 Жыл бұрын
Great video - I love it how it shows different scenarios and various tools used to solve issues
@nindz9272
@nindz9272 3 жыл бұрын
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 3 жыл бұрын
Glad you found us. We're so excited for you! :) -Arthur
@weilingwang8331
@weilingwang8331 Жыл бұрын
Thanks!
@CodeWithChris
@CodeWithChris Жыл бұрын
No problem! - Pat
@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
@himanshukesharwani5333
@himanshukesharwani5333 2 жыл бұрын
Sir, this really helps me to understand concepts. Thank you for such a good video :)
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You're welcome! :) - Pat
@SebastienBarrau
@SebastienBarrau Жыл бұрын
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
@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
@CodeWithChris
@CodeWithChris Жыл бұрын
Thanks for sharing these! - Pat
@KimbrellBrad
@KimbrellBrad 2 жыл бұрын
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
@santoshlohar152
@santoshlohar152 Жыл бұрын
Dude you explained in easy way..thanks.
@armaanr1656
@armaanr1656 3 жыл бұрын
This cleared up all of my confusions. Best tutorial on youtube. Keep it up Chris🙂!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
This comment made our day. Thanks for learning with us! -Arthur
@PierluigiLuceri
@PierluigiLuceri Жыл бұрын
thanks a lot, this is the best video about data flow in swiftui, great job
@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
@alvarovs89
@alvarovs89 3 жыл бұрын
Amazing, very well explained! thank you Chris!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You're more than welcome, Alvaro! :) -Arthur
@huyle2838
@huyle2838 2 жыл бұрын
This is an awesome video. I feel so lucky to have access to this youtube channel.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Indeed! Thanks for learning with us! -Arthur
@arkemal
@arkemal 2 жыл бұрын
Man, your explanations are excellent. Thank you for this!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You're welcome!!! - Pat
@jbare777
@jbare777 3 жыл бұрын
Thank you for this video, it was excellent. Liked and favorited!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Wow, you're just the best. We sincerely appreciate your support! :) -Arthur
@balazskepli9471
@balazskepli9471 Жыл бұрын
Very good summary on data flow! Thank you!
@CodeWithChris
@CodeWithChris Жыл бұрын
Glad it was helpful! Thanks for learning with us! - Iñaki
@LTNKidd
@LTNKidd 2 жыл бұрын
Very clear walk through, thanks Chris!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Appreciate it, thank you! -Arthur
@3VAU
@3VAU Жыл бұрын
Very nice and down to earth ;) thank you!
@DJFabisLP
@DJFabisLP 3 жыл бұрын
Wow, pretty informative and interesting! Thank you
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Anytime! Thanks for learning with us! :) -Arthur
@akshaykumar-qj2kx
@akshaykumar-qj2kx 2 жыл бұрын
You are awesome teacher Chris :) Thank you for the valuable information.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
That means a lot! :) Thank you so much! - Pat
@janstepnicka6553
@janstepnicka6553 Жыл бұрын
Hello, thanks for your work. At 17:17 shouldn't the first line be @ObservedObject var myObj = MyObject() ?
@40_pravalgautam15
@40_pravalgautam15 Жыл бұрын
You made it easy to understand
@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.
@TheEmperorXavier
@TheEmperorXavier Жыл бұрын
Your content is amazing
@semilife
@semilife 3 жыл бұрын
Thanks so much Chris as ever clear. Understand this clearly now.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Awesome, happy to know that we helped you! :) -Arthur
@sheetalshinde17
@sheetalshinde17 Жыл бұрын
Thanks!!...Very well explained with example..
@CodeWithChris
@CodeWithChris Жыл бұрын
Glad you liked it - Pat
@yshlnhn
@yshlnhn 2 жыл бұрын
Thanks a lot that makes me understand well about data flow
@CodeWithChris
@CodeWithChris 2 жыл бұрын
So glad it helped! - Pat
@ninumedia
@ninumedia 3 жыл бұрын
Fantastic and clear explanation, thank you so much!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
This comment made our day. Thank you so much, Nirdhar! :) -Arthur
@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
@thompsonms9941
@thompsonms9941 Жыл бұрын
Good explanation bro ! Thanks !
@CodeWithChris
@CodeWithChris Жыл бұрын
Glad it was helpful! Thanks for watching! - Iñaki
@williamwildsmith5162
@williamwildsmith5162 2 жыл бұрын
Great job Chris!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thanks for your kind words, William! -Arthur
@DaveJacobseniOS
@DaveJacobseniOS 3 жыл бұрын
Such quality explanations. Thank you as always!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Great to know this. Thank you for the kind words! -Arthur
@sathriyansam727
@sathriyansam727 3 жыл бұрын
Wow super you just made my Sunday productive......👍🏻👍🏻🙂
@CodeWithChris
@CodeWithChris 3 жыл бұрын
We're glad that you found us, Sathriyan! :) -Arthur
@naimurhasanrwd
@naimurhasanrwd 3 ай бұрын
Well explained.
@ClintonSiegel
@ClintonSiegel 2 жыл бұрын
Very helpful! Thank you!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thanks for watching! - Pat
@ThanhNguyen-jk5tn
@ThanhNguyen-jk5tn 3 жыл бұрын
It's really helpful. Thanks!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Glad to know, thanks for learning with us! -Arthur
@dangerwang
@dangerwang 3 жыл бұрын
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 3 жыл бұрын
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
@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
@nagarajvrao7249
@nagarajvrao7249 3 жыл бұрын
Plz include StateObject... In the follow up video
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks for watching! :) -Arthur
@shroomadelics
@shroomadelics 3 жыл бұрын
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 3 жыл бұрын
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
@gpinto52
@gpinto52 Жыл бұрын
excellent review
@CodeWithChris
@CodeWithChris Жыл бұрын
Thank you so much! - Pat
@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.
@hugge0948
@hugge0948 2 жыл бұрын
Such a good tutorial
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thank you so much! Cheers! - Pat
@avalon0908
@avalon0908 Жыл бұрын
Wow thanks for this video now I understand...
@CodeWithChris
@CodeWithChris Жыл бұрын
You're welcome! - Pat
@nijeecooper621
@nijeecooper621 3 жыл бұрын
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 3 жыл бұрын
Appreciate your support. Kindly post your idea here: app.productstash.io/codewithchris#/ideas Thank you! -Arthur
@AveryWeathers-o7f
@AveryWeathers-o7f Жыл бұрын
I would KILL for you to teach Java, you're leagues better than my college professor.
@CodeWithChris
@CodeWithChris Жыл бұрын
Thanks for watching! I'll be sure to let Chris know :) - Iñaki
@nindz9272
@nindz9272 3 жыл бұрын
A small typo in the slide on ~17:12. It should be "ObservedObject" instead of "ObservableObject" (although you said it correctly :D)
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Oh, thanks for catching that! :) -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
@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
@srome0711
@srome0711 2 жыл бұрын
Great video
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Glad you enjoyed it! - 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
@salmahassan8689
@salmahassan8689 3 жыл бұрын
Great Video .. Thanks :)
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You are so welcome, subscribe for more! :) -Arthur
@eterr9000
@eterr9000 Жыл бұрын
still great two years later
@CodeWithChris
@CodeWithChris Жыл бұрын
Glad it was helpful! Thanks for learning with us! - Iñaki
@hakeemdeggs9117
@hakeemdeggs9117 Жыл бұрын
Amazing!!!!!!
@kal5211
@kal5211 Жыл бұрын
My man 👍
@suchcodemuchwow
@suchcodemuchwow 2 жыл бұрын
How do you reformat the code ?
@CodeWithChris
@CodeWithChris 2 жыл бұрын
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
@Petermafaiti
@Petermafaiti Жыл бұрын
You're the the best
@rambabuguttula1500
@rambabuguttula1500 3 жыл бұрын
How can download the code with Chris phone or laptop and koputer
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Can you clarify your question? -Arthur
@volimpia
@volimpia 3 жыл бұрын
Thank you
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Anytime. Thanks for being here! :) -Arthur
@SomwangIssaramala
@SomwangIssaramala 2 жыл бұрын
Thank
@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 2 жыл бұрын
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 2 жыл бұрын
You can get started here codewithchris.com/start :) - Pat
@alinamarrygeorge2630
@alinamarrygeorge2630 3 жыл бұрын
good
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks, Alina! :) -Arthur
@sabalkatuwal8162
@sabalkatuwal8162 2 жыл бұрын
👍
@AlynneTheFlorifant
@AlynneTheFlorifant Жыл бұрын
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 Жыл бұрын
🙈🤫 - just to make sure you were paying attention! @AdrienVillez
@robinwohner3229
@robinwohner3229 4 ай бұрын
Thanks for the lesson.
@uocnguyen5431
@uocnguyen5431 Жыл бұрын
Great Tutorial, thanks for this!
@CodeWithChris
@CodeWithChris Жыл бұрын
You're welcome! - Pat
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 54 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Play: The Secret Weapon for iOS Devs & Designers
10:12
Sean Allen
Рет қаралды 39 М.
How To Build Responsive User Interfaces with SwiftUI
18:38
CodeWithChris
Рет қаралды 28 М.
Intro to SwiftUI Data Flow
22:57
Swift Arcade
Рет қаралды 7 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 613 М.
iOS 17 Data Flow with Observation Framework
28:41
Stewart Lynch
Рет қаралды 9 М.
5 Steps to Better SwiftUI Views
31:19
Paul Hudson
Рет қаралды 56 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН