Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有孩子的 NSTreeController/NSOutlineView 和一个 NSComboBox。我只想在组合框中显示顶级对象而不是子项。无法弄清楚如何做到这一点。有什么建议么?
好吧,刚刚证实我是傻子。
刚刚添加了一个 NSArrayController 并使用绑定来代替。