RadioControl - admiral-team/admiralui-ios GitHub Wiki

Class

The appearance and behavior of a toggle.


Declaration

public class RadioControl: CheckControl

Overview

Used to select between a number of mutually exclusive values. When one radio button in a group is selected, the other radio buttons in the group cease to be selected.

Live example

Configure a RadioControl

Class RadioControl inherit UIControl. Configuration selected state of RadioControl set isSelected property.

let radioControl = RadioControl()
radioControl.isSelected = true

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.