Question

Being a starter in Cocoa Programming, I would like to know using the existing NSTableView can one be able to achieve Disclosure Button? Or one has to follow NSOutlineview?

enter image description here

From the above picture, on selecting the list view and getting a Folder[Super view] and getting the children using a Disclosure button

Also can a registered Mac Developer get Finder app's sample code?

Thanks

Was it helpful?

Solution

NSOutlineView is just a subclass of NSTableView, so yes just use NSOutlineView to use the disclosure button.

Check out the docs for how to use it.

And no, Apple never released the source code for Finder.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top