• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How well can genstrings process indirect names?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How well can genstrings process indirect names?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: NSPredicate format strings: How to quote a space in a key path?
  • Next by Date: Re: Is substitution of block-function parameters OK when it's an object type?
  • Previous by thread: Re: NSPredicate format strings: How to quote a space in a key path?
  • Next by thread: Re: How well can genstrings process indirect names?
  • Index(es):
    • Date
    • Thread