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 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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]