Swift and the Hidden Power of Enums
Enums--or enumerated types--in Swift have been around for a long time, but I never truly explored their potential until I stumbled across an article explaining that "enums can define any hierarchically organized data." So I decided to try using enums, not as I had traditionally used them, but as the very foundation of my data. Today, I invite you to explore the potential of these powerful types with me.