RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController
class RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController : RVS_BTDriver_OBD_MacOS_Test_Harness_Base_Device_ViewController
extension RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController: NSTableViewDelegate
extension RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController: NSTableViewDataSource
-
This is the storyboard instantiation ID.
Declaration
Swift
static let storyboardID: String -
The cancel button that dismisses the screen.
Declaration
Swift
@IBOutlet weak var cancelButton: NSButton! -
The table that displays the property state.
Declaration
Swift
@IBOutlet weak var propertyTable: NSTableView! -
This is the data that is to be displayed by the table.
Declaration
Swift
var tableData: [RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController_TableDataTuple]
-
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()
-
Called after the view has loaded and initialized from the storyboard.
Declaration
Swift
override func viewDidLoad()
-
Called to supply the view for a row.
Declaration
Swift
func tableView(_ inTableView: NSTableView, viewFor inColumn: NSTableColumn?, row inRow: Int) -> NSView?Parameters
inTableViewThe table instance.
viewForThe column object.
rowThe 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) -> BoolParameters
inTableViewThe table instance.
isGroupRowThe 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) -> CGFloatParameters
inTableViewThe table instance.
heightOfRowThe 0-based Int index of the row.
Return Value
The height, in display units, of the row.
-
Called to supply the number of rows in the table.
Declaration
Swift
func numberOfRows(in inTableView: NSTableView) -> IntParameters
inTableViewThe table instance.
Return Value
A 1-based Int, with 0 being no rows.
View on GitHub
RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController Class Reference