Top "Nsmenuitem" questions

The NSMenuItem class from AppKit.

Creating NSMenu with NSMenuItems in it, programmatically?

First, I'd like to point out that this question is probably already asked, I just couldn't find any answers from …

cocoa menu nsmenuitem nsmenu
How to add NSMenu Programmatically?

I didn't use storyboard and xib, just used only code. I would like to add "Edit" Menu Programmatically. My Questions …

macos swift nsmenu nsmenuitem
adding NSSubmenu item in NSMenuItem

I want to add a drop down menu in one of the entries in the NSMenu Item. (eg. If you …

cocoa nsmenuitem
Cannot seem to setEnabled:NO on NSMenuItem

I have subclassed NSMenu and connected a bunch of NSMenuItem's via Interface Builder. I have tested via the debugger to …

cocoa nsmenuitem nsmenu
NSMenuItem not being enabled?

I have an NSMenuItem called history which resides in a NSMenu called menu. When my program starts history doesn't have …

objective-c cocoa xcode nsmenuitem
How to connect a menu item to a custom action defined in the NSApplication delegate across nib files?

In my Cocoa app I have two NIB/XIB files that I need to connect: MainMenu.xib: contains a custom …

cocoa interface-builder xib nsmenuitem nsapplication
menu item is enabled, but still grayed out

I have a menu with several items created in interface builder. It looks fine there and 'enabled' is checked. But …

objective-c cocoa macos interface-builder nsmenuitem