Hi

I have a custom NSView subclass that contains, among other things, an NSTableView and need to know when focus changes happen so I can highlight the the view correctly. I tried setting up a KVO observer on NSWindw's "firstResponder", but it appears that windows don't report this change.

I'd like to do this without resorting to subclassing dozens of class to broadcast when they receive a "becomeFirstResponder" or "resignFirstResponder" message. What is the best way to go about detecting responder changes in subviews of a custom view?

Thanks for any help
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to