Component - @StateObject for observable objects
This SwiftUI component uses @StateObject to create and own an observable object. It watches for changes in the object and updates the UI automatically when data changes.
This SwiftUI component uses @StateObject to create and own an observable object. It watches for changes in the object and updates the UI automatically when data changes.
ContentView
└── VStack
├── Text
└── Button