Quick NSOutlineView question
Quick NSOutlineView question
- Subject: Quick NSOutlineView question
- From: Ken Tozier <email@hidden>
- Date: Fri, 21 Jun 2002 21:52:14 -0400
The data source for my outline view requires three separate classes.
The root (data source) and first tier objects are basically just a
subclasses of NSMutableArray with slightly modified behavior
Second tier objects are a subclass of NSMutableDictionary and are
actually where all the action happens
Second tier objects are all leaf nodes so the outline will will never go
any deeper than the second tier.
My question is, do all three classes need to implement the
NSOutlineViewDataSource protocols? Or do I just define them in the root
and write some sort of tree traversal routine to try and match up
object passed in from the UI with it's corresponding entry in the data
source?
Thanks for any help
Ken Tozier
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.