Implement this method to customize the menu of a pop-up–style path.
- macOS 10.5+
The path cell that sent the message.
The pop-up menu to be displayed.
This method is called before the pop-up menu is shown. At this time, you can further customize the menu as required, adding and removing items. This method is called only when the style is set to
Implementation of this method is optional.