iOS Developer Library

Developer

iOS 7 Design Resources UIKit User Interface Catalog

Download PDF

Table View

Table View Attributes Inspector Reference

image: ../Art/uitableview_attributes_inspector.pdf

Appearance

image: ../Art/uitableview_attributes_inspector_group-appearance.pdf

Style

The basic appearance of the table view.

Selection

Method

Argument

Plain

style

UITableViewStylePlain

Grouped

style

UITableViewStyleGrouped

Separator

Separator Style

The style for table view cells used as separators.

Separator Color

The color for table view cells used as separators.

Access: separatorColor

Behavior

image: ../Art/uitableview_attributes_inspector_group-behavior.pdf

Selection

The type of selection the table view allows.

Access: allowsSelection allowsMultipleSelection

Selection

Code

No Selection

table_view.allowsSelection = NO

Single Selection

table_view.allowsSelection = YES

Multiple Selection

table_view.allowsMultipleSelection = YES

Editing

The type of selection the table view allows in editing mode.

Access: allowsSelectionDuringEditing allowsMultipleSelectionDuringEditing

Selection

Code

No Selection During Editing

table_view.allowsSelectionDuringEditing = NO

Single Selection During Editing

table_view.allowsSelectionDuringEditing = YES

Multiple Selection During Editing

table_view.allowsMultipleSelectionDuringEditing = YES

Show Selection on Touch

This item appears to be nonoperational.

Table Index

image: ../Art/uitableview_attributes_inspector_group-tableindex.pdf

Index Row Limit

This item appears to be nonoperational.