Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UITableView row count like iOS Mail app

How do you add counts inside of a UITableView UITableViewCell like the iOS Mail app?

enter image description here

like image 520
epaps Avatar asked Jun 23 '11 21:06

epaps


1 Answers

In addition to DDBadgeViewCell (mentioned by @micpringle), there's also TDBadgedCell.

I tried out both and found TDBadgedCell to suit my needs more, as it puts the badges over the cell's text rather than under it, meaning the badges are visible even for cells with long texts.

The project also seems to be (currently, at least) more active than DDBadgeViewCell. (That being said, there seems to be a bug in the non-ARC version of TDBadgedCell.)

like image 181
newenglander Avatar answered Nov 23 '22 00:11

newenglander