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.
About this entry
You’re currently reading “LNSYearView,” an entry on Mark Alldritt's Journal
- Apr 03 2014 / 12:16 pm
- Late Night Software