Skip to content

macOS - How to customize app delegate and handle menu bar events #6977

Discussion options

You must be logged in to vote

I was able to add the required methods in the shared app class and export it as an action however I needed to put it inside an #if statement so it won't be compiled for other platforms. This is fine however it also leads to code duplication.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jeromelaban
Comment options

Answer selected by JaiganeshKumaran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants