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 protected])
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]