Usage

TFGRelativeDateFormatter has similar cavets to a NSDateFormatter (it is used
internally) meaning its a good idea to cache instances and not modify the locale.
A handy class method +sharedFormatter is provided to get around this for the
common case where locale is never changed.

Thread Safety: TFGRelativeDateFormatter is fully thread safe on iOS 7 and
OS X 10.9 (Mordern 64-bit apps). Earlier versions are not however and its recommended
to only use an instance per thread. (More information about thread safety can be
found by reading the NSDateFormatter class reference.)

Installation

TFGRelativeDateFormatter is available throughCocoaPods, to install it simply add the following line
to your Podfile: