Re: Country code or name
Re: Country code or name
- Subject: Re: Country code or name
- From: Buddy Kurz <email@hidden>
- Date: Fri, 12 Sep 2003 16:16:08 -0700
What about using the address book api to get the current 'me' and
corresponding address
On Friday, September 12, 2003, at 08:44 AM, Simon Stapleton wrote:
Hi there collective genius
Well, I've been loking all over the place, but I can't seem to find
it. I need to be able to at least guess the current user's country
(not timezone, that's not specific enough, or language, that doesn't
work either). I'd like to avoid having to code this all up myself,
but can do if needs be.
The best I can do at the moment is to query NSTimeZone for the current
time zone setting and make a guess from there (as a part of initial
app setup, to provide a reasonable default) and then set a preference
in the app's domain. But it seems to me that there should be a better
way.
Any ideas, RTFMs, whatever, would be appreciated.
Simon
--
Objective-C Enterprise Objects resurrected on Mac OS X.
<http://www.tufty.co.uk/Software/EOPage.html>
--
PGP Key Id : 0x50D0698D
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.