Which delegate methods do I need to implement for NSTableviewDatasource?

Asked on 09/09/2024

1 search

I don't have specific information on the delegate methods required for NSTableViewDataSource from the provided context. However, typically, to implement an NSTableViewDataSource, you need to implement at least the following methods:

  1. numberOfRows(in:) - Returns the number of rows in the table view.
  2. tableView(_:objectValueFor:row:) - Returns the data object associated with the specified row and column.

For more detailed information, you might want to check the official Apple documentation or relevant WWDC sessions that cover NSTableView and its data source methods. If you have any other questions about WWDC content, feel free to ask!