A class created by Tim Davies.
Meet TDBadgedCell version 2
TDBadgedCell grew out of the need for TableViewCell badges and the lack of them in iOS (see the article explaining this on TUAW. TDBadgedCell was written originally using CGPaths but as more people began to use TDBadgeCell the more customisation people wanted.
You can set badgeColor and badgeColorHighlighted to modify the colour of the badges:
cell.badgeColor = [UIColor colorWithRed:0.792 green:0.197 blue:0.219 alpha:1.000];
You can also specify a border radius for your badges:
cell.badge.radius = 9;
and you can also turn on shadows for the cells selected state:
cell.showShadow = YES;
Below is an example of those different options enabled in the demo app.
Licence and that stuff
TDBadgedCell is a free to use class for everyone. I wrote it so people could have the badges Apple never provided us with. If you modify the source please share alike and if you think you've improved upon what I have written I recomend sending me a pull request.
Please note: If you are using TDBadgedCell in your project please make sure you leave credit where credit is due. Chances are I won't notice if you haven't left credit but karma will…