How to create a menu when a user right-clicks on the dock-icon of cocoa app on Mac?
cocoa, objective-c
Solution
Implement `applicationDockMenu:` in your app delegate to return the menu you want to use.
Problem
How to create a menu when a user right-clicks on the dock-icon of cocoa app on Mac? Thank you very much in advance! Max