Game Development Reference
In-Depth Information
Double-click the project's .xcodeproj file, or open it via the File Open command in
Xcode. Xcode will greet you with a user interface similar to the one shown in Figure 2-3 .
Figure 2-3 . Xcode user interface
The Xcode user interface contains the following areas:
1.
Toolbar , with scheme and device selection drop-down menu. Use the
scheme drop-down menu to change which device or simulator the app
should run on.
2.
Navigator area , which contains multiple tabs. The default, leftmost tab (de-
picted) shows the files in the project. Other tabs allow you to search the pro-
ject's files, see build warnings and errors, manage breakpoints, and perform
other tasks.
3.
Editor area , where you type in source code.
4.
Debug area , which displays debugging information. The left side displays
values of variables at runtime, while the right side is the Console, where log
statements are printed.
5.
Utility area , which contains information about selected items. In this case, it
shows detailed information about the selected MainScene.m file.
You can build and run this minimal SpriteBuilder Xcode project by clicking the Play but-
ton, which is the leftmost icon on the toolbar. The project will build and launch either on a
Search WWH ::




Custom Search