Skip navigation.
 
mlRe: NSTreeControllerTreeNode not documented? [solved]
FROM : Joan Lluch (casa)
DATE : Sun Jun 08 15:35:13 2008

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_removed>)

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/<email_removed>

This email sent to <email_removed>

Related mailsAuthorDate
mlNSTreeControllerTreeNode not documented? Joan Lluch (casa) Jun 8, 11:28
mlRe: NSTreeControllerTreeNode not documented? Norbert Heger Jun 8, 13:31
mlRe: NSTreeControllerTreeNode not documented? [solved] Joan Lluch (casa) Jun 8, 15:35