O'Reilly logo

Xcode® 4 Unleashed, Second Edition by Frederic F. Anderson

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

Chapter 10. An iOS Controller

In This Chapter

• Understanding the Controller layer

• Refactoring: Renaming a class and a method

• Exploring live issues and Fix-it

If I were smart, I’d start unit-testing the model as soon as the first draft was done, before adding the complexity of a human-interface layer. But I’m not smart; I’m going to put testing off until Chapter 13, “Unit Testing.”

Instead, we’ll go ahead with the first cut at a real app. Xcode’s master-detail application template provides a working version of the first table. Let’s convert that into a table of quarterbacks and their ratings.

You remember from the “The Controllers” section of Chapter 8, “Starting an iOS Application,” that the view comprising a full-screen stage in an iOS ...

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