I was able to use the following code as a workaround 😬:
Mirror(reflecting: weather).descendant("daytimeForecast", "some", "cloudCover") as? Double ?? 0.0
Post
Replies
Boosts
Views
Activity
Still no solution. I can access the property if I break into the debugger
(lldb) v weatherDataForDate.daytimeForecast.cloudCover
(Double) weatherDataForDate.daytimeForecast.cloudCover = 0.96999999999999997
But the respective code will not compile 😭
print(weatherDataForDate.daytimeForecast.cloudCover)
(Error: Value of type 'DayWeather' has no member 'daytimeForecast')