HSMCalculatorDemo This package contains an Xcode project with an iOS HSMCalculator demo app that demonstrates using UML hierarchical state machine framework for Swift. Here's the statechart diagram of the application controller: