Should have added - the error I currently get with the code show above is "Cannot convert value of type 'Flight.Type' to expected argument type 'Flight'" on the Navigation link of the FlightView.
If trying to use the EnvironmentObject I tend to get error "Trailing closure passed to parameter of type 'HorizontalAlignment' that does not accept a closure"
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: