NSOutlineView and NSTreeController example

Bhanu picture Bhanu · Jul 23, 2009 · Viewed 15.6k times · Source

Please send me some links on how to use NSOutlineView with NSTreeController bindings without using core data.

Answer

Marc Charbonneau picture Marc Charbonneau · Jul 23, 2009

In addition to the documentation, Apple's sample SourceView project should help you better understand things:

"SourceView" is a Cocoa application that demonstrates how to use NSOutlineView driven by NSTreeController and various other Cocoa classes to produce a Finder-like left column source view. Among the key features used to imitate this commonly used view are the use of NSTableViewSelectionHighlightStyleSourceList, NSViewController, NSCollectionView, and WebView.