Hello,
I am trying to do some localization in a plugin... and apparently you
can't use NSLocalizedString in a plugin... so I am trying to use
NSLocalizedStringFromTableInBundle
NSString *NSLocalizedStringFromTableInBundle(NSString *key, NSString
*tableName, NSBundle *bundle, NSString *com
> If I do a NSBundle *thisBundle = [NSBundle bundleForClass:[self class]];
> it won't compile.
That code should work. Can you be more specific about the error? E.g.
your exact code and compiler error logs.
-Ben
___
Cocoa-dev mailing list (Cocoa-dev@l
> If I do a NSBundle *thisBundle = [NSBundle bundleForClass:[self class]]; it
> won't compile.
I'm going to go out on a limb and say you're using the above line in a
plain-C function rather than an Objective-C class. Is this correct?
'self' is meaningless/undefined outside of the Objective-C clas