In this series, you will learn about the GameplayKit framework introduced in iOS 9 and OS X El Capitan. In this first tutorial, you will learn about entity- and component-based game model structures and state machines.
Starter project for the Tuts+ tutorial: An Introduction to GameplayKit: Part 1
Read this tutorial on Tuts+