NSOutlineView and NSTreeController example

前端 未结 3 1641
你的背包
你的背包 2021-02-13 20:05

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

相关标签:
3条回答
  • 2021-02-13 20:40

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

    0 讨论(0)
  • 2021-02-13 20:46

    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.

    0 讨论(0)
  • 2021-02-13 20:57

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

    0 讨论(0)
提交回复
热议问题