Retrieving the selected object in an NSOutlineView.

Joshua Garnham <joshua.garnham-/[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
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?
I know the NSTreeController has selectedObject but how would I implement this and then check if it has children.
Cheers!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.