I’ve put together an example project to demo how the code works at stevenhuey/PrettyDates. It makes use of CocoaPods to manage dependencies so make sure to use the .xcworkspace file and run:
before trying to build and run the app.
When you save yourself some time generating some nice relative timestamps in your next app make sure give @jonhocking a mention on Twitter.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.