Today is Leap Day, so I'd like to introduce you to a new Swift package I've been working on for over 2 years:
Time is a package that makes date and time calculations more expressive and safe in Swift. It's built on the power of Foundation's APIs, but smooths away their many rough and ambiguous edges. It relies heavily on Swift's generics to guarantee that the calculations you're performing are calendrically correct. If you'd like an overview of how it works, be sure to check out the documentation.
I'm releasing it today as an
0.9.0 version. I hope you will clone it and use it in your apps!