Re: NSTreeControllerTreeNode not documented? [solved]
Re: NSTreeControllerTreeNode not documented? [solved]
- Subject: Re: NSTreeControllerTreeNode not documented? [solved]
- From: "Joan Lluch (casa)" <email@hidden>
- Date: Sun, 8 Jun 2008 15:35:13 +0200
El 08/06/2008, a las 13:31, Norbert Heger escribió:
On Jun 8, 2008, at 11:28 , Joan Lluch (casa) wrote:
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.
See this thread:
http://www.cocoabuilder.com/archive/message/cocoa/2008/3/25/202235
n.h.
Thanks a lot. Somehow I hadn't figured out that a
NSTreeControllerTreeNode was a subclass of a NSTreeNode._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden