Reputation: 15510
I am looking to retrieve the selected object in an NSOutlineView so I can see if the selected object has any children. How would I do this?
Upvotes: 1
Views: 591
Reputation: 16861
NSOutlineView
inherits the -selectedRow
method from NSTableView
. I suspect though, that what you really want is the current selection from whatever NSController
is acting as your outline view's data source.
Upvotes: 4