O'Reilly logo

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

14. Adding an Editor

The last substantive change we’ll make to Passer Rating is to add an editor for passers. The task itself will be very quick—you know how to add a scene, and the concepts of the editor are not difficult. But it’ll give us the chance to take a deeper look at Storyboard.

The Plan

We already know roughly what we want to do—the layout is already there in Figure 8.2 in Chapter 8, “Starting an iOS Application.” It’s a modal view (it slides up from the bottom), containing a table with rows for editing a passer’s first and last names and the name of his current team. Save and Cancel buttons allow the user to exit the editor one way or another.

Adding a Modal Scene

Bring Main.storyboard into the editor, and use the minus-magnifying ...

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