Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ronflima/statemachine
A state machine implementation written in swift 3.
https://github.com/ronflima/statemachine
Last synced: 2 months ago
JSON representation
A state machine implementation written in swift 3.
- Host: GitHub
- URL: https://github.com/ronflima/statemachine
- Owner: ronflima
- License: mit
- Created: 2014-04-20T23:50:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-22T13:21:55.000Z (over 7 years ago)
- Last Synced: 2023-08-01T13:35:04.620Z (over 1 year ago)
- Language: Swift
- Homepage:
- Size: 79.1 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![SM Logo][sm-logo]
# State Machine Library
[![Mit License][mit-badge]][mit-url]## What is State Machine?
State machine is a small library written for iOS whose idea is to work as a
companion of view controllers. View controllers are the ones who hold the
workflow execution of a given view hierachy and they must control, also, the
user interface states and state transitions.## What problem does it try to solve?
Cocoa Touch does not specify how to handle state transitions and state
workflows. There is no standardization and sometimes you catch up writing the
same workflow code over and over again.The idea behind this small library is to give a standard way to handle workflows
in a simple manner. It is not the intention of this library to solve every
single possibility, but to solve common implementations.## Proposed Architecture and Design Patterns
State Machine try to follow standard architecture and design patterns used by
Cocoa Touch: delegation, adapters, etc.# License
This library is released under [MIT License](LICENSE).
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: https://tldrlegal.com/license/mit-license
[sm-logo]: img/sm-logo.png