Subject: Re: Country codes vs. Language codes
Subject: Re: Country codes vs. Language codes
- Subject: Subject: Re: Country codes vs. Language codes
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 15 Sep 2004 08:30:02 +0200
Hi Uli,
if you want to know where a computer is located (as opposed to what
language the administrator prefers to read) what about:
id a = [ [ NSUserDefaultsController sharedUserDefaultsController ]
values ];
NSArray *lastSelectedCity = [ a valueForKey: @"SelectedCity" ];
/* Format of lastSelectedCity array:
* Index: Content: Example Remark
* 0 Latitude
* 1 Longitude
* 2 Timezone 0 = UTC, 1 = Honolulu, ..., 30 = Pago Pago
* 3 Region Europe/Oslo
* 4 Abbrv. NO often empty
* 5 City Oslo
* 6 Country Norway sometimes empty, e.g. Taipeh
**/
Gerriet.
_______________________________________________
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