The Cocoa Framework automatically adds items that I don't want to my app's menus. For example it adds a character palette. I get rid of this by using this code in my AppController:
Is there some similar way to get rid of the "Start Dictation..." item that XCode 6.1 adds to the Edit menu? I can't find anything about this in XCode Help.
Code:
+ (void) initialize //override NSObject initialize so I can initialize the user defaults
{
NSMutableDictionary *defaultValues = [NSMutableDictionary dictionary];
...
//Get rid of Special characters menu item in edit menu:
[defaultValues setObject: [NSNumber numberWithBool: YES] forKey:@"NSDisabledCharacterPaletteMenuItem"];
[[NSUserDefaults standardUserDefaults] registerDefaults: defaultValues];
}
Is there some similar way to get rid of the "Start Dictation..." item that XCode 6.1 adds to the Edit menu? I can't find anything about this in XCode Help.