← Back

Day 1 and Day 2 (by accident!) of 100 Days of SwiftUI

07 Jun, 2024

I’ve been supporting Macs in the enterprise for 13 years now. I’ve had two false starts down this road, but as a Mac admin it’s becoming harder and harder to avoid Swift. Third times a charm!

Day 1 was a nice refresher (at this point) on constants vs variables, strings and integer vs floating point. However, I didn’t notice the ending of day 1 and accidentally continued on to string concatenation, interpolation and boolean where I completed the checkpoint activity on making a temperature conversion playground:

import Cocoa

let celcius = 17.0

let converted = celcius * 9 / 5 + 32
print("\(celcius)º C is \(converted)º F ")

#100DaysOfSwiftUI #Swift #swiftui