Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated usage in Readme

  • Loading branch information...
commit dc7df88dde393c3d4914d784a3d1ac16b3fafb71 1 parent 50f7a65
@tmdvs authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.markdown
View
4 README.markdown
@@ -4,6 +4,10 @@
### 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](http://www.tuaw.com/2010/01/07/iphone-devsugar-simple-table-badges/). TDBadgedCell was written originally using CGPaths but as more people began to use TDBadgeCell the more customisation people wanted.
+To set the content of your badge (NSString) simply do:
+
+ cell.badgeString = @"130990";
+
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];
Please sign in to comment.
Something went wrong with that request. Please try again.