Skip to content

Releases: roblabs/NationalWeatherService-Swift

Set the UnitTemperature to get either US or SI (metric) results from the API

11 Apr 22:20
Compare
Choose a tag to compare

Example usage with this change:

SI (metric) units

"A chance of rain showers. Mostly cloudy, with a high near 10. North northwest wind 17 to 24 km/h, with gusts as high as 33 km/h. Chance of precipitation is 40%. New rainfall amounts less than 0.5 cm possible."

US customary

"A chance of rain showers. Mostly cloudy, with a high near 50. North northwest wind 10 to 15 mph, with gusts as high as 21 mph. Chance of precipitation is 40%. New rainfall amounts less than a tenth of an inch possible."