Re: Any way to detect firstResponder changes?
Re: Any way to detect firstResponder changes?
- Subject: Re: Any way to detect firstResponder changes?
- From: Uli Kusterer <email@hidden>
- Date: Tue, 11 Nov 2008 17:31:23 +0100
On 11.11.2008, at 17:04, Ken Tozier wrote:
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 think NSWindow sends an NSNotification in that case. At the least,
it would send a method to its delegate.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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