Version: 1.0

Posted: 2007-11-15

Build Requirements: Xcode 3.0, Mac OS X 10.5

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample (“SourceView.zip”, 265.6K)
Download Sample (“SourceView.dmg”, 317.8K)



Description

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

Document Revision History

Date Notes
2007-11-15Demonstrates how to use NSOutlineView driven by NSTreeController.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.