Initializer

init(style:)

Initializes a table-view controller to manage a table view of a given style.

Declaration

init(style: UITableViewStyle)

Parameters

style

A constant that specifies the style of table view that the controller object is to manage (plain or grouped).

Return Value

An initialized UITableViewController object.

Discussion

If you use the standard init method to initialize a UITableViewController object, a table view in the plain style is created.

See Also

Initializing the UITableViewController Object