• 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: First Responder target?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: First Responder target?


  • Subject: Re: First Responder target?
  • From: Fredrik Olsson <email@hidden>
  • Date: Fri, 30 Jun 2006 11:59:01 +0200

Paul Lynch skrev:

On 30 Jun 2006, at 09:27, Fredrik Olsson wrote:

Setting the first responder as target in IB is easy, but I can not find how to set it up manually in code. Should I set NSApp target, the NSResponder class, something completely different?

I do not think I should need to go through the trouble of finding the key window, etc at least?

No.

First responder is a nil target - this only applies, obviously, to certainly classes that support target/action.

Ah, could not see the forest for all the trees :). Naturally, why should it be any more complicated that that.

Thank Paul (And Jordan)


// Fredrik Olsson _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >First Responder target? (From: Fredrik Olsson <email@hidden>)
 >Re: First Responder target? (From: Paul Lynch <email@hidden>)

  • Prev by Date: Re: First Responder target?
  • Next by Date: RE: Sorting an NSTableView by code
  • Previous by thread: Re: First Responder target?
  • Next by thread: Re: First Responder target?
  • Index(es):
    • Date
    • Thread