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
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.
-
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.