SourceView: Using NSOutlineView with NSTreeController
Version 6.0, 2015-10-08
Upgrades to use NSSplitViewController using storyboards, and now uses view-based NSOutlineView.
(Full Revision History)
OS X 10.10 SDK or later
OS X 10.10 or later
"SourceView" demonstrates how to use NSOutlineView backed by NSTreeController and various other Cocoa classes to produce a Finder-like source view. Among the key features used to imitate this commonly used view are the use of NSTableViewSelectionHighlightStyleSourceList, NSViewController, NSCollectionView, and WebView. It also uses NSSplitViewController and a storyboard to organize the various NSViewControllers.