Documentation for MapLib/RadioGroupControl.swift

class RadioGroupControl : UIControl

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.