The Billboard View

Now you can add content of your own. The design calls for two elements: a billboard containing overall statistics for the passer, and a table with the details of each game. Start with the billboard.

The billboard will contain labels of various sizes and styles. First, add the container itself. Click in the search field at the bottom of the Object library (third tab, bottom part of the Utility area), and type UIView. You’ll see an entry labeled “View.” Drag it out of the library and into the scene in the editor. As you drag it, it transforms into a rectangle that sizes itself to the available space in the scene. Let it go.

You don’t want this view to take up the whole space. Click on it to display resizing “handles” at the sides ...

Get Xcode 5 Start to Finish: iOS and OS X Development 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.