Re: Subject: Re: Country codes vs. Language codes
Re: Subject: Re: Country codes vs. Language codes
- Subject: Re: Subject: Re: Country codes vs. Language codes
- From: Chuck Soper <email@hidden>
- Date: Wed, 15 Sep 2004 09:42:22 -0700
Thanks for your post. Do you know if @"SelectedCity" is supported and
documented? Is there a way to get this information on 10.2?
NSUserDefaultsController requires 10.3.
Thanks,
Chuck
At 8:30 AM +0200 9/15/04, Gerriet M. Denkmann wrote:
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