Chapter 3. Simple Workflow and Passive Debugging

In This Chapter

• Starting an original project

• Correcting compilation errors

• Dealing with a crash

This chapter begins your use of Xcode in earnest. Here’s where I introduce the problem that is the basis for all the example code in this book.

The problem is the calculation of passer ratings. In American/Canadian football, quarterbacks advance the ball by throwing (passing) it to other players. The ball may be caught (received, a good thing) by someone on his own team, in which case the ball is advanced (yardage, more is better), possibly to beyond the goal line (a touchdown, the object of the game); or it may be caught by a member of the opposing team (intercepted, a bad thing).

Statistics ...

Get Xcode® 4 Unleashed, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.