@EnvironmentObject Explained in SwiftUI | iOS 17

  Рет қаралды 6,506

AppStuff

AppStuff

Күн бұрын

Пікірлер: 19
@_Astr_
@_Astr_ Жыл бұрын
Good stuff! 👍 Can you make a video about @Observable / @Bindable and how can we use @Environment in iOS 17?
@stuffeh
@stuffeh 2 ай бұрын
Exactly. EnvironmentObject is from iOS 13.
@Dragonboh1
@Dragonboh1 2 ай бұрын
keep doing what you doing
@АлексейБалухтин-ж4п
@АлексейБалухтин-ж4п Жыл бұрын
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 7 ай бұрын
Thanks for the video. What if I have two View Models? One for using timers and other for playing sound.
@elduverx
@elduverx Жыл бұрын
"uno mas tiempo " i love that jajajaj
@sergiocaplan1168
@sergiocaplan1168 7 ай бұрын
Clear and concise! Thank you
@faiazrahman1470
@faiazrahman1470 5 ай бұрын
Great watch!
@rahmonali7
@rahmonali7 Жыл бұрын
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 8 ай бұрын
where do you get your coffee from?
@appstuff5778
@appstuff5778 8 ай бұрын
Starbucks
@BradCaldwellAuburn
@BradCaldwellAuburn 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
Fixed as well, on mine I had to add the enviromentObject modifier to the previews of my views
@WeLoveYouFREEZbY
@WeLoveYouFREEZbY 6 ай бұрын
but 1 viewModel for 1 view ..
@xtu373
@xtu373 Жыл бұрын
When UIKit videos are coming? Like building apps clone with UIKit instead of SwiftUI
@Spacer-l3j
@Spacer-l3j 8 ай бұрын
UIKit is sinking so what's the point of making clones with an old framework?
@xtu373
@xtu373 8 ай бұрын
@@Spacer-l3j Why not? SwiftUI is just sugar. Most of the companies/start-up still uses UIKIT instead of SwiftUI.
@phat80
@phat80 7 ай бұрын
Sorry, in my country $40 is 1/4 of the monthly income 😂 Not a coffee budget.
PRANK😂 rate Mark’s kick 1-10 🤕
00:14
Diana Belitskay
Рет қаралды 11 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 38 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 96 МЛН
This NEW SwiftUI Feature Is AMAZING | Navigation Stacks
20:05
Binding vs. Bindable in SwiftUI on iOS 17
13:12
donny wals
Рет қаралды 11 М.
What's New in SwiftUI State Management
29:48
azamsharp
Рет қаралды 7 М.
Data Flow in a SwiftUI App
33:15
CodeWithChris
Рет қаралды 54 М.
🔴 Sheets in SwiftUI | Everything you need to know
22:05
AppStuff
Рет қаралды 6 М.
🔴 Building A Professional Side Menu with SwiftUI
34:20
AppStuff
Рет қаралды 12 М.