O'Reilly logo

iOS App Development Portable Genius by Richard Wentk

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

Understanding Xcode

Xcode is a tool for converting code—text instructions—into an app that can run on an iOS device.

Apps are built from more than one kind of data. In addition to the raw binary instructions that run on the processor, apps also include sound files, graphic files that define screens, backgrounds, buttons or game tokens, font files, and other supporting information.

When you build an app, Xcode combines these elements into a single file, called the product. Most of the build process is automatic.

You have three jobs as a developer:

bullet_2c.tif Creating code. Code is kept in a collection of text files. The instructions you create define how the app responds to events and circumstances, such as a finger tap, a finger drag, an incoming message or notification, an out-of-memory error, and so on. Xcode includes a code editor to help you write code.

bullet_2c.tif Creating a look and feel. Xcode includes a design tool called Interface Builder, shown in Figure 2.1, that manages the look and feel of the app. You can use it to place buttons and switches, control the order in which screens appear to the user, and define the graphics the user sees.

bullet_2c.tif Managing files. You’ll often have to create files using ...

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