Re: First Responder
Re: First Responder
- Subject: Re: First Responder
- From: Ondra Cada <email@hidden>
- Date: Mon, 10 Sep 2001 16:44:33 +0200
Robert,
>
>>>>> Robert Goldsmith (RG) wrote at Mon, 10 Sep 2001 01:19:45 +0100:
RG> I'm still on my learning experience of AppKit and IB. One subject I
RG> have not found anything about is the First Responder. now, I gather
RG> it is some sort of chain or collection of clas instances that can be
RG> set up to handle incoming events. I see no point in this....
Well, the _first approximation_ is that FR is just a "variable", not a fixed
object. If you send a message "to First Responder", you are sending it to
whatever object just happens at the moment to contain the text cursor (more
or less). That alone would be a great improvement to the "basic" situation,
when your menu item sends a message to some statically selected object.
There is much more to FR, though -- study the details in NSResponder.html.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc