swift-timeago
September 11, 2015 ยท View on GitHub
Relative time / time ago for Swift.
Installation
- Copy
TimeAgo.swiftfrom./swift-timeago/into your project.
API
func timeAgoSince(date: NSDate) -> String
Usage
print(timeAgoSince(NSDate()))
// Just now
Test
cmd + u
License
MIT