Re: Localization + NSGlobalDomain + AppleMeasurementUnits?
Re: Localization + NSGlobalDomain + AppleMeasurementUnits?
- Subject: Re: Localization + NSGlobalDomain + AppleMeasurementUnits?
- From: mark <email@hidden>
- Date: Sun, 02 Jan 2005 12:17:12 -0800
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:
This email sent to email@hidden