I totally missed the first “Challenge Day” (day 19) where you build an app from scratch… I thought it was a link to the project 1 challenges 😬

I decided to do a temperature converter implementing the Measurement instance.

The head scratcher was initially returning a type Measurement<UnitTemperature> from my struct due to complaints from Swift, typecasting got me nowhere also. The trick ended up being to switch the return type back to Double and call value on my return variable like return convertedTemp.value so that I could format the output to 1 decimal point and not get all the extra NS output data.

Screenshot 2021 03 10 at 11 35 17

scheduleMarch 10, 2021