Where can I find the "delegate" and "datasource" documentation for an NSTableView?

I am looking for Apple documentation regarding the "delegate" and "data source" methods for NSTableView. For some reason, they do not appear in the NSTableView Reference Reference . Any idea where I can look? Here is an example of one of them:

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

EDIT: They seem to appear in the NSTableView.h file with comments, although this is a pain to view. I would prefer a more convenient document format if one is available. :)

+3
source share
3 answers

NSTableViewDataSource NSTableViewDelegate , . NSTableView.

+3

. - Apple , . . . . .

, "" . , .

, , "" " ", UIApplicationDelegate, UITableViewDelegate, UITableViewDataSource. .

+1

Keep in mind that if you see some method in Xcode and want to know what it does, just hold the + command and double-click on the method. This will lead you to the documentation for this method.

This will ultimately lead you to here .

+1
source

Source: https://habr.com/ru/post/1728362/


All Articles