One Quickie


Determining current localization you're running in. (Random->General)
You can use this to find which of the user's preferred localizations/locales that is also supported by your app. (translation, what localization you're currently running in)
NSString *languageused = [[[NSBundle mainBundle] preferredLocalizations] objectAtIndex: 0];
(thanks to Glenn Fawcett for this one!)



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com