Hey!
menuitem = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedStringFromTable (@"Hide" @"GtkosxApplication", @"Hide menu item title"), appname] action: @selector (hide:) keyEquivalent: @"h”];
got
compile error: use of undeclared identifier 'NSLocalizedStringFromTable'
I’m not throwing in the towel yet. :)
Regards, Josh
Sorry, I clipped the obj message. Try this.
menuitem = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedStringFromTable (@"Hide" "GtkosxApplication", @"Hide menu item title"), appname] action: @selector (hide:) keyEquivalent: @"h”];
On Oct 2, 2014, at 9:18 PM, Joshua Pettus <jshpettus gmail com> wrote:
But these last two options you just gave, I got to compile with:
menuitem = [[[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedStringFromTable (@"Hide" "GtkosxApplication", @"Hide menu item title"), appname]] action: @selector (hide: ) keyEquivalent: @"h”]; (was missing a “[“)
|