NSTreeController and NSBrowser multiple selection
NSTreeController and NSBrowser multiple selection
- Subject: NSTreeController and NSBrowser multiple selection
- From: Kevin Dorne <email@hidden>
- Date: Tue, 25 Apr 2006 00:57:05 -0700
Hello all,
I am running into some difficulties using an NSBrowser bound to an NSTreeController with multiple branch selections.
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 have bound both contentArray and contentArrayForMultipleSelection to the same path in the NSTreeController. (I've also tried binding contentArrayForMultipleSelection to @unionOfArrays.path, but to no avail.) In the NSBrowser, I have bound content, contentValues, and selectionIndexPaths to values in the NSTreeController.
Any ideas where I'm going wrong?
Cheers,
-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