Dispenser: GameplayKit State Machine Basics

Last Revision:
Version 1.1, 2016-09-13
Updated to Swift 3
(Full Revision History)
Build Requirements:
Xcode 8 with OS X 10.11, iOS 9.0, or tvOS 9.0 SDK
Runtime Requirements:
OS X 10.11, iOS 9.0, or tvOS 9.0

This sample demonstrates how to use GameplayKit’s state machines to achieve fine control over your game.