• 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: Simple question: getting 'locale' dictionary for NSCalendarDate class routine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple question: getting 'locale' dictionary for NSCalendarDate class routine


  • Subject: Re: Simple question: getting 'locale' dictionary for NSCalendarDate class routine
  • From: Jeremy Dronfield <email@hidden>
  • Date: Fri, 16 Apr 2004 21:51:21 +0100

[myCalendarDate descriptionWithLocale:[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]]

will give you the default locale on the user's machine.

-Jeremy

===================================
SkoobySoft, home of viJournal
email: email@hidden or visit:
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================

On 16 Apr 2004, at 8:36 pm, Frederick C. Lee wrote:

The NSCalendarDate doc talks about using the 'locale' dictionary with such routines as:

- (NSString *)descriptionWithLocale:(NSDictionary *)locale

My question: how do I access this 'locale' dictionary?

Thanks in advance.

Ric.
_______________________________________________
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.
_______________________________________________
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: Simple question: getting 'locale' dictionary for NSCalendarDate class routine
      • From: mmalcolm crawford <email@hidden>
References: 
 >Simple question: getting 'locale' dictionary for NSCalendarDate class routine (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: nstableColumn bindings and cells
  • Next by Date: Re: Getting the GMT time
  • Previous by thread: Re: Simple question: getting 'locale' dictionary for NSCalendarDate class routine
  • Next by thread: Re: Simple question: getting 'locale' dictionary for NSCalendarDate class routine
  • Index(es):
    • Date
    • Thread