Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A (Hopefully) simple menu problem



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.