NSPopUpButton class defines objects that implement the pop-up and pull-down menus of the graphical user interface.
- macOS 10.0+
NSPopUpButton object uses an
NSPopUpButtonCell object to implement its user interface.
Note that while a menu is tracking user input, programmatic changes to the menu such as adding, removing, or changing items on the menu is not reflected.