Skip navigation.
 
mlRe: Observing NSBrowser
FROM : Benjamin Stiglitz
DATE : Wed Jan 09 17:20:57 2008

> 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_removed>)

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/<email_removed>

This email sent to <email_removed>

Related mailsAuthorDate
mlObserving NSBrowser Adam Thorsen Jan 9, 03:14
mlRe: Observing NSBrowser Keary Suska Jan 9, 16:40
mlRe: Observing NSBrowser Benjamin Stiglitz Jan 9, 17:20