I have created my mainmenu in one of my window xibs. My application has multiple windows and the mainmenu should be the same for all of them. But, for each window some of the items will be disabled and others enabled. The main problem that I see is the selectors. Since every window controller class (mm) implements some of the functions how can I use the interface builder to set the selectors across multiple controllers.
I guess I need some sort of a "MainMenu Manager" class that will know all of the window controllers that "wants" to get called from the main menu and also the manager will have the code for enabling/disabling items when switching between windows.
Does that make sense? am I missing something here? If not - can you provide any help on implementing this manager in terms of application flow? (It should probably init the main menu before I load my first application window)
Thanks,