Skip to content

zemirco/swift-timeago

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-timeago

Build Status

Relative time / time ago for Swift.

Installation

  1. Copy TimeAgo.swift from ./swift-timeago/ into your project.

API

func timeAgoSince(date: NSDate) -> String

Usage

print(timeAgoSince(NSDate()))
// Just now

Test

cmd + u

License

MIT

About

Relative time / time ago for Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages