10000 GitHub - possen/StateMachine: A simple state machine implementation, in Swift, which models a coffee machine. Each state knows where it can go next based upon the results of the actions after async operation. To use this you would probably want to have an update method to notify the UI layer of the state changes. To run it, use the Unit Test.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple state machine implementation, in Swift, which models a coffee machine. Each state knows where it can go next based upon the results of the actions after async operation. To use this you would probably want to have an update method to notify the UI layer of the state changes. To run it, use the Unit Test.

Notifications You must be signed in to change notification settings

possen/StateMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoffeeStateMachine

A simple state machine implementation, in Swift, which imitates a coffee machine. Each state knows where it can go next based upon the results of the actions after async operation. To run it, use the Unit Test.

State Diagram

About

A simple state machine implementation, in Swift, which models a coffee machine. Each state knows where it can go next based upon the results of the actions after async operation. To use this you would probably want to have an update method to notify the UI layer of the state changes. To run it, use the Unit Test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0