Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localization + NSGlobalDomain + AppleMeasurementUnits?



What constitutes a "documented" key?  It IS mentioned as a key in the
documentation (user defaults:concepts:DefaultsDomains,
<http://developer.apple.com/documentation/Cocoa/Conceptual/UserDefaults/Conc
epts/DefaultsDomains.html>)

I need to run on 10.2, as well as 10.3; however, I'll look up the CFLocale
API for future codeŠ

Thanks,

Mark

> From: Finlay Dobbie <email@hidden>
> Reply-To: email@hidden
> Date: Sun, 02 Jan 2005 17:59:26 +0000
> To: Mark Dawson <email@hidden>
> Cc: email@hidden
> Subject: Re: Localization + NSGlobalDomain + AppleMeasurementUnits?
> 
> On Sun, 2 Jan 2005 09:57:03 -0800, Mark Dawson <email@hidden> wrote:
>> (c) (a+b)  The overriding question: How do I determine what the
>> measurement units are/is there a way that doesn't have be localized to
>> tell what the measurement units are?
> 
> You should not rely on undocumented keys in the defaults database. I
> believe the only supported way of doing this is via the CFLocale API,
> which was introduced in Mac OS X v10.3.
> 
> -- Finlay

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Localization + NSGlobalDomain + AppleMeasurementUnits? (From: Finlay Dobbie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.