Swift State Machines

“…what state machines will do is keep our code abstract by decoupling concepts that never should have been coupled in the first place, opening the door to whole new worlds of refactoring.”

This is part 2 of a series on using Swift delegates to manage states as well as transitions.

Part 1 of Swift state machines.