• 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
Which is correct? (itemWithTitle & NSlocalizedString)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Which is correct? (itemWithTitle & NSlocalizedString)


  • Subject: Which is correct? (itemWithTitle & NSlocalizedString)
  • From: Keith Blount <email@hidden>
  • Date: Sun, 3 Sep 2006 07:35:57 -0700 (PDT)

Hello,

A really simple question that I'm not sure about:

When getting a menu item using -itemWithTitle:, which
will correctly work for localized .nib files?

item = [menu itemWithTitle:@"Some Title"];

or

item = [menu itemWithTitle:NSLocalizedString(@"Some
Title",nil)];

I haven't localized yet but would like to make sure my
app doesn't need to much recoding when I do...

Thanks in advance - sorry if this is a silly quesiton.
Keith

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Which is correct? (itemWithTitle & NSlocalizedString)
      • From: Greg Titus <email@hidden>
  • Prev by Date: Re: How to make Metronome?
  • Next by Date: Re: Which is correct? (itemWithTitle & NSlocalizedString)
  • Previous by thread: NSKeyValueChangeSetting and change dictionary values
  • Next by thread: Re: Which is correct? (itemWithTitle & NSlocalizedString)
  • Index(es):
    • Date
    • Thread