SwiftState for iOS

Download Source

Elegant state machine for Swift.

[Features]

Transition: .State0 => .State1

Try transition: machine <- .State1

Try transition + messaging: machine <- (.State1, "GoGoGo")

Chaining: .State0 => .State1 => .State2

Event: machine <- "WakeUp"