SettingsSwitchTableViewCell

Description

The SettingsSwitchTableViewCell class is used to work with a cell containing a switch.

Inheritance Hierarchy

          NSObject

          UIResponder

          UIView

          UITableViewCell

          CommonTableViewCell

          SwitchTableViewCell

          SettingsSwitchTableViewCell

Supported Protocols

<NSCoding>

<NSObject>

<SettingsCell>

<TableContaintedViewProtocol>

<UIAppearance>

<UIAppearanceContainer>

<UIDynamicItem>

<UIGestureRecognizerDelegate>

Comments

Appearance of the cell with a switch in the Enabled state:

Properties inherited from SwitchTableViewCell

switchControl. The switch between two values.

Properties inherited from <SettingsCell>

delegate. A delegate implementing methods used to work with settings menu cell.

key. Data key.

title. Cell title.

Properties inherited from <TableContaintedViewProtocol>

height. Required object height.

Methods

switchToStateOn:. Changes switch state in the cell.

Methods inherited from <SettingsCell>

initWithTitle:delegate:key:. Creates a cell with specifying of title, delegate and data key.

reloadData. Reloads cell data.

Static Methods

switchCellWithTitle:delegate:key:. Creates a cell with a checkbox with specifying its title, delegate and key.

See also:

Classes. The Mobile Application Component