@EnvironmentObject Explained in SwiftUI | iOS 17

  Переглядів 3,895

AppStuff

AppStuff

6 місяців тому

Confused about how @EnvironmentObject works? We've got you covered!
🔥Become a member for UNLIMITED ACCESS
www.stephancodes.com/plans-pr...
🔥 iOS App Templates:
www.stephancodes.com/shop
🔴@State vs @Binding video:
• NEVER Confuse @State v...
🔴@StateObject vs @ObservedObject video:
• DON'T Make this MISTAK...
🔴 FREE Threads Clone SwiftUI Course:
appstuff.teachable.com/p/swif...
🔴 FREE Instagram Course with SwiftUI:
• 🔴 Build Instagram With...
🔴Navigation Stacks:
• This NEW SwiftUI Featu...
🖥️ ONLINE COURSES & APPS
👉 Pro Courses:
www.stephancodes.com/videos
👉 FREE UBER SwiftUI Course
• 🔴 Let's Build UBER wit...
👉 FREE Twitter SwiftUI Course
• 🔴 Let's Build Twitter ...
📺 Social Media:
Instagram - @stephan.dowless
Instagram - @appstuffllc

КОМЕНТАРІ: 16
@_Astr_
@_Astr_ 6 місяців тому
Good stuff! 👍 Can you make a video about @Observable / @Bindable and how can we use @Environment in iOS 17?
@sergiocaplan1168
@sergiocaplan1168 Місяць тому
Clear and concise! Thank you
@elduverx
@elduverx 6 місяців тому
"uno mas tiempo " i love that jajajaj
@user-pt2tz2hx9b
@user-pt2tz2hx9b 6 місяців тому
Hello, thank you for the content you create. Could you make a video about application modularity? I would love to learn how to break down applications into modules, and I'd prefer to learn it from you.
@filipp7236
@filipp7236 Місяць тому
Thanks for the video. What if I have two View Models? One for using timers and other for playing sound.
@rahmonali7
@rahmonali7 6 місяців тому
As always best explanation. Actually, I am a diamond member on your website and I followed your networking masterclass which the course is awesome. There you didn’t use Environment object I wonder if you could explain us how to use environment object in that project because there you used protocol and service. It is kind of complicated for me to implement that project with Environment. And I would like to ask you that can we use multiple environment for multiple view model? Could you please explain that for us?
@oscarmartinez-pc1nj
@oscarmartinez-pc1nj 2 місяці тому
where do you get your coffee from?
@appstuff5778
@appstuff5778 2 місяці тому
Starbucks
@phat80
@phat80 Місяць тому
Sorry, in my country $40 is 1/4 of the monthly income 😂 Not a coffee budget.
@BradCaldwellAuburn
@BradCaldwellAuburn 5 місяців тому
Mine just says cannot find 'viewModel' in scope. Why is this environmentObject thing so freaking buggy. I have wasted hours trying to find an answer to this one stupid problem. It isn't seeing its own environmentObject that I'm supposed to use. Fix: I had to pass the private thing as a object down to the subsections of code below the main code. Doesn't seem like much of a fix, cause if it is an "environment" variable, you'd think it would be available in the background environment, not so picky that it can't even see itself in the same exact Swift file. Jeez.
@kennethcoker4663
@kennethcoker4663 5 місяців тому
I build this and it runs fine in the simulator but crashes ever time on the canvas, all of my previous apps without using EnviromentObject run fine on the canvas. I have spent hours trying to find a type-o and can't figure it out. any suggestions?
@kennethcoker4663
@kennethcoker4663 5 місяців тому
Fixed as well, on mine I had to add the enviromentObject modifier to the previews of my views
@xtu373
@xtu373 6 місяців тому
When UIKit videos are coming? Like building apps clone with UIKit instead of SwiftUI
@Hgvpuncher
@Hgvpuncher 2 місяці тому
UIKit is sinking so what's the point of making clones with an old framework?
@xtu373
@xtu373 2 місяці тому
@@Hgvpuncher Why not? SwiftUI is just sugar. Most of the companies/start-up still uses UIKIT instead of SwiftUI.
@WeLoveYouFREEZbY
@WeLoveYouFREEZbY 12 днів тому
but 1 viewModel for 1 view ..
iOS 17 Data Flow with Observation Framework
28:41
Stewart Lynch
Переглядів 7 тис.
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Переглядів 64 млн
когда одна дома // EVA mash
00:51
EVA mash
Переглядів 9 млн
What's New in SwiftUI State Management
29:48
azamsharp
Переглядів 6 тис.
Login using Firebase Google Sign In with SwiftUI
21:37
Wes Chua
Переглядів 4,5 тис.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Переглядів 677 тис.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
🔴 6 GAME CHANGING Xcode Tips, Tricks & Shortcuts
6:53
AppStuff
Переглядів 1,7 тис.
New and Deprecated APIs in iOS 17
22:08
Stewart Lynch
Переглядів 5 тис.
Анімація зарядки на iPhone 📱 #icoola #apple #iphone #tradein #купитиайфон #відновлений #айкула
0:37
ICOOLA: Фабрика відновлених телефонів
Переглядів 90 тис.
поворотний механізм для антени
0:17
Lazeruk
Переглядів 13 тис.