Most of the examples that I have been studying involves one NSTableView in a window.
My question is how to implement two NSTableViews in a single window?
It would appear to me that it would only require to implement one version of the datasource methods and the implementation would be in the code of the datasource methods such as
-(int)numberOfRowsInTableView: (NSTableView *)aTableView;
and in the code of the datasource method, it needs to determine which tableView is making the call and then return with the appropriate number of rows based on the object/array that is viewed in the NSTableView.
If this is the case, then how do you determine which NSTableView made the call for the datasource method?