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

Adding About

Tapping a menu item should cause the CarValet app to behave similarly to tapping a tab bar item. If the content is not showing in detail, tapping should cause it to show. If the content is already showing, then unlike in the tab bar, tapping should do nothing.

Although you have only created three menu items, there are really five menu states, since Cars shows the list of cars. Table 11-2 lists what is in the detail view for each state.

Image

Table 11-2 Detail View Content for App States

The detail view is a navigation controller, so you can push, pop, and even set the array of view controllers. Two of the detail items, About and Images, ...

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