Maybe my question is too general.
I have a need to calculate all width of an NSTableView. However, I found that total width of all columns is far less than NSTableView.bound.width:
let width = tableView.tableColumns.reduce(0) { ac, col in ac + col.width }
print(width, tableView.bounds.width)
This is true even I manually adjust last column so that it fills the gap between the column and tableview right border.
-----------| <- table right border
last column|
-----------|
So I assume NSTableColumn.width and NSView.bounds.width are using different units.