How well can genstrings process indirect names?
How well can genstrings process indirect names?
- Subject: How well can genstrings process indirect names?
- From: Daryle Walker <email@hidden>
- Date: Tue, 05 Aug 2014 18:03:39 -0400
If I change my localizable code from NSLocalizedString(@“My Key”, @“My Comment”) to NSLocalizedStringFromTable(@“My Key”, @“My Table”, @“My Comment”), can I use the class name as the table name via a macro? If I have a object type “MyClass" in “MyClass.m," do I have to use @“MyClass” directly, or can I hide it between a macro constant? A macro function? A full-blown Objective-C expression? Is the genstrings program smart enough to handle "NSStringFromClass([self class])"?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden