An NSOutlineView which is binded to a NSTreeController gives
instances of NSTreeControllerTreeNode in the item (or items) parameter
of their datasource or delegate methods. For example:
- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray
*)items toPasteboard:(NSPasteboard *)pboard
would give an array of NSTreeControllerTreeNode objects in the items
parameter.
- (BOOL)outlineView:(NSOutlineView *)sender isGroupItem:(id)item
would give an instance of a NSTreeControllerTreeNode
As far as I know, this class is not documented. How can I access (or
know) the actual object in the NSTreeController that the item is
refering to.
I will appreciate any help.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]