Dev notebook: an enum alternative to GKState / GKStateMachine
I worked on my first GameplayKit project earlier this year and there were things I liked about the lightweight, general state-machine model provided by the GKState and GKStateMachine classes. However I also found a few odd patterns in these classes: their implementation without using enumeration values for states, the inelegant (StateClass).class.self syntax model required by … Read moreDev notebook: an enum alternative to GKState / GKStateMachine