touchOS HIG

Page 74

C H A P T E R

7

Content Views

Figure 7-7

A grouped table with a single group

Notice the different types of elements in the list items shown in Figure 7-6 (page 73) and in Figure 7-7. Both lists include the disclosure indicator element, which users tap to see the next list related to an item, and both lists include a switch control, which is a table-view control users slide to make an on/off choice.

Table-View Elements In general, users can tap anywhere on a list item to select it. However, table views also provide a few elements that are designed to display more information about list items, or to delete them. These table-view elements are used consistently in iPhone applications, and users are accustomed to their appearance and meanings. Specifically, a table view provides the following elements: ■

Disclosure indicator. Users tap this element to see the next level in a hierarchy, or the choices associated with the list item. (See Figure 7-7 (page 74) for an example of this element.) Use a disclosure indicator in a row when selecting the row results in the display of another list. In other words, the presence of a disclosure indicator tells users that tapping the row reveals another list; it does not offer functionality that is separate from the selection of the row.

Detail disclosure button. Users tap this element to see detailed information about the list item. (Note that you can use this element outside of a table view, to reveal additional details about something; see “Detail Disclosure Buttons” (page 82) for more information.) In a table view, use a detail disclosure button in a row to display details about the list item. Note that the detail disclosure button, unlike the disclosure indicator, can perform an action that is separate from the selection of the row. For example, in Phone Favorites, selecting the row initiates a call to the contact; tapping the detail disclosure button in the row reveals more information about the contact.

74

Table Views 2008-02-29 | © 2008 Apple Inc. All Rights Reserved.


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.