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.
NSOutlineViewDelegatehasoutlineView:shouldEditTableColumn:item:在编辑单元格之前被调用。我需要在用户完成编辑单元格后调用一个类似的方法(以触发一些计算)。我应该在哪里寻找这个事件?
NSOutlineViewDelegate
outlineView:shouldEditTableColumn:item:
只需实现-outlineView:setObjectValue:forTableColumn:byItem:datasource方法,就可以修改传入的对象。
-outlineView:setObjectValue:forTableColumn:byItem: