Handling menu actions in doc-based apps
Handling menu actions in doc-based apps
- Subject: Handling menu actions in doc-based apps
- From: Dan Price <email@hidden>
- Date: Thu, 30 Mar 2006 12:13:46 +0100 (BST)
Heres the situation. I have my menubar in
MainMenu.nib and my model in MyDoc.nib. I need to have
menu-items linked to actions in the model but this
doesnt seem to be possible because the doc instance
is in the other nib. I can sort-of get it work by
adding the doc-action names to the FirstResponder
class in MainMenu.nib, connecting the menu items to
those and ensuring the document view has like-named
actions and is the First Responder. This isnt ideal
because it means using the document-view to pass on
actions to the NSDocument subclass. Am I missing something?
___________________________________________________________
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden