Pregunta

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

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top