firstResponder help
firstResponder help
- Subject: firstResponder help
- From: James Mooney <email@hidden>
- Date: Fri, 28 Mar 2003 13:41:22 -0500
I am going nuts.
I can not find any documentation on FirstResponder as it relates to
Interface builder.
I completely understand the function of the NSReponder class. I
understand Objective C. I understand how to create classes in
Interface builder. I am completely lost and read quite a bit and can
not find anything about how FirstResponder works and talks to the
application. When I look where it's class is, I see it is a Subclass of
NSObject, not NSResponder. ??weird??
Okay, so I figure there is some .h file that tells me about
FirstResponder but cannot find anything. If FirstResponder has
methods......where are they defined? Does anyone know of a place that
explains the operation and usage of FirstResponder?
Here is another one on FirstResponder. If you open the Sketch example
from apple .... /Developer/Examples/Appkit/Sketch there is a nib in
the resources called Draw2.nib. The FirstResponder has 90 actions.
Yet, some actions are dark and some are light colored. I would figure
that the ones light-colored are ones that are not implemented. This
would start me to think that FirstResponder might be a Protocol or
Category. Well this is where I get completely befuddled. The
application implements a FirstResponder:newDocument but in this project
is not dark but light colored.
What is FirstResponder and how can in this example be using the method
newDocument?
I have one hair left and got my fingers on it......
Jim
_______________________________________________
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.