You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: