CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
2pods
DateInRegion is a wrapper around NSDate that exposes the properties of NSDateComponents, NSCalendar, NSTimeZone, NSLocale and NSDateFormatter. We are not there yet, but the intention is to replace your occurrence of NSDate with DateInRegion and get the same functionality plus lots of local date/calendar/time zone/formatter goodies. Thus offering date functions with a flexibility that I was looking for when creating this library:
NSDate()NSCalendar.currentCalendar()NSTimeZone.defaultTimeZone()NSLocale.currentLocale()Equatable & Comparable protocols betwen dates with operators. E.g. ==, !=, <, >, <=, >=Hashable protocol so the date can be used as a key in a Dictionary.date + 2.daysDateInRegion occurrences with some properties adjusted.License: MIT
JHDate is a wrapper around NSDate that exposes the properties of NSDateComponents, NSCalendar, NSTimeZone, NSLocale and NSDateFormatter. We are not there yet, but the intention is to replace your occurrence of NSDate with JHDate and get the same functionality plus lots of local date/calendar/time zone/formatter goodies. Thus offering date functions with a flexibility that I was looking for when creating this library:
NSDate()NSCalendar.currentCalendar()NSTimeZone.localTimeZone()==, !=, <, >, <=, >=date + 2.daysJHDate occurrences with some properties adjusted.License: MIT