Chapter 11. Building a New View
In This Chapter
• Creating a view controller class
• Using Interface Builder
• Connecting outlets
• Using code completion
• Using code snippets
The passer list works well enough now. It’s not fancy, but it nearly matches the wireframe in Figure 8.2. One thing it lacks is a transition from a list of passers to a passer summary and a list of games. For this, you’ll create a new view controller and make a deep acquaintance with Interface Builder.
Adding a View Controller
The thing to remember is that unless you do some custom drawing or event handling, there’s little reason to create a new subclass of UIView
. The standard views are generic and versatile enough that making a new one is rare. What isn’t rare is the ...
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.