views:

36

answers:

2

Which class is used to create the clickable sections(with > arrow) and the checkbox list on last shot?

alt text

+3  A: 

Have a look at the UINavigationController.

To create the list with arrows, use the UITableView and set the Accessory "Disclosure indicator" on the cell (in the Interface builder).

The screenshot is from the Settings application though. If you want to create subpanels for settings, you need to use a different approach (Here is one example)

Krumelur
A: 

UITableView (UITableViewController).

The checkmarks and arrows are added by changing the .accessoryType property of the cell. To make the table views clickable, implement the -tableView:didSelectRowAtIndexPath: method in the delegate.

KennyTM
So there is no built in way to manipulate cell state and I have to implement custom logic with changing accessory image to have checkbox behavior?
Michael
@Michael: Right.
KennyTM