A (Hopefully) simple menu problem
A (Hopefully) simple menu problem
- Subject: A (Hopefully) simple menu problem
- From: William Colsher <email@hidden>
- Date: Tue, 29 Jun 2004 15:59:37 -0400
I'm having a good deal of difficulty getting my head around menu enabling
(and how to get my methods called) in a multiple nib world. Specifically I
have:
1) The usual MainMenu.nib which contains among other things a menu item
"Edit Reference"
2) In another nib (LibraryDocument.nib) I have my LibraryDocument class that
knows when "Edit Reference" should be enabled and also knows what to do if
it is selected. There can be multiple library documents open of course.
I've learned about validateMenuItem: and it's implemented in my
LibaryDocument class.
So how the heck to I point the menu item at LibraryDocument? This has to be
simple right?
Thanks
Bill Colsher
_______________________________________________
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.