O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

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

Adding Contact Data

To be able to add a new Contact, you need to add the Contact editing screen back in to the Storyboard. You will add a special Add button with a plus sign that will display the Contact editing screen.

1. Open Storyboard and select the Table View Controller.

2. Drag a Bar Button item from the Object Library to the navigation bar and drop it to the right of the text Contacts. Before dropping it, you should see a blue rectangle appear on the navigation bar. Drop it into this rectangle.

3. Use the Attributes Inspector to change the Identifier to Add. This changes the button to a plus sign.

4. Control-drag from the Bar Button item to the Contact editing screen and select Push. This sets up a segue between the Table View Controller ...

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