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 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 ...

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