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 ...
Get Xcode® 4 Unleashed, Second Edition 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.