NSOutlineView和NSTreeController示例 [英] NSOutlineView and NSTreeController example

查看:163
本文介绍了NSOutlineView和NSTreeController示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给我一些有关如何使用 NSOutlineView NSTreeController 绑定而不使用核心数据。

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

推荐答案

除文档外,Apple的示例 SourceView项目应该可以帮助您更好地理解:

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


SourceView是一个Cocoa应用程序,演示了如何使用由NSTreeController和其他各种Cocoa类驱动的NSOutlineView来生成类似Finder的左列源视图。用于模仿此常用视图的关键功能包括使用NSTableViewSelectionHighlightStyleSourceList,NSViewController,NSCollectionView和WebView。

"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.

这篇关于NSOutlineView和NSTreeController示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆