TKMultiSwitch Class Reference
Inherits from | UIControl |
Declared in | TKMultiSwitch.h TKMultiSwitch.m |
Overview
TKMultiSwitch
a slide control with multiple options. Sort of like a UISwitch
mixed with a UISegmentControl
.
Tasks
-
– initWithItems:
-
indexOfSelectedItem
property -
selectionInset
property -
font
property -
style
property -
selectedTextColor
property -
textColor
property -
– selectItemAtIndex:animated:
Properties
indexOfSelectedItem
The index of the selected item.
@property (nonatomic, assign) NSInteger indexOfSelectedItem
Declared In
TKMultiSwitch.h
selectedTextColor
If the style is a filled selection, then this will be used for the current select label.
@property (nonatomic, strong) UIColor *selectedTextColor
Declared In
TKMultiSwitch.h
selectionInset
The select padding.
@property (nonatomic, assign) CGFloat selectionInset
Declared In
TKMultiSwitch.h