/StatelyExample

Example application for Stately

Primary LanguageSwiftMIT LicenseMIT

StatelyExample GitHub license GitHub release

Introduction

StatelyExample is an example application for Stately that simulates a single-button garage door opener.

Screen Shot

State Machine

StatelyExample uses Stately to build the state machine in the following diagram:

Screen Shot

This state machine simulates the states and events of a single-button garage door opener.

Getting Started

Clone StatelyExample

git clone git@github.com:softwarenerd/StatelyExample.git

Build Dependencies

carthage bootstrap --platform macOS

Open and run StatelyExample

Using Xocde, open and run StatelyExample.xcodeproj

Contributing

StatelyExample is a work in progress and your contributions are most welcome. Feel free to fork the repo and submit PR's.

License

StatelyExample is released under the MIT License.