Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming
by Maurice Sharp, Erica Sadun, Rod Strougo
Hooking It All Together
You have laid out a new scene, set up the connections, and added behaviors. Now you need to add the edit scene into the flow of the app. Hooking scenes together is a common task in development. As you will see, it is more than just pointing from one to another. There can be data sharing or other types of behaviors associated with movement. The first step in hooking it all together is to add a button to the add/view scene that transitions to the edit scene:
1. Open the Storyboard editor and move the gray first scene arrow back to the add/view scene.
2. Drag out a button and set the title to Edit. The best way to do this is double-clicking the “Button” text on the storyboard layout view to select the title text, and then ...
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