Skip to content

Files

Latest commit

CypherPoetCypherPoet
CypherPoet
and
CypherPoet
Oct 19, 2019
5e3bb20 · Oct 19, 2019

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 19, 2019
Oct 12, 2019
Oct 12, 2019

Day 19: Challenge Day

Follow along at https://www.hackingwithswift.com/100/swiftui/19.

This is the first "challenge day" of 100 Days of SwiftUI -- wherein we're asked to build a completely new app from scratch relying on the material covered so far.

🥅 Challenge

You need to build an app that handles unit conversions: users will select an input unit and an output unit, then enter a value, and see the output of the conversion.

Which units you choose are down to you.

I ended up choosing two sets of conversions: Bitcoin-to-Satoshi, and temperature units. The former was straightforward, one-to-one comparison of currency values; the latter was slightly move involved -- with multiple segment pickers for switching among a handful of potential units.

Why would you want an app that specifically converted Bitcoin and temperature side-by-side. Not entirely sure — but a rewarding SwiftUI challenge nonetheless 😃.

📸 Screenshots