I’ve been working hard to improve the class and, though I’ve said it already, I’m very glad with how it’s turning out. You’ll notice the thumbnail for this post looks rather different from the previous snapshots. That’s because I wanted to show off the calendar’s visual versatility, as well as a couple new features in this version; namely, text color for weekends, and the ability to hide the days of adjacent months. As always, these are changeable in both code and in the property list in the IDE. The other shots looked a bit crazy, but this one I think has a nice, sleeker look — as may be used.
Head over and download it!
So what’s new in Version 1.1:
- Header Height — the total height of the header area (i.e. “January 2012″)
- Header Padding — padding for the header area to give a little space from surrounding areas
- Header Bold — an option as to whether or not the header is drawn as bold
- Week Height — the total height of the area for week names
- Week Bold — whether or not the names are in bold
- Hide Adjacent Months — an option to hide the days of adjacent months
- Border Thickness — an “edge” for the entire calendar that exposes the background
- Highlight Today — an option to highlight the current date or not
- Highlight Color — the color of highlighted days text
Well, I believe that’s it. Honestly I put quite a bit more work into it, so I may have forgotten a change or two. The rest is code changes, optimization and the like. As it’s web based, I’m always trying to find ways of speeding up the drawing process. Fortunately, it’s ultimately just a picture, so the transfer from the server to the client isn’t too bad (depending on the size).
As always, I’m glad for suggestions!