Miek
Miek

Reputation: 1137

How do I use two NStableviews on the same interface?

I am re-phrasing an earlier question and re-posting. I made the original question too complicated; I understand how the set up a TableView and get files to drop into it. What I don't understand is; How do I get two NSTableViews on one interface and get the contents to display in what ever table I choose? For eample, I want to drag files/folders into the first TableView, and when I double click on one, I want the contents of the file/folder to display in the second table.

Thanks

Upvotes: 0

Views: 90

Answers (1)

Hot Licks
Hot Licks

Reputation: 47699

Provide the two table views with two different dataSource delegates, or, in the single dataSource object observe the UITableView address that's passed on every call.

Upvotes: 1

Related Questions