Dependency Injection in SwiftUI
This post shows two ways of achieving dependency injection in SwiftUI: using @EnvironmentObject or a View Model Factory.
Tags: swift, swiftui