Programmatically creating an NSTableView (trouble getting the NSHeaderView to show up)(cocoa osx)
Here is some code to programmatically create a table view with a scroll bar, and multiple columns. // create a table view and a scroll view NSScrollView * tableContainer = [[NSScrollView alloc] initWithFrame:NSMakeRect(10, 10, 380, 200)]; NSTableView * tableView = [[NSTableView alloc] initWithFrame:NSMakeRect(0, 0, 364, 200)]; // create columns for our table NSTableColumn * column1 … Read more