You can use the -s flag to genstrings to tell it to use your own prefix
instead of "NSLocalizedString".  For example, passing "-s MyString"  would
catch calls to MyString(), MyStringFromTable(), MyStringWithDefaultValue(),
etc.  However, these functions must take the same arguments as the default
NSLocalizedString macros, so you don't really gain much if you're just
looking to reduce verbosity without changing functionality.

More info here:
http://developer.apple.com/Mac/library/documentation/Cocoa/Conceptual/LoadingResources/Strings/Strings.html#//apple_ref/doc/uid/10000051i-CH6-SW11

-BJ
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to