Created
August 22, 2021 19:30
-
-
Save gravicle/e98504e10d403e7b8c244439cc6e088d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSMenuItem *menu = [[NSMenuItem alloc] initWithTitle:@"Testing" action:nil keyEquivalent:@""]; | |
NSMenu *mainMenu = [NSApp mainMenu]; | |
[mainMenu addItem:menu]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment