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

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

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
@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
@nesalexy
@nesalexy 10 днів тому
thanks for the video, 5:34 StateObject vs ObservedObject
@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
@payambassi8784
@payambassi8784 8 місяців тому
Great example thank you for the video
@davidcbeaudoin
@davidcbeaudoin Рік тому
Great information here. Thanks for sharing it.
@oldschool84
@oldschool84 3 місяці тому
Well explained!
@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
@syunwei
@syunwei 3 місяці тому
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!!
@user-mr2zc2pv8d
@user-mr2zc2pv8d 7 місяців тому
Best explanation !!!
@daniel.iosdev
@daniel.iosdev 11 місяців тому
Thank you!
@davidgrammatico606
@davidgrammatico606 9 місяців тому
Nice video, thanks a lot !
@user-ji2us5jo3n
@user-ji2us5jo3n 9 днів тому
Top explanation ✔
@rahuljamba5846
@rahuljamba5846 Рік тому
Got it very clearly thanks for sharing !!!!
@eggsbenedict5989
@eggsbenedict5989 Рік тому
straightforward and easy to understand, thank you so much !
@chezchezchezchez
@chezchezchezchez 8 місяців тому
No, it’s not, it’s still confusing AF
@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!
@syunwei
@syunwei 3 місяці тому
Thanks
@lumi6394
@lumi6394 Рік тому
Nice !! Please make more videos like this.
@MAbbas-ih7sz
@MAbbas-ih7sz Рік тому
Easiest tutorial for understanding of StateObject and ObservedObject thanks for that ❤❤❤❤
@bennymushiya9925
@bennymushiya9925 11 місяців тому
Amazing content
@LukePighetti
@LukePighetti Рік тому
In a previous video you alluded to environment objects. Can you cover those for us? Grateful for your content.
@bahadrseyfi9354
@bahadrseyfi9354 Рік тому
Your explanation is very good, I look forward to the continuation of the sharing 💪
@appstuff5778
@appstuff5778 Рік тому
Thanks a lot man!
@ashleydube3710
@ashleydube3710 Рік тому
New subscriber here, please keep up the videos.
@felixseehof
@felixseehof Рік тому
Großartig
@Stricken174
@Stricken174 2 місяці тому
This will work if your child view will not be reused, because it have tight coupling with concrete viewModel type.
@ChrisLaupama
@ChrisLaupama 6 місяців тому
Can you give an update using @Observable? Trying to understand what to learn
@mihailpopa3056
@mihailpopa3056 11 днів тому
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.
@LebenWerden
@LebenWerden 4 місяці тому
Min 5:05 Which View is updated? body or the StateVsObserved?
@chetandhowlaghar5166
@chetandhowlaghar5166 2 місяці тому
Does pasing this to the childview as an environmentobject also be the same as observing the stateObject ??
@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 8 місяців тому
I am confused @15:00 he mentioned retain cycle. How struct can have retain cycle???🤔🤔🤔
@appstuff5778
@appstuff5778 8 місяців тому
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?
How to use Optionals in Swift | Swift Basics #6
53:57
Swiftful Thinking
Переглядів 11 тис.
Кровосток - разговор с легендами / вДудь
2:12:57
Китайка и Хеликоптер😂😆
00:18
KITAYKA
Переглядів 1,2 млн
SMART GADGET FOR COOL PARENTS ☔️
00:30
123 GO! HOUSE
Переглядів 18 млн
Build a SwiftUI chat app with Firestore from scratch
48:47
DesignCode
Переглядів 50 тис.
@EnvironmentObject Explained in SwiftUI | iOS 17
21:16
AppStuff
Переглядів 3,6 тис.
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Переглядів 18 тис.
This NEW SwiftUI Feature Is AMAZING | Navigation Stacks
20:05
AppStuff
Переглядів 27 тис.
Add a ViewModel with @EnvironmentObject in SwiftUI | Todo List #3
40:53
Swiftful Thinking
Переглядів 45 тис.
How to use @ObservableObject and @StateObject in SwiftUI | Bootcamp #50
35:12
Swiftful Thinking
Переглядів 54 тис.
How to use @EnvironmentObject in SwiftUI | Bootcamp #51
26:48
Swiftful Thinking
Переглядів 34 тис.
Зачем нужна эта кнопка?
0:25
Construct PC
Переглядів 426 тис.
The Worst Product I've Ever Reviewed... For Now
25:04
Marques Brownlee
Переглядів 7 млн