© Molly Maskrey and Wallace Wang 2018

Molly Maskrey and Wallace Wang, Pro iPhone Development with Swift 4, https://doi.org/10.1007/978-1-4842-3381-8_2

2. Simple Games Using SpriteKit

Molly Maskrey and Wallace Wang2

(1)Parker, Colorado, USA

(2)San Diego, California, USA

In iOS 7, Apple introduced SpriteKit, a framework for the high-performance rendering of 2D graphics. Unlike Core Graphics (which is focused on drawing graphics using a painter’s model) or Core Animation (which is focused on animating attributes of GUI elements), SpriteKit focuses on a different area entirely — video games — and it is Apple’s first foray into the graphical side of game programming in the iOS era. It was released for iOS 7 and OS X 10.9 (Mavericks) at the same time, ...

Get Pro iPhone Development with Swift 4: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.