An open API service indexing awesome lists of open source software.

https://github.com/hyperoslo/timeago


https://github.com/hyperoslo/timeago

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# TimeAgo

[![CI Status](http://img.shields.io/travis/hyperoslo/TimeAgo.svg?style=flat)](https://travis-ci.org/hyperoslo/TimeAgo)
[![Version](https://img.shields.io/cocoapods/v/TimeAgo.svg?style=flat)](http://cocoadocs.org/docsets/TimeAgo)
[![License](https://img.shields.io/cocoapods/l/TimeAgo.svg?style=flat)](http://cocoadocs.org/docsets/TimeAgo)
[![Platform](https://img.shields.io/cocoapods/p/TimeAgo.svg?style=flat)](http://cocoadocs.org/docsets/TimeAgo)

## Usage

```swift
let now = NSDate()
let agoString = now.timeAgo
```

## Installation

**TimeAgo** is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'TimeAgo'
```

## Author

Hyper, ios@hyper.no

## License

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