开发者

How do I use two NStableviews on the same interface?

开发者 https://www.devze.com 2023-04-11 06:16 出处:网络
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; 开

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; 开发者_StackOverflow中文版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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号