When using
@AppStorage("navigationWaypointID") var navigationWaypointID: UUID?
I get a No exact matches in call to initializer.
I can work around by using a String and a custom property that uses the string as the source of truth but that isn't ideal. E.g.,
@AppStorage("selectedWaypointID") var selectedWaypointIDString: String?
var selectedWaypointID: UUID? {
get { UUID(uuidString: selectedWaypointIDString ?? "") }
set { selectedWaypointIDString = newValue?.uuidString }
}