Re: Displaying a scaling, relative time or date
Re: Displaying a scaling, relative time or date
- Subject: Re: Displaying a scaling, relative time or date
- From: Graham Cox <email@hidden>
- Date: Thu, 08 Jan 2015 12:12:55 +1100
> On 8 Jan 2015, at 11:52 am, Ken Thomases <email@hidden> wrote:
>
> If you can require 10.10 or iOS 8, there's a new class for this: NSDateComponentsFormatter. There's no class reference for it yet. It's described in the Foundation release notes <https://developer.apple.com/library/mac/releasenotes/Foundation/RN-Foundation/#10_10Formatters> and in its header file.
>
> If you can't require those versions of the OSes, then I think you have to roll your own. Or find a third-party library/framework/class.
Thanks Ken, I'll check it out. Not sure about requiring 10.10 at the moment.
--Graham
_______________________________________________
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