Does anyone have a solution for a basic, compact Finite state machine/automata written in Objective-C code?
I am interested in reusable components so that the FSM have states added and actions defined that use reusable state classes.
What you want is a rules engine... oddly, I was able to find only one for objective-C (BDRuleEngine) and that is rather out of date:
http://eschatologist.net/bDistributed.com/index.html
It might be the best starting point though, unless you want to port something.