• 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: Right way to get system preference values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Right way to get system preference values


  • Subject: Re: Right way to get system preference values
  • From: Chris Parker <email@hidden>
  • Date: Mon, 29 Oct 2001 11:03:53 -0800

Ryan -

With a locale set, you should be able to ask for keys like

NSTimeFormatString
NSDateFormatString
NSShortDateFormatString
NSTimeDateFormatString
NSShortTimeDateFormatString
NSDecimalSeparator
NSThousandsSeparator
NSCurrencySymbol

from [NSUserDefaults standardUserDefaults].

.chris

On Sunday, October 28, 2001, at 02:44 PM, Ryan Dary wrote:

I need to access how the system preferences stores the format string for
numbers and dates. Is there a right way to do this? Are there any
AppKit framework accessors for these values or do I have to poke around
in the preferences?


Thanks,

Ryan Dary
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Right way to get system preference values (From: Ryan Dary <email@hidden>)

  • Prev by Date: Re: TextEdit sample app question
  • Next by Date: How do I ...
  • Previous by thread: Right way to get system preference values
  • Next by thread: Re: Auto-Completion
  • Index(es):
    • Date
    • Thread