O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

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

Scene 2: Adding an Editor

In this section, you practice another core task in app development: laying out and coding a scene, and then hooking the new scene into an existing interface. For the edit scene, you add a new scene to the storyboard, add the views for displaying and editing a car, and create a custom controller for that scene. Next, you implement the transition to and from the view/edit scene.

If the valets using your app parked only one type of car, what you have already might be enough. Instead, cars can vary in make, model, and year, and your app needs to help the valet identify cars by using these criteria. You need a scene for editing cars.

The process you use for adding a new scene goes like this:

1. Create an object for managing ...

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