Latest 0.1.0
Homepage https://github.com/joshdholtz/NSDate-MinimalTimeAgo
License MIT
Platforms ios 6.0, requires ARC
Authors

NSDate category for very minimal style time ago.

  • Time Ago Output
    • Seconds – 45s
    • Minutes – 45m
    • Hours – 12h
    • Days – 5d
    • Weeks – 3w
    • Months – 10mo
    • Years – 2y

Examples


#import <NSDateMinimalTimeAgo/NSDate+MinimalTimeAgo.h> // If using CocoaPods
#import "NSDate+MinimalTimeAgo.h" // If dropped files from Classes directory in project directly

NSDate *somePastDate = [self somePastDate];
NSString *timeAgo = [somePastDate timeAgo];

Installation

Drop-in Classes

Clone the repository and drop in the .h and .m files from the "Classes" directory into your project.

CocoaPods

NSDateMinimalTimeAgo is available through CocoaPods, to install
it simply add the following line to your Podfile:

pod 'NSDateMinimalTimeAgo', '~> 0.1.0'

Author

Josh Holtz, [email protected], @joshdholtz

License

NSDateMinimalTimeAgo is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "NSDateMinimalTimeAgo",
    "version": "0.1.0",
    "summary": "NSDate category for very minimal style time ago",
    "description": "                    Yeah son! NSDate category for very minimal style time ago.n",
    "homepage": "https://github.com/joshdholtz/NSDate-MinimalTimeAgo",
    "license": "MIT",
    "authors": {
        "Josh Holtz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/joshdholtz/NSDate-MinimalTimeAgo.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "public_header_files": "Classes/*.h",
    "source_files": "Classes/*"
}

Pin It on Pinterest

Share This