Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 499 Bytes
//
// NSDate+HumanizedTime.h
// HumanizedTimeDemo
//
// Created by Sarp Erdag on 2/29/12.
// Copyright (c) 2012 Sarp Erdag. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, NSDateHumanizedType)
{
NSDateHumanizedSuffixNone = 0,
NSDateHumanizedSuffixLeft,
NSDateHumanizedSuffixAgo
};
@interface NSDate (HumanizedTime)
- (NSString *) stringWithHumanizedTimeDifference:(NSDateHumanizedType) humanizedType withFullString:(BOOL) fullStrings;
@end
// end