Re: firstResponder help
Re: firstResponder help
- Subject: Re: firstResponder help
- From: James Mooney <email@hidden>
- Date: Fri, 28 Mar 2003 16:55:17 -0500
You know......if this was in a book or manual somewhere.......... it
would be a lot of help.
I greatly appreciate the clarification.
Jim
On Friday, March 28, 2003, at 04:42 PM, A.M. wrote:
These are methods that the windows and menus created as actions like
"copy:". They are part of the template project that you used when you
created your project. You can of course add your own. You might have
to delete menu items and other elements to delete them first. You
should read about "Nil-targeted actions". For example, when you hit
Apple-C for copy, this is a nil-targeted action and it sends the
message through the responder chain since it doesn't know in advance
who wants to know about the copy action. These are greyed out because
you cannot edit them- perhaps as a buffer against accidental deletion-
it's easy to override their default actions: just put something in the
responder chain higher up since as soon as there is a "hit", the app
stops traversing the chain.
On Friday, Mar 28, 2003, at 15:42 US/Eastern, James Mooney wrote:
This is in the IB "Classes" tab
Kinda....... if you click on the first responder in the gui
window.....has file permission, first responder, and perhaps a
window icon and some instaniated class of two you made
click on first responder and hit command (open apple key) 1
The window that appears shows the outlets and actions for first
responder?............if first responder is a pointer to the
Responder Chain, are these all the methods for the entire project?
On Friday, March 28, 2003, at 03:07 PM, A.M. wrote:
Black means "a declared and instantiated class" and grey means
"declared but uninstantiated class". This is in the IB "Classes" tab
right? Often, grey ones are classes that you can then instantiate
and show up black under your instantiated name.
On Friday, Mar 28, 2003, at 15:05 US/Eastern, James Mooney wrote:
So let me ask you this
I get the responder chain, and one person sent me a message saying
the FirstResponder just adds a method to the responder chain. I
understand the effect this has on the operation of the application
to some degree. Question.....why are some methods dark and some
light in the actions panel under the first responder?
Jim
On Friday, March 28, 2003, at 02:29 PM, A.M. wrote:
indow is just the programmer-specified widget or GUI element which
should be first in the NSResponder chain.
><><><><><><><><><
AgentM
email@hidden
><><><><><><><><><
AgentM
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.