I have an NSOutlineView which has a single column, and 2 levels of tree - each 
item in the list can have child items but those subitems don't have children.

How can I determine the selected items?

NSTableView -selectedRow returns row indices that change dependent on whether 
parent items are expanded, so that won't do.
I could attempt to keep track of the selection via delegate method 
outlineView:shouldSelectItem: but this seems a bad idea.

Am I missing something? Surely it is possible to ask an NSOutlineView which 
items are selected?

thanks
Rua Haszard Morris._______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to