Country code or name
Country code or name
- Subject: Country code or name
- From: Simon Stapleton <email@hidden>
- Date: Fri, 12 Sep 2003 17:44:46 +0200
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.