• 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: 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


References: 
 >First Responder (From: Robert Goldsmith <email@hidden>)

  • Prev by Date: Re: Would Any Developers Use This?
  • Next by Date: Re: Would Any Developers Use This?
  • Previous by thread: Re: First Responder
  • Next by thread: Drawers
  • Index(es):
    • Date
    • Thread