Get Updates By E-mail 

Article Written By:
Johann Dowa

Extensive Open Source Category Greatly Simplifying NSDate Usage And Adding Time Periods

  •  
  •  
  •  
  •  
  •  

Late last year I mentioned the NSMoment Library that simplifies formatting, parsing and validating links.

Here’s an open source library in the form of an NSDate category submitted by Matthew York called DateTools that provides a number of extensions inspired by .NET’s excellent DateTime and time periods Library.

DateTools allow you to easily calculate time ago based on an entered date, provides easy access to date components, easy adding and subtracting from dates, date comparison, date formatting, and time periods.

A nice example app detailing usage is included.

You can find Date Tools on Github here.

An excellent library greatly simplifying common NSDate tasks.

Thanks to Matt for the submission.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments