Launching the SlidingTiles game using the iOS simulator
In this section, we will take a look at how to compile and run our SlidingTiles
game. You have the option of choosing to run your application using an actual device or choosing from a list of iOS simulators that mimic each of the different types of iOS device.
Let's begin by performing the following steps:
- Ensure that you have chosen
Debug|iPhoneSimulator
from the drop-down menu. - Next, choose your preferred device from the list of available iOS Simulators.
- Then, select the
Run | Start Debugging
menu option, as shown in the following screenshot:

Launching the SlidingTiles game within the iOS Simulator
- Alternatively, you can also build and run the
SlidingTiles
application by pressing Command + Enter.
When the compilation is complete, the iOS Simulator will appear automatically and the SlidingTiles
application will be displayed, as shown in the following screenshot:

The Sliding Tiles Game running within the iOS Simulator
As you can see from the...