Hello:
My default NSMenu has items which are not applicable to my app. How can I remove the unwanted items?
func applicationDidFinishLaunching(_ aNotification: Notification) {
item = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
func removeItem(at: Int){
}
What is the code for line 4?
The Default menu has the following:
App name, File, Edit, Format, Window, View, Help. I want to remove 4 of these.