• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTreeController and NSBrowser multiple selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Core-Data, can you issue an NSrequest from awakefrominsert
  • Next by Date: RE: Custom view - newbie stumped
  • Previous by thread: Dynamically loading Text boxes in a Dialog
  • Next by thread: Re: NSTreeController and NSBrowser multiple selection
  • Index(es):
    • Date
    • Thread