Re: NSTreeController and NSBrowser multiple selection
Re: NSTreeController and NSBrowser multiple selection
- Subject: Re: NSTreeController and NSBrowser multiple selection
- From: Kevin Dorne <email@hidden>
- Date: Wed, 26 Apr 2006 15:28:44 -0700
On Wed, Apr 26, 2006 at 10:40:52AM +0100, Hamish Allan wrote:
> >I have a 3-column browser. The content bound to the
> >NSTreeController produces a NSArray for the first column; each node
> >there returns a NSArray of child nodes for the Controller.
> >Everything there works as expected, as long as I have only a single
> >branch selection. I can select multiple leaves, but when I select
> >multiple branch nodes, none of the child nodes appear.
>
> I think this is normal behaviour for an NSBrowser. If you select
> multiple folders in Finder's column view, none of the contents of
> those folder appear. Otherwise they would have to be merged. If you
> need to select multiple nodes and their children, you may have to use
> an NSOutlineView.
If, by normal behaviour, you mean "therefore an NSTreeController wouldn't support multiple selection," you may be right. However, I've got it working with an unbound, manually managed NSBrowser. So, it's not the NSBrowser that's causing the limitation, anyway.
Does anyone know for sure that an NSTreeController wouldn't support multiple branch selections in an NSBrowser?
And yes, I did look into the NSOutlineView, but it would be fairly unwieldy for my application.
Thanks for the help.
-k
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden