public class DSSelectionControl: UIView
An abstract base component for selection controls. It should not be used externally.
DSSelectionControl is the base class for selection controls such as DSCheckbox and DSRadio. To create a similar component, the following properties and methods should be overridden:
An Enterprise-styled push button element in the style of a checkbox. It includes properties for providing a label.
An Enterprise-styled push button element in the style of a radio button. It includes properties for providing a label.
@IBInspectable public var title: String = ""
The text to be displayed next to the radio.
@IBInspectable public var appliesBackgroundColorToSuperview: Bool = false
Automatically makes superview background color match when enabled/disabled
@IBInspectable public var isEnabled: Bool = true
Returns true if the component is enabled and allows checking/unchecking.
@IBInspectable public var isChecked: Bool = false
When true, the radio is checked. Unchecked otherwise.
@IBInspectable public var groupName: String? = nil
A shared group name that is read by Voiceover to signify if this is part of a group of checkboxes. They won't be linked in any way. It should be readable and not an identifier. (e.g. "Notifications to Receive")
public override var accessibilityTraits: UIAccessibilityTraits
public override var accessibilityHint: String?
public override func awakeFromNib()
public override func prepareForInterfaceBuilder()