Monitoring the selection in an NSOutlineView
Monitoring the selection in an NSOutlineView
- Subject: Monitoring the selection in an NSOutlineView
- From: Charles Srstka <email@hidden>
- Date: Wed, 12 Feb 2003 16:31:25 -0600
Is there any way to determine exactly *what* is changing when an
NSOutlineView's selection changes? I'd like to know exactly which row
is changing, and whether it will become selected or deselected.
I've thought about storing the current selection in an instance
variable in outlineView:shouldSelectItem: and then comparing it with
current selection in outlineViewSelectionDidChange:, but this isn't
very elegant, and doesn't work if someone deselects something anyway.
Anything obvious I'm missing?
Thanks,
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.