If you have to convert numbers like Temperature easily in Swift check out https://www.andyibanez.com/posts/using-nsmeasurement-for-working-with-dimensions-and-units/. I’ve used it in the Weather Driver Application to handle Celsius to Fahrenheit.
A developer's rambling
If you have to convert numbers like Temperature easily in Swift check out https://www.andyibanez.com/posts/using-nsmeasurement-for-working-with-dimensions-and-units/. I’ve used it in the Weather Driver Application to handle Celsius to Fahrenheit.