Enumeration

UITableView.Style

Constants for the table view styles.

Declaration

enum Style : Int

Overview

You set the table style when you initialize the table view (see init(frame:style:)). You cannot modify the style thereafter.

Topics

Styles

case plain

A plain table view.

case grouped

A table view whose sections present distinct groups of rows.

Enumeration Cases

See Also

Configuring the Table's Appearance

var style: UITableView.Style

The style of the table view.

var tableHeaderView: UIView?

The view that is displayed above the table's content.

var tableFooterView: UIView?

The view that is displayed below the table's content.

var backgroundView: UIView?

The background view of the table view.