SwiftUI MVVM State management with enum
I’m working on building a simple page with a scroll view. The page includes a loading text with a small circular progress indicator, followed by a list of items. I want to manage the state of the view using an enum, which is a @Published variable in my viewModel.