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.
我有一个 NSOutlineView,上面有几个项目。每个人有 3 个孩子(地点、照片和社交)。他们都有相同的孩子。假设用户选择了地点,有谁知道我如何检测哪个项目是所选项目的父项?
谢谢!
-[NSOutlineView selectedRow](继承自 NSTableView) -[NSOutlineView itemAtRow:] -[NSOutlineView parentForItem:]