• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inserting my own Responder before App?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Inserting my own Responder before App?
      • From: Rick Mann <email@hidden>
References: 
 >Inserting my own Responder before App? (From: Rick Mann <email@hidden>)
 >Re: Inserting my own Responder before App? (From: Ken Thomases <email@hidden>)
 >Re: Inserting my own Responder before App? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: [ANN] TransactionKit, Lockless Multi-Reader, Multi-Writer Transaction Capable Hash Tables
  • Next by Date: Re: Inserting my own Responder before App?
  • Previous by thread: Re: Inserting my own Responder before App?
  • Next by thread: Re: Inserting my own Responder before App?
  • Index(es):
    • Date
    • Thread