Radio group class.
var onImage : UIImage¶ Image for on state. var offImage : UIImage¶ Image for off state. var textSize : CGFloat = 17.0¶ Text size. Default 17. var textColor : UIColor = UIColor.black¶ Text color. Default is black. var items : String = ""¶ Array of values. The radio group values should be divide by “|” character. var selectedItem : Int = 0¶ Selected item. Default is 0. func select(item index:Int)¶ Select item by index. Parameters index – Index to select.
Image for on state.
Image for off state.
Text size. Default 17.
Text color. Default is black.
Array of values. The radio group values should be divide by “|” character.
Selected item. Default is 0.
Select item by index.
index – Index to select.