Hi all,
I'm trying to create a small app for a friend. What he wants is an app that swaps between windows on button presses and also from a menu item.
What I have done so far is to setup a function:
and in the MainMenu.xib I have added that function to the first responder and connected it to the NSMenuItem which is enabled and the state is off. But when I run the app the MenuItem is disabled and I am at a loss to why it is doing this. Any suggestions, as always will be appreciated.
Thanks,
Stephen
I'm trying to create a small app for a friend. What he wants is an app that swaps between windows on button presses and also from a menu item.
What I have done so far is to setup a function:
Code:
- (void)openFourthWindow:(NSMenuItem *)menuItem
and in the MainMenu.xib I have added that function to the first responder and connected it to the NSMenuItem which is enabled and the state is off. But when I run the app the MenuItem is disabled and I am at a loss to why it is doing this. Any suggestions, as always will be appreciated.
Thanks,
Stephen