Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming
by Maurice Sharp, Erica Sadun, Rod Strougo
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access