• 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: mmalcolm crawford <email@hidden>
  • Date: Mon, 15 Sep 2003 11:47:10 -0700

On Sep 15, 2003, at 10:48 AM, Chuck Soper wrote:

Is there anyway that I can grab the text in the "System Preferences:Date & Time:Time Zone" Closest City field? For example, if the text reads, "New York - U.S.A.", how do I programmatically get that text from a Cocoa application?

[[NSUserDefaults standardUserDefaults] arrayForKey:@"com.apple.TimeZonePref.Last_Selected_City"]

I'm not sure of the exact format of the array, but...
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.

  • Follow-Ups:
    • Re: Country code or name
      • From: Tom Harrington <email@hidden>
References: 
 >Country code or name (From: Simon Stapleton <email@hidden>)
 >Re: Country code or name (From: mmalcolm crawford <email@hidden>)
 >Re: Country code or name (From: Chuck Soper <email@hidden>)

  • Prev by Date: Grabbing events from a full-screen Carbon Window
  • Next by Date: Document/Controller Object Confusion
  • Previous by thread: Re: Country code or name
  • Next by thread: Re: Country code or name
  • Index(es):
    • Date
    • Thread