FROM : Daniel Morrow
DATE : Thu Oct 07 21:21:28 2004
I have an NSOutlineView, and you can only select one row in it. No
multiple selection of any sort.
When someone chooses a row, I want to know, get the object for that
row, and then perform some action.
I'm installing a delegate method, "outlineViewSelectionDidChange", and
this seems to get what I want. However, I've looked at other samples,
Apple's "DragNDropOutlineView" and another one, and neither of them use
this method. Actually, the DragNDropOutlineView way of doing things
looks a bit complex.
Should I just stick with the delegate method, or try something else?
-Dan.
DATE : Thu Oct 07 21:21:28 2004
I have an NSOutlineView, and you can only select one row in it. No
multiple selection of any sort.
When someone chooses a row, I want to know, get the object for that
row, and then perform some action.
I'm installing a delegate method, "outlineViewSelectionDidChange", and
this seems to get what I want. However, I've looked at other samples,
Apple's "DragNDropOutlineView" and another one, and neither of them use
this method. Actually, the DragNDropOutlineView way of doing things
looks a bit complex.
Should I just stick with the delegate method, or try something else?
-Dan.
| Related mails | Author | Date |
|---|---|---|
| Daniel Morrow | Oct 7, 21:21 | |
| Mike Bolton | Oct 8, 00:37 |






Cocoa mail archive

