• 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
Re: Observing NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Observing NSBrowser


  • Subject: Re: Observing NSBrowser
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Wed, 9 Jan 2008 08:20:57 -0800

Is there a way to observe an NSBrowser and be notified when the selected column changes without setting the delegate? I've bound an NSBrowser to an NSTreeController, so I can't use a delegate.

If you set the delegate after binding the browser, you can use the standard selection delegate method without implementing the data source methods.


That being said, you may instead want to take a look at the NSTreeController’s selectionIndexPaths property.

-Ben_______________________________________________

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


References: 
 >Observing NSBrowser (From: Adam Thorsen <email@hidden>)

  • Prev by Date: Re: Global Text replacemant
  • Next by Date: Re: Capturing the Content of a IKImageBrowserView
  • Previous by thread: Re: Observing NSBrowser
  • Next by thread: Problem In Accessing NSDistantobject
  • Index(es):
    • Date
    • Thread