• 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
NSDates and natural language ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDates and natural language ...


  • Subject: NSDates and natural language ...
  • From: Mic Pringle <email@hidden>
  • Date: Mon, 30 Mar 2009 13:15:46 +0100

Hi,

Is anyone aware of any frameworks/classes that have been released that
allow you to return natural language from a date ?

What I mean by this is if, for example, I pass todays date it would
return 'Today', yesterdays date would return 'Yesterday',  25th March
08 would return 'Last week' etc

I know I can work this out manually using NSTimeInterval, some
calculations and plenty of if statements but I was hoping there was
already something out there.

Thanks,

-Mic
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSDates and natural language ...
      • From: email@hidden (Laurent Demaret)
  • Prev by Date: Delayed Undo Problem
  • Next by Date: Small white border around custom cell in NSTableView ...
  • Previous by thread: Re: Delayed Undo Problem
  • Next by thread: Re: NSDates and natural language ...
  • Index(es):
    • Date
    • Thread