CHAPTER 2

image

Build and Run

Compiling

Objective-C code needs to be turned into machine code that runs on an iOS device or a Mac. This process is called compiling, and Xcode uses the LLVM compiler to create machine code. Xcode templates used to create new projects, like you did in Chapter 1, will have the settings that the compiler needs to set this up for you.

Building

Compiling code is usually only part of the process involved with creating an app. Apps destined to be distributed to Mac and iPhone users require other resources in addition to the compiled code.  This includes content like pictures, movies, music, and databases.

These resources, along ...

Get Objective-C Quick Syntax Reference 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.