A state machine awaits operations to transition from one state to another.
状态机等待操作从一个状态转换到另一个状态。
As you transition from one state to the next, the framework captures the current state, with all instance variables, automatically.
当从一个状态转换到下一个状态时,框架自动捕获当前状态,包括所有实例变量。
All other transitions from one state to another may have operations that, when called, cause a transition to the next state.
所有从一种状态到另一状态的其他转换都可以具有一些操作,在调用这些操作时,会导致向下一状态转换。
应用推荐