In learning a new programming language, I find it most difficult to know what to skip and what to take a closer look at. I don’t need to learn what loops and conditionals are for the twentieth time, but I do need to learn how they are different in Swift.
Oh this one’s nice! Because the compiler knows that `officeLightState` is a `LightState`, I can switch through the values as `.on` and `.off` instead of having to write `LightState.on` and `LightState.off`. 🙌
The first day of my three week vacation is also the first day I am digging into Swift and native iOS development. After almost exclusively working in React and React Native for a few years, I need to understand how native app-development is different.