• 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
-[NSBundle preferredLocalizations]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-[NSBundle preferredLocalizations]


  • Subject: -[NSBundle preferredLocalizations]
  • From: Kai Brüning <email@hidden>
  • Date: Wed, 10 Feb 2010 14:52:34 +0100

Hi,

Apple’s documentation states about -[NSBundle preferredLocalizations]: "The localizations in the array are not returned in any particular order."

This makes no sense, I’d expect this to be true for -[NSBundle localizations], why I’d expect -[NSBundle preferredLocalizations] to be implemented similar to the following:

- (NSArray*) preferredLocalizations
{
  return [NSBundle preferredLocalizationsFromArray:self.localizations];
}

and the docu of -[NSBundle preferredLocalizationsFromArray:] says: "These strings are ordered in the array according to the current user's language preferences".

Could somebody with insight confirm whether this is a documentation bug?

(Sure, I could check the actual order. But if the documentation is correct, the result would be meaningless for the future.)

Thanks
Kai



_______________________________________________

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: -[NSBundle preferredLocalizations]
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: how to cancel / time out authorisation window through code
  • Next by Date: Re: NSXML and >
  • Previous by thread: how to cancel / time out authorisation window through code
  • Next by thread: Re: -[NSBundle preferredLocalizations]
  • Index(es):
    • Date
    • Thread