• 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: Inches, Centimeters, and NSMeasurementUnit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inches, Centimeters, and NSMeasurementUnit


  • Subject: Re: Inches, Centimeters, and NSMeasurementUnit
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 25 Apr 2002 09:27:37 -0400

On Thursday, April 25, 2002, at 07:43 AM, Gonzalo Castro wrote:

Hello,

The code below always returns "Inches" for me.


NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
id measuremenUnits = [defs objectForKey:@"NSMeasurementUnit"];

NSLog(@"measuremenUnits = %@", [measuremenUnits description]);


When I put Spanish or French at the top of the language list in
my System Preferences' International control panel, then logout
and log back in as the same user, I expect to get back "Centimeters"


language only effects, well, language

I'd have expected another tab under the International prefs... I'd say file a bug.
_______________________________________________
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: Inches, Centimeters, and NSMeasurementUnit
      • From: Chris Ridd <email@hidden>
References: 
 >Inches, Centimeters, and NSMeasurementUnit (From: Gonzalo Castro <email@hidden>)

  • Prev by Date: Re: Where to put dataSource routines
  • Next by Date: Re: Inches, Centimeters, and NSMeasurementUnit
  • Previous by thread: Inches, Centimeters, and NSMeasurementUnit
  • Next by thread: Re: Inches, Centimeters, and NSMeasurementUnit
  • Index(es):
    • Date
    • Thread