Latest 1.0
Homepage https://github.com/xn1108100154/UITableViewCell-Badge
License MIT
Platforms ios 7.0, requires ARC
Authors

This is a category to add badge to your UITableViewCell easily.

UITableViewCell-Badge

Why?

TDBadgedCell is a nice UITableViewCell subclass that adds badges. But sometimes in your project, you don’t want your BaseTableViewCell to be a subclass of any cells. Or your BaseTableViewCell is already a subclass of other cell, such as MGSwipeTableCell. Now it is when you need UITableViewCell-Badge!

Example Usage

cell.badgeString = @"8721";
cell.badgeCornerRadius = @5;
cell.badgeColor = [UIColor blueColor];
cell.badgeFont = [UIFont fontWithName:@"Georgia" size:12];

or

cell.badgeView.text = @"8721";

Please see more usage in demo.

Requirements

  • ARC
  • iOS 7.0 and above

Installation

pod 'UITableViewCell-Badge'
  • Without CocoaPods:
    Drag the UITableViewCell-Badge folder to your project.

License

UITableViewCell-Badge is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UITableViewCell-Badge",
    "version": "1.0",
    "summary": "The easiest way to add badge to your UITableViewCell.",
    "homepage": "https://github.com/xn1108100154/UITableViewCell-Badge",
    "screenshots": "https://raw.githubusercontent.com/xn1108100154/UITableViewCell-Badge/master/demo.gif",
    "license": "MIT",
    "authors": {
        "XuNing": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/xn1108100154/UITableViewCell-Badge.git",
        "tag": "1.0"
    },
    "source_files": "UITableViewCell-Badge/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This