• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Country code or name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Country code or name


  • Subject: Re: Country code or name
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 16 Sep 2003 01:29:06 -0400

still, it gets you close.. :-)

another option is to look at the user's ME card, and examine the zipcode there, as well as country and whatnot


On Sep 16, 2003, at 1:27 AM, mmalcolm crawford wrote:


On Sep 15, 2003, at 10:23 PM, Scott Anguish wrote:

A simpler way to get the closest city without the rest of the details would be to use [[NSTimeZone localTimeZone] name], which in my case returns "America/Denver".
this however looks much better, and is supported

Unfortunately, it's not consistent; in my case it returns:
[[NSTimeZone localTimeZone] name]: US/Pacific

mmalc
_______________________________________________
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.

References: 
 >Re: Country code or name (From: Tom Harrington <email@hidden>)
 >Re: Country code or name (From: Scott Anguish <email@hidden>)
 >Re: Country code or name (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Country code or name
  • Next by Date: Re: Country code or name
  • Previous by thread: Re: Country code or name
  • Next by thread: Drag-and-drop in NSScrollView
  • Index(es):
    • Date
    • Thread