Re: Inserting my own Responder before App?
Re: Inserting my own Responder before App?
- Subject: Re: Inserting my own Responder before App?
- From: j o a r <email@hidden>
- Date: Wed, 23 Apr 2008 01:01:21 -0700
On Apr 23, 2008, at 12:46 AM, Rick Mann wrote:
My NSWindowController subclass is not automatically hooked up (I
tried). I am able to use the setNextResponder et al. to put it
*after* the app, but I can't figure out how to set it up so it'll be
*before* the app.
Did you hook it up to be the delegate of the window? That's how it
ends up in the responder chain. In this way it would appear *before*
the app, which typically is what you want. If you want to add
something *after* the app, don't use a window controller, use an
application delegate.
j o a r
_______________________________________________
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