I’ve always quite liked how GitHub displays a summary of ones activity over the past year.
I have been working on a side project for the last while which needs a view like this so I decided to create my own. I ended up spending a lot of time in the NSCalendar and NSDateComponents classes which I had never used before. Here’s how it turned out:
The code is available here.