How do I run my program?

It is time to run your program and see what it does. This is a two-step process. Xcode builds your program and then runs it. When building your program, Xcode prepares your code to run. This includes checking for syntax and other kinds of errors.

In the upper lefthand corner of the project window, find the button that looks suspiciously like the play button in iTunes or on a DVD player. If you leave your cursor over that button, you will see a tool tip that says Build and then run the current scheme. Click this button.

If all goes well, you will be rewarded with the following:

How do I run my program?

If not, you will get ...

Get Objective-C Programming: The Big Nerd Ranch Guide 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.