Re: Getting *my* object out of a tree controller?
Re: Getting *my* object out of a tree controller?
- Subject: Re: Getting *my* object out of a tree controller?
- From: Kyle Sluder <email@hidden>
- Date: Thu, 5 Feb 2009 16:25:05 -0500
On Thu, Feb 5, 2009 at 3:36 PM, Randall Meadows <email@hidden> wrote:
> Even when I query the tree controller directly for its items, I don't get
> *my* object types back, but rather NSTreeControllerTreeNodes:
Why does this surprise you? The outline view's data source (the tree
controller) is providing instances of NSTreeControllerTreeNode (which
is a private internal subclass of NSTreeNode), so the outline view is
going to give these back to you.
See http://www.cocoabuilder.com/archive/message/cocoa/2008/6/8/209677 .
--Kyle Sluder
_______________________________________________
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