Defines objects that are used as command items in menus.
- macOS 10.0+
NSMenu class includes some private functionality needed to maintain binary compatibility with other components of Cocoa. Because of this fact, you cannot replace the
NSMenu class with a different class, but you can subclass it if necessary. (Prior to OS X v10.5,
NSMenu conformed to