The missing iOS radio buttons group.
let radioGroup = RadioGroup(titles: ["First Option Title", "Another Option Title", "Last"]) radioGroup.selectedIndex = 0 radioGroup.addTarget(self, action: #selector(optionSelected), forControlEvents: .valueChanged)
radioGroup.titleAlignment = .right radioGroup.isButtonAfterTitle = true // default is false => button left (leading) relative to title
radioGroup.tintColor = .green // surrounding ring radioGroup.selectedColor = .red // center circle
radioGroup.buttonSize = 42.0 radioGroup.spacing = 12 // vertical spacing between options radioGroup.itemSpacing = 12 // horizontal spacing between button and title
MiniLayout.swift to your Xcode project.