Re: Saving NSFonts and changedFont: trouble
Re: Saving NSFonts and changedFont: trouble
- Subject: Re: Saving NSFonts and changedFont: trouble
- From: Michael Vannorsdel <email@hidden>
- Date: Wed, 9 Apr 2008 10:40:35 -0600
The responder chain works something like this:
user event->active application->application's key window->window's
first responder if accepts, otherwise next view in line gets it.
Whether or not delegate messages are sent is upto one of the
responders in the chain to send them.
The only sure way of intercepting messages to the textview is to make
your own subclass of it and use that, overriding various methods.
On Apr 9, 2008, at 8:25 AM, Thomas Backman wrote:
Hmm, I just noticed that if I do
[mainWindow makeFirstResponder:textView];
It never works. In other words, when the text view IS the first
responder, it breaks. Otherwise, it seems to work great.
I'll be honest, I don't understand the responder chain, and I'm
about to read through cocoa fundamentals, but: could somebody give
me a hint how to intercept/receive the message sent directly to the
textview?
_______________________________________________
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