DLRadioButton
DLRadioButton copied to clipboard
deselect other radio buttons in tableView
I have tried radioButtons[radioButton.tag].deselectOtherButtons() in @objc @IBAction private func logSelectedButton(radioButton : DLRadioButton) function but it doesn't work I tried also method 2: for i in 0..<radioButtons.count{ if (radioButton.tag != i){ radioButtons[i].isSelected=false } } it does work but when selected Radiobutton all other radioButtons gets selected then deselected I am using swift 3 any help is appreciated