Link Search Menu Expand Document

TableView

A view that presents data using rows arranged in a single column.

public class TableView: View 

Inheritance

View

Initializers

init(frame:style:)

Initializes and returns a table view having the given frame and style.

public init(frame: Rect, style: TableView.Style) 

Properties

dataSource

The object that acts as the data source of the table view.

public weak var dataSource: TableViewDataSource? 

style

The style of the table view.

public let style: TableView.Style

allowsMultipleSelection

A boolean value that determines whether users can select more than one row outside of editing mode.

public var allowsMultipleSelection: Bool 

Methods

reloadData()

Reloads the rows and sections of the table view.

public func reloadData()