Introduction
Swift enums are powerful. I'll explain a few basic usages and then step things up with less apparent uses that will change how you write your code, providing more type safety and simplifying code that would otherwise create a spaghetti-noodle mess.
What if you had to create code to evaluate two conditions and react accordingly with expressions ("then…