Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (8 sloc) 0.355 kb
// This code copied from:
// http://stackoverflow.com/questions/902950/iphone-convert-date-string-to-a-relative-time-stamp
// By Carl Coryell-Martin and Gilean.
#import <Cocoa/Cocoa.h>
@interface NSDateFormatter (Extras)
+ (NSString *)dateDifferenceStringFromDate:(NSDate *)date;
+ (NSString *)compactDateDifferenceStringFromDate:(NSDate *)date;
@end
Jump to Line
Something went wrong with that request. Please try again.