NSDates and natural language ...
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