Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 3.1, 2012-02-28
Corrected table view cell style to be Basic instead of Custom.
(Full Revision History)
Xcode 4.2 or later, OS X v10.7 or later, iOS 5 or later.
OS X v10.7 or later, iOS 5 or later.
This application shows how to create a basic drill down interface.
The first scene shows a list of plays. When the user selects a play, the application displays a second scene that shows a list of the main characters and other data about the play. Both screens use a table view. The first list is in the "plain" style to show a standard list; the second is in the grouped style that you can use to lay out detail information.
The transition from the first scene to the second is defined by a segue associated with the prototype table view cell in the table view controller's table view. In the storyboard, the segue is named, "ShowSelectedPlay". The name is used as the idetifier in RootViewController's prepareForSegue:sender: method.