12

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

Graham Miln
  • 2,724
  • 3
  • 33
  • 33

3 Answers3

9

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.

Graham Miln
  • 2,724
  • 3
  • 33
  • 33
Marc Charbonneau
  • 40,399
  • 3
  • 75
  • 82
4

Here is a useful blog-post, which I wrote, which may prove to be useful: The simplest NSTreeController example

Devarshi
  • 16,440
  • 13
  • 72
  • 125
1

You can find a simple example of a NSOutlineView datasource in my response to NSOutlineView example

Community
  • 1
  • 1
valexa
  • 4,462
  • 32
  • 48