The easiest state machine in Swift

Here's another article of the serie "The easiest <something>". Previous ones on Core Data (The easiest Core Data) and Future and Promises (The easiest promises in Swift). It was a cold Sunday afternoon when I decided to bring to Swift my ADBStateMachine implemented in Objective-C right…