O'Reilly logo

Getting Started with SpriteKit by Jorge Jordán

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Combining SpriteKit and UIKit

As SpriteKit and User Interface Kit (UIKit) are frameworks that are available in iOS, we can expect to combine them in different ways. Actually, we can create games with SpriteKit and include components from UIKit and, on the other hand, we can create applications that show the elements that were created with SpriteKit.

These features give us great power and versatility, as we can join the capabilities provided by both the frameworks to create robust games or give a more dynamic look to existing applications.

In the following lines, we are going to learn how to use UIKit with SpriteKit and vice versa. So let's start by adding some element from UIKit into the game.

Including UIKit in a game

As you may already know, if ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required