Try reading up on and using NSTreeController, specifically
"Providing Providing Controller Content" in the Cocoa Bindings Programming
topics:

http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/CocoaBindings/Concepts/CntrlContent.html#//apple_ref/doc/uid/TP40002147

otherwise Outline View programing topics should get you what you want,
though with out bindings:
http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/OutlineView/OutlineView.html#//apple_ref/doc/uid/10000023

There's also sample code (though it is meant to demonstrate drag and drop)
that may help you:
http://developer.apple.com/mac/library/samplecode/DragNDropOutlineView/index.html#//apple_ref/doc/uid/DTS40008831

+Clint

On Thu, Dec 3, 2009 at 10:37 PM, Sandro Noël <sandro.n...@gestosoft.com>
wrote:
>
> On 2009-12-03, at 11:07 PM, Graham Cox wrote:
> >
> > http://apptree.net/gcfolderbrowser.htm
> >
> >
> > hth,
> >
> > --Graham
> >
> Graham thanks for the link,
> the component is deprecated thow.
> but it's a good enough example.
>
> _______________________________________________
>
> 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/cts3e1%40gmail.com
>
> This email sent to cts...@gmail.com
_______________________________________________

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 arch...@mail-archive.com

Reply via email to