Post

Replies

Boosts

Views

Activity

Comment on WeatherKit airQuality mystery
Ok so that helped me get it to work. You can get the airQuality number with Mirror(reflecting: weather).descendant("airQuality", "some", "index"). But my guess is that this only works because the playgrounds runner for macOS runs inside a platform binary and WeatherKit checks for this and only populates it in that case. Maybe something they will expose in the future? It's clear that they dogfooded this API for Weather and are using it internally but perhaps it's not quite ready for us yet.
Jun ’22