DON'T Make this MISTAKE || StateObject vs ObservedObject | What's the Difference?

  Переглядів 8,481

AppStuff

AppStuff

День тому

What's the difference between @StateObject vs @ObservedObject? When do you use one vs the other? Find out in this video!
🔴@State vs @Binding video:
• NEVER Confuse @State v...
🔴 Become a member to access Exclusive Content :
www.stephancodes.com/blank-page
🖥️ ONLINE COURSES & APPS
👉 Pro Courses:
www.stephancodes.com/videos
👉 FREE UBER SwiftUI Course
• 🔴 Let's Build UBER wit...
👉 iOS App Templates:
www.stephancodes.com/shop
👉 FREE Twitter SwiftUI Course
• 🔴 Let's Build Twitter ...
Social Media:
Instagram - @stephan.dowless

КОМЕНТАРІ: 43
@nesalexy
@nesalexy 22 дні тому
thanks for the video, 5:34 StateObject vs ObservedObject
@austincollins3888
@austincollins3888 Рік тому
I need a full iOS bootcamp! I’ve watched a ton of people on YT and I’m also well into Angela Yu’s bootcamp on Udemy but for whatever reason I learn so much better from your stuff! Love the videos man, thank you.
@appstuff5778
@appstuff5778 Рік тому
Angela Yu is poopy. Her content is very basic. I am in the process of making my bootcamp now. It is going to be EPIC
@austincollins3888
@austincollins3888 Рік тому
@@appstuff5778 so the entire scope of her bootcamp was very appealing and that coupled with a ton of positive reviews is what made me go that route but yeah for sure the way she covers each topic is very basic and boring. I’ve learned some from her don’t get me wrong but just running through a couple of your videos and building the Twitter clone has taught me so much more and in a way that I can retain the information. Can’t wait for the bootcamp!
@raychen4458
@raychen4458 Рік тому
@@appstuff5778 Please inform us when you launch your bootcamp. I would immediately sign up xdd
@peepal_studios
@peepal_studios 10 місяців тому
My hunting is over now for understanding the stateObject and ObservedObject. Thanks for the clear explanation.
@Stromeo_
@Stromeo_ Місяць тому
Such a great explanation! Thank you
@syunwei
@syunwei 4 місяці тому
Thank you very much for the video!!! It explains the differences very well and saved me lots of time on reading the articles that aren't as clear as this video! Thanks!!
@rank1macro
@rank1macro Рік тому
Damn you are starting off 2023 really well, so many new videos to watch. Thank you, really great mentor and teacher! Appreciate new videos so much, especially the leet code one! Would love to see you doing more of these as well, because that is pretty hard for me and I like your perspective on this.
@appstuff5778
@appstuff5778 Рік тому
I am making a full Leetcode course! It will cover solutions to over 300 LeetCode problems. I will post some of them on YT
@payambassi8784
@payambassi8784 9 місяців тому
Great example thank you for the video
@davidcbeaudoin
@davidcbeaudoin Рік тому
Great information here. Thanks for sharing it.
@eggsbenedict5989
@eggsbenedict5989 Рік тому
straightforward and easy to understand, thank you so much !
@chezchezchezchez
@chezchezchezchez 8 місяців тому
No, it’s not, it’s still confusing AF
@user-mr2zc2pv8d
@user-mr2zc2pv8d 7 місяців тому
Best explanation !!!
@oldschool84
@oldschool84 3 місяці тому
Well explained!
@MAbbas-ih7sz
@MAbbas-ih7sz Рік тому
Easiest tutorial for understanding of StateObject and ObservedObject thanks for that ❤❤❤❤
@davidgrammatico606
@davidgrammatico606 10 місяців тому
Nice video, thanks a lot !
@daniel.iosdev
@daniel.iosdev 11 місяців тому
Thank you!
@user-ji2us5jo3n
@user-ji2us5jo3n 21 день тому
Top explanation ✔
@rahuljamba5846
@rahuljamba5846 Рік тому
Got it very clearly thanks for sharing !!!!
@lumi6394
@lumi6394 Рік тому
Nice !! Please make more videos like this.
@jacobjohnsonbroche
@jacobjohnsonbroche Рік тому
hey Stephan, this was the video I was looking for thanks so much, quick question do you know possibly when you'll make an update to the photosui, and photo picker? I bought your course on udemey and wanted to know if you'll post an update there or here on UKposts. 🙏
@adeby
@adeby Рік тому
Awesome videos!
@Stricken174
@Stricken174 2 місяці тому
This will work if your child view will not be reused, because it have tight coupling with concrete viewModel type.
@LukePighetti
@LukePighetti Рік тому
In a previous video you alluded to environment objects. Can you cover those for us? Grateful for your content.
@bennymushiya9925
@bennymushiya9925 Рік тому
Amazing content
@bahadrseyfi9354
@bahadrseyfi9354 Рік тому
Your explanation is very good, I look forward to the continuation of the sharing 💪
@appstuff5778
@appstuff5778 Рік тому
Thanks a lot man!
@syunwei
@syunwei 4 місяці тому
Thanks
@ashleydube3710
@ashleydube3710 Рік тому
New subscriber here, please keep up the videos.
@felixseehof
@felixseehof Рік тому
Großartig
@mihailpopa3056
@mihailpopa3056 23 дні тому
What if the ObservedObject is injected into the child through the constructor, but the object is only initialized in the constructor so the child is the only owner of the object.
@ChrisLaupama
@ChrisLaupama 6 місяців тому
Can you give an update using @Observable? Trying to understand what to learn
@chetandhowlaghar5166
@chetandhowlaghar5166 2 місяці тому
Does pasing this to the childview as an environmentobject also be the same as observing the stateObject ??
@LebenWerden
@LebenWerden 5 місяців тому
Min 5:05 Which View is updated? body or the StateVsObserved?
@gmostafaali
@gmostafaali Рік тому
Very well explanations, thank you. Would you make a course AirBnb clone?
@appstuff5778
@appstuff5778 Рік тому
I will add that to my todo list :)
@ShredzZ
@ShredzZ Рік тому
Hi, do you think iOS dev is viable option if I want to be full time freelancer?
@appstuff5778
@appstuff5778 Рік тому
Absolutely. The demand for app developers, as well as mobile apps, is very high
@abdulrb786
@abdulrb786 9 місяців тому
I am confused @15:00 he mentioned retain cycle. How struct can have retain cycle???🤔🤔🤔
@appstuff5778
@appstuff5778 9 місяців тому
Structs can absolutely have retain cycles. When closures are implemented, they can be treated as reference types, which can result in retain cycles
@dotnetdevni
@dotnetdevni Рік тому
Apple could dominate the open source cross platform community if they wanted to swift is a beutifull language and would beat the pants of anything google and microsoft have come up with so far for cross platform do u ever think they will go cross platform?
船长被天使剪成光头了?#天使 #小丑 #超人不会飞
00:28
超人不会飞
Переглядів 27 млн
ДРУГА РЕПЕТИЦІЯ alyona alyona та Jerry Heil на сцені Євробачення-2024
00:34
Євробачення Україна | Eurovision Ukraine official
Переглядів 264 тис.
How to code in Swift | Swift Basics #1
18:25
Swiftful Thinking
Переглядів 28 тис.
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Переглядів 22 тис.
Why didn't the Angular team just use RxJS instead of Signals?
8:15
Joshua Morony
Переглядів 82 тис.
Should You Use Compose State or StateFlow in Your ViewModels?
13:59
Philipp Lackner
Переглядів 66 тис.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Переглядів 677 тис.
Swift Closures Explained
14:23
Sean Allen
Переглядів 56 тис.
Redis Crash Course
27:31
Web Dev Simplified
Переглядів 584 тис.
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 1,7 млн
Компьютерная мышь за 50 рублей
0:28
dizzi
Переглядів 2,1 млн
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Переглядів 6 млн
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 800 тис.