iOS Developer Library

Developer

iOS 7 Design Resources UIKit User Interface Catalog

Download PDF

Table View Cell

Table View Cell Attributes Inspector Reference

image: ../Art/uitableviewcell_attributes_inspector.pdf

Style

image: ../Art/uitableviewcell_attributes_inspector_group-style.pdf

The Image property appears in this group only when Style is Basic, Right Detail, or Subtitle.

Style

The appearance and layout of the table view cell labels.

For the Custom style, your custom subclass of UITableViewCell determines the appearance of the table view cell.

Access: reuseIdentifier

Image

The image for the table view cell content.

Access: image

Cell Reuse

image: ../Art/uitableviewcell_attributes_inspector_group-cell_reuse.pdf

Identifier

Identifies the table view cell for cell reuse.

Access: initWithStyle:reuseIdentifier:reuseIdentifier

Appearance

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

Selection

Whether and how the table view cell indicates that it is selected.

Accessory

The accessory view type for the table view cell in the Normal state.

The three states of a table view cell are: Normal, Editing, and Delete Confirmation (Cell State Mask Constants).

Editing Acc.

The accessory view type of the table view cell in the Editing state.

The three states of a table view cell are: Normal, Editing, and Delete Confirmation (Cell State Mask Constants).

Indentation and Behavior

image: ../Art/uitableviewcell_attributes_inspector_group-indentation_and_behavior.pdf

Shows Re-order Controls

Whether the table view cell shows the reordering control.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

showsReorderControl

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

showsReorderControl

YES

Indentation

Level

The table view cell indentation level.

Access: indentationLevel

Width

The width in points of each level of indentation.

Access: indentationWidth

Indent While Editing

Whether to indent the table view cell background when the table view cell is in the Editing state.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

shouldIndentWhileEditing

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

shouldIndentWhileEditing

YES