It seems that NSTableView
has no equivalent to UITableView
's tableFooterView
property. What is the preferred way to add a footer view to a table view in Cocoa?
NSTableView doesn't have sections like UITableView or NSCollectionView, and therefore no headers and footers.
Instead you can do it via your datasource, if you are using a view-based table.
numberOfRowsInTableView(tableView:)
tableView(tableView:viewForTableColumn:row:)
for this last row, instantiate that item from storyboard using the identifier "TableFooter".If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With