Re: connecting the dots (two nib files)
Re: connecting the dots (two nib files)
- Subject: Re: connecting the dots (two nib files)
- From: Amul Goswamy <email@hidden>
- Date: Tue, 20 Jul 2004 14:20:24 -0700
You can add an action to the First Responder in the Classes tab and
connect the menu item to that action in the First Responder in the
Instances Tab. Then implement that action in the code for the view you
want to respond to that action. For more info, read about the
responder chain at the link below:
http://developer.apple.com/documentation/Cocoa/Conceptual/
BasicEventHandling/index.html?
http://developer.apple.com/documentation/
Cocoa/Conceptual/BasicEventHandling/Concepts/ActionEventMsg.html
If you want to use multiple nibs without using a document based app,
look at MultipleNibTabView or SimpleMultiWindow in
/Developers/Examples/InterfaceBuilder.
Amul Goswamy
Interface Builder
Apple
On Jul 20, 2004, at 1:55 PM, John Spicer wrote:
I'm struggling with connecting menu items in one nib file (the main
one) to a dialog in a 2nd nib file.
I have started with a document app template (even though it's not
really a document app) since that seemed the most likely. I like the
idea of these dialogs (and there will be a lot) only being loaded when
they are used.
I've been unable to figure out how to get this to work. I've read the
sample docs, but I'm still clueless.
Seems to be through the File's Owner but I'm still not getting it.
Help?
_______________________________________________
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.
_______________________________________________
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.