RVS_BTDriver_MacOS_Test_Harness_Device_Detail_ViewController

class RVS_BTDriver_MacOS_Test_Harness_Device_Detail_ViewController : RVS_BTDriver_MacOS_Test_Harness_Base_Device_ViewController
extension RVS_BTDriver_MacOS_Test_Harness_Device_Detail_ViewController: NSTableViewDelegate
extension RVS_BTDriver_MacOS_Test_Harness_Device_Detail_ViewController: NSTableViewDataSource

Static Properties

Instance Methods

  • Sets up the UI elements.

    Declaration

    Swift

    func setUpUI()
  • Sets up the table data.

    Declaration

    Swift

    func setUpTableData()
  • Sets up the table.

    Declaration

    Swift

    func populateTable()

Base Class Override Methods

  • Called after the view has loaded and initialized from the storyboard.

    Declaration

    Swift

    override func viewDidLoad()

NSTableViewDelegate Support

  • Called to supply the view for a row.

    Declaration

    Swift

    func tableView(_ inTableView: NSTableView, viewFor inColumn: NSTableColumn?, row inRow: Int) -> NSView?

    Parameters

    inTableView

    The table instance.

    viewFor

    The column object.

    row

    The 0-based index of the row.

  • Called to indicate whether or not the row is a group header (indicated by no value).

    Declaration

    Swift

    func tableView(_ inTableView: NSTableView, isGroupRow inRow: Int) -> Bool

    Parameters

    inTableView

    The table instance.

    isGroupRow

    The 0-based Int index of the row.

    Return Value

    True, if this is a group header row.

  • Returns the height of a given row.

    Declaration

    Swift

    func tableView(_ inTableView: NSTableView, heightOfRow inRow: Int) -> CGFloat

    Parameters

    inTableView

    The table instance.

    heightOfRow

    The 0-based Int index of the row.

    Return Value

    The height, in display units, of the row.

NSTableViewDataSource Support

  • Called to supply the number of rows in the table.

    Declaration

    Swift

    func numberOfRows(in inTableView: NSTableView) -> Int

    Parameters

    inTableView

    The table instance.

    Return Value

    A 1-based Int, with 0 being no rows.