2
votes

I got a NSOutlineView and there are a couple items on it. Each one has 3 children(places, photos and social). They all have the same children. Say the user has selected places, does anyone knows how may I detect which item is the parent of the selected item?

Thanks!

1

1 Answers

1
votes

-[NSOutlineView selectedRow] (inherited from NSTableView)
-[NSOutlineView itemAtRow:]
-[NSOutlineView parentForItem:]