@EnvironmentObject Explained in SwiftUI | iOS 17

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

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 тис.
What's New in SwiftUI State Management
29:48
azamsharp
Переглядів 6 тис.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 1,6 млн
Дурнєв дивиться сторіс ZОМБІ #47
53:48
Aleksey Durnev
Переглядів 524 тис.
Ах Ты Ж Су... Не Провоцируй Меня! @NutshellAnimations
00:15
Глеб Рандалайнен
Переглядів 1,3 млн
Surprise Drop System for Your Discord Economy Bot
7:19
Ethical Programmer
Переглядів 31
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Переглядів 677 тис.
Build a Flutter App with Gemini AI
4:03
Open Source
Переглядів 10 тис.
🔴 6 GAME CHANGING Xcode Tips, Tricks & Shortcuts
6:53
AppStuff
Переглядів 1,7 тис.
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Переглядів 3,6 млн
Broken Flex Repair #technology #mobilerepair
0:50
ideal institute aligarh
Переглядів 1,2 млн
Start from 0 at any point on the T1 Digital Tape Measure
0:14
REEKON Tools
Переглядів 32 млн