NSTableViewDataSource protocol declares the methods that an instance of
NSTableView uses to provide the data to a table view and allow editing of the contents of its data source object.
- macOS 10.10+
If you’re not using Cocoa bindings to provide data to the table view, the following methods are required:
tableView(_:setObjectValue:for:row:)(cell-based tables only)
To learn more about Cocoa bindings, see Cocoa Bindings Programming Topics.