Re: First Responder Actions
Re: First Responder Actions
- Subject: Re: First Responder Actions
- From: Julien Jalon <email@hidden>
- Date: Wed, 7 Aug 2002 18:54:12 +0200
Le mercredi 7 ao{t 2002, ` 06:14 , Kerry Hazelgren a icrit :
I am trying to link up actions for items in my main menu to the First
Responder in the MainMenu.nib file. The problem is, if the first
responder is a window controller for a window in a separate nib file,
the main menu first responder doesn't know about the methods for the
other controller, so how do I link them up?
I have looked at the help for IB, as well as reading about the First
Responder in the documentation and in the O'Reilly books, but no help
on this. Looking at the Sketch.app example, I can see that the First
Responder in the nib file which contains it's menu bar "knows" about
actions for other window controllers, but those window controllers were
not add nor instantiated in that nib file, so how does it know about
them?!!!
in IB, select FirstResponder under NSObject in the "Classes" tab and add
actions at will.
--
Julien Jalon
<
http://software.julien-jalon.org>
_______________________________________________
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.