Any idea which Cocoa control to use to display the drill-down table as in attached screenshot? On the left panel is a list of items. When an item is selected, the detail of the item is displayed on the right panel. Is it NSOutlineView or NSBrowser? Thanks!
Screenshot http://s1.proxy03.twitpic.com/photos/large/409079140.png
It’s an
NSTableViewon the left, and most likely anNSTextViewon the right. TheNSTableViewon the left most likely has anNSDateFormatterset for the cell in the third column, which handles converting anNSDateobject into theNSStringvalue that’s shown.See Table View Programming Guide for more general info on
NSTableViews. There is alsoNSOutlineView, which is a subclass ofNSTableView, for when you need to display a data tree. Implementing a table view is much easier than an outline view orNSBrowser, so only go with an outline view if you really need to.