Inherits from UIView
Declared in SCBadgeView.h

Overview

This class provides as a badge view similar to the one used by iPhone’s mail application to display the number of messages in an inbox. SCBadgeView is typically used by SCTableViewCell to display these kind of badges.

Sample use:

SCTableViewCell *cell = [SCTableViewCell cellWithText:@"Number of pending tasks"];
cell.badgeView.text = @"50";

See also: SCTableViewCell

Tasks

Configuration

Properties

color

The color of the badge.

@property (nonatomic, strong) UIColor *color

Declared In

SCBadgeView.h

font

The font of the text.

@property (nonatomic, strong) UIFont *font

Declared In

SCBadgeView.h

text

The text displayed by the badge.

@property (nonatomic, copy) NSString *text

Declared In

SCBadgeView.h