> On 8 Jan 2015, at 11:52 am, Ken Thomases <k...@codeweavers.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com