Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find "delegate" and "datasource" method documentation for NSTableView?

I'm looking for Apple documentation regarding the "delegate" and "datasource" methods for NSTableView. They don't appear in the NSTableView Class Reference for some reason. Any idea where I can look? Here's an example of one of them:

- (void)tableView:(NSTableView *)tableView 
   setObjectValue:(id)object 
   forTableColumn:(NSTableColumn *)tableColumn 
              row:(NSInteger)row;

EDIT: It appears they appear in the NSTableView.h file with comments, though that's a pain to browse through. I'd prefer a more user-friendly doc format, if it's available. :)

like image 858
Dave Avatar asked Mar 16 '26 05:03

Dave


1 Answers

The NSTableViewDataSource Protocol Reference and NSTableViewDelegate Protocol Reference contain what you're looking for. There are a number of links to these from the NSTableView Class Reference as well.

like image 185
Johan Kool Avatar answered Mar 19 '26 16:03

Johan Kool