• 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
How to obtain measurement unit setting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to obtain measurement unit setting


  • Subject: How to obtain measurement unit setting
  • From: Ricky Sharp <email@hidden>
  • Date: Tue, 28 Dec 2004 12:43:47 -0600

I've been unable to figure out what key is needed to obtain the measurement units (US or Metric) as can be set in the International prefs panel (this is under Panther/10.3.7).

NSUserDefaults.h seems to have all the keys for dates, times and numbers, except for the measurement units.

The reason I'd like this info is that my educational app displays a speed as part of a user's score.  I want to suffix the speed value with an appropriate unit (e.g. mph, km/h)

I'll file a bug if need be.

--
Rick Sharp
Instant Interactive(tm)

 _______________________________________________
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

  • Follow-Ups:
    • Re: How to obtain measurement unit setting
      • From: Rosyna <email@hidden>
    • Re: How to obtain measurement unit setting
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: month and day date ordering in date format
  • Next by Date: Re: How to obtain measurement unit setting
  • Previous by thread: month and day date ordering in date format
  • Next by thread: Re: How to obtain measurement unit setting
  • Index(es):
    • Date
    • Thread