sectionHeaderViewProvider
The closure that configures and returns the table view’s section header views from the diffable data source.
Declaration
var sectionHeaderViewProvider: NSTableViewDiffableDataSourceReferenceSectionHeaderViewProvider? { get set }Discussion
This property replaces the tableView(_:viewFor:row:) method for group rows when the tableColumn parameter in tableView(_:viewFor:row:) would be nil. Setting this property means the table view never invokes its delegate’s tableView(_:isGroupRow:) method. Instead, it uses the current snapshot’s sections.