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.
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
Main.storyboard into the editor, and use Editor →Canvas → ...