I have a Main menu set in my Application. It has App, Edit, View and Window menus. That is what I need in the main NSViewController.
However there is another NSViewController which the user can open, and I would like to add some menu items to Edit menu, while this NSViewController is active.
What is the standard was of achieving this?
You can use the NSMenuDelegate method such as
And inside this method you can Add/Remove or Enable/Disable the specific item based on specific conditions.