NSTableView class has setDataSource method that allows assign a NSTableDataSource instance to be a data source for that table view.
In v4.8 we have to add VCursorDataSource and VTableDataSource classes that are able to do this job — easy display a cursor or a table into a given NSTableView. As easy as a single line of code:
mCursorDataSource = [[VCursorDataSource alloc] initWithCursor:mCursor view:tvListBox];
Continue reading [V4CC][NEW] DataSource for VCursor and VTable classes.