Search code examples
objective-ccocoanstableviewnsscrollview

How can I change NSTableView in NSScrollView?


I'm building a simple data base viewer and for different tables in database I need different TableViews on my main form (with fixed column's identifier and count). So how can I programmatically change NSTableView in NSScrollView?


Solution

  • try this: [scrollView setDocumentView:YOUR_TABLEVIEW];