Version: 1.1

Posted: 2008-03-17

Build Requirements: Xcode 3.0, Mac OS X 10.5

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample (“AbstractTree.zip”, 1.01M)
Download Sample (“AbstractTree.dmg”, 1.08M)



Description

AbstractTree is a Cocoa sample application that demonstrates how to use Core Data and Bindings with NSTreeController. The data model is intentionally simple and abstract - you can extend it to any hierarchical model suitable for your problem domain. Likewise, the user interface is minimal - just an outline view and buttons for creating and removing nodes in the tree. In addition, the project shows how to implement drag and drop for managing parent-child relationships of the Core Data content.

Document Revision History

Date Notes
2008-03-17Fixed a typo in the definition of a leaf node.
2007-12-21Using NSTreeController with NSOutlineView, Bindings, and Core Data.

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.