• 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
Re: NSString Drawing Accents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString Drawing Accents


  • Subject: Re: NSString Drawing Accents
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 14 Apr 2003 18:47:26 -0500

At 9:39 AM +1000 4/15/03, Karl Goiser wrote:
Ah, but I want to do it dynamically!!!

Writing

NSString *x = NSLocalizedString(@"fooWithoutAccents", @"foo comment"); // #1

is no less dynamic than writing

NSString *x = @"fooWithAccents"; // #2

and is in fact slightly moreso, since if there's a Localizable.strings file in the current language that has a "fooWithoutAccents" key, #1 will return the value of that key instead of "fooWithoutAccents".

What, exactly, are you trying to accomplish? If you explain it in a little more detail, we may be able to provide more help.

-- Chris

--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Application Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSString Drawing Accents
  • Next by Date: Executing nextKeyView from NSDrawer to NSWindow
  • Previous by thread: Re: Transparent Windows are Opaque to Classic
  • Next by thread: Saving Custom Attributes
  • Index(es):
    • Date
    • Thread