-[NSBundle preferredLocalizations]
-[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