I want to remove an item from my NSOutlineView when the user presses the delete key. Is the only way to do this to over-ride the keyUp method of NSResponder? I was hoping for higher level solution.
A:
I think that overriding -keyDown:
or -keyUp:
in a subclass is the only way to do this.
Rob Keniger
2010-02-10 06:50:07
...note that these are not equivalent; deletion should be triggered on key down, not key up.
Nicholas Riley
2010-02-10 07:32:08