SwiftUI Previews: Fix 'Cannot convert value of type SomeType to expected argument type EnvironmentObject<SomeType>' errors
Using @EnvironmentObject is a great way to share data between your views. Previously, I'd been using...
Tags: swift, swiftui