Inherits from SCTextFieldCell : SCControlCell : SCCustomCell : SCTableViewCell : UITableViewCell
Declared in SCTableViewCell.h

Overview

This class functions as a cell with a UITextField control with numeric values. The bound property of this cell must be of type NSNumber, int, float, or double. SCNumericTextFieldCell defines its own validation rules according to the following criteria: - Value is valid only if it’s a numeric value. - If minimumValue is not nil, then value is only valid if it’s greater than or equal to this value. - If maximumValue is not nil, then value is only valid if it’s less than or equal to this value. - If allowFloatValue is FALSE, then value is only valid if it’s an integer value.

Tasks

Configuration

Properties

allowFloatValue

If FALSE, only integer cell values are valid. Default: TRUE.

@property (nonatomic, readwrite) BOOL allowFloatValue

Declared In

SCTableViewCell.h

displayZeroAsBlank

If TRUE, an empty space is displayed if the bound value equals zero. Default: FALSE.

@property (nonatomic, readwrite) BOOL displayZeroAsBlank

Declared In

SCTableViewCell.h

maximumValue

The maximum valid cell value.

@property (nonatomic, copy) NSNumber *maximumValue

Declared In

SCTableViewCell.h

minimumValue

The minimum valid cell value.

@property (nonatomic, copy) NSNumber *minimumValue

Declared In

SCTableViewCell.h

numberFormatter

The number formatter responsible for converting the cell’s numeric value to a string and vice versa.

@property (nonatomic, readonly) NSNumberFormatter *numberFormatter

Declared In

SCTableViewCell.h