https://github.com/hyperoslo/timeago
https://github.com/hyperoslo/timeago
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hyperoslo/timeago
- Owner: hyperoslo
- License: other
- Created: 2015-06-01T14:01:44.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-18T09:24:21.000Z (over 10 years ago)
- Last Synced: 2024-05-09T16:36:11.751Z (about 2 years ago)
- Language: Swift
- Size: 602 KB
- Stars: 11
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TimeAgo
[](https://travis-ci.org/hyperoslo/TimeAgo)
[](http://cocoadocs.org/docsets/TimeAgo)
[](http://cocoadocs.org/docsets/TimeAgo)
[](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.