• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: First Responder


  • Subject: Re: First Responder
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 11 May 2012 09:28:11 -0500

On 11 May 2012, at 8:56 AM, koko wrote:

> Now, if what is being said is that a view cannot participate in this process until the user clicks the view, well ok. But what good is the responder chain if all views that acceptFirstResponder are not part of it ?

Your understanding that only the focused view (among views) can be first responder is correct. This is reflected in "responder" being singular and not plural.

Imagine a window with several NSTextFields. Imagine Edit > Select All being selected. This sends a selectAll: message to the first responder (and up the responder chain until a handler is found, or the chain is exhausted). Making every NSTextField the first responder would make the effect of the select-all indeterminate, which is undesirable.

	— F


_______________________________________________

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: First Responder
      • From: koko <email@hidden>
References: 
 >Re: First Responder (From: Gregory Weston <email@hidden>)
 >Re: First Responder (From: koko <email@hidden>)

  • Prev by Date: Re: First Responder
  • Next by Date: Re: First Responder
  • Previous by thread: Re: First Responder
  • Next by thread: Re: First Responder
  • Index(es):
    • Date
    • Thread