mvvm swiftui layered architecture

SwiftUI, SwiftUI Architecture

What Is a View Model in SwiftUI MVVM, Really

Learn how to apply MVVM in SwiftUI. Find out what a view model actually is, what it’s responsible for, and how it fits between your views and your data. A clear, practical introduction with real SwiftUI code examples to help you keep your views simple and your app state under control.

How @State property wrapper works in SwiftUI

SwiftUI

What is @State actually doing in SwiftUI

The SwiftUI property wrapper @State doesn’t store values in your view struct. It creates a node in SwiftUI’s AttributeGraph, and if you don’t understand that, you’ll write bugs you can’t explain. Here’s what’s actually happening and how to fix the most common mistake.

Subscribe to My Newsletter

Want the latest iOS development trends and insights delivered to your inbox? Subscribe to our newsletter now!

Newsletter Form