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
Implement applicationDockMenu:
in your app delegate to return the menu you want to use.
Or, in MainMenu.xib, create an NSMenu instance and connect it to your NSApplication's dockMenu
outlet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With