NSOutlineView and NSTreeController example

2020-06-09 07:56发布

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

3条回答
小情绪 Triste *
2楼-- · 2020-06-09 08:07

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

查看更多
女痞
3楼-- · 2020-06-09 08:12

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.

查看更多
何必那么认真
4楼-- · 2020-06-09 08:21

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

查看更多
登录 后发表回答