ALRadioButtons icon indicating copy to clipboard operation
ALRadioButtons copied to clipboard

Getting an blank page

Open udayFAI opened this issue 1 year ago • 0 comments

import ALRadioButtons

class RadioButtonsTableViewCell: UITableViewCell {

@IBOutlet var radioButtons: ALRadioGroup!

lazy var radioGroup = ALRadioGroup(items: [
       .init(title: "title1", subtitle: "subtitle1"),
       .init(title: "title2", subtitle: "subtitle2", detail: "Detail"),
       .init(title: "title3"),
   ], style: .grouped)

override func awakeFromNib() {
    super.awakeFromNib()
    radioButtons = ALRadioGroup(items: [
        .init(title: "title1"),
        .init(title: "title2"),
        .init(title: "title3")
    ], style: .grouped)
    radioButtons.axis = .vertical
    radioButtons.selectedIndex = 0
    radioButtons.addTarget(self, action: #selector(radioGroupSelected(_:)), for: .valueChanged)
    radioButtons.allowDeselection = true
}

}

Can you please help me where can I did wrong ! ?

udayFAI avatar Jan 25 '24 04:01 udayFAI