Any way to detect firstResponder changes?
Any way to detect firstResponder changes?
- Subject: Any way to detect firstResponder changes?
- From: Ken Tozier <email@hidden>
- Date: Tue, 11 Nov 2008 11:04:40 -0500
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 (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