Skip to main content

CheckboxControl

A view to check/uncheck an option.

open class CheckboxControl: _Control, AppearanceProvider 

Inheritance

_Control, AppearanceProvider

Properties

checkmarkHeight

public var checkmarkHeight: CGFloat = 16

container

public private(set) lazy var container = ContainerStackView()
.withoutAutoresizingMaskConstraints

checkbox

public private(set) lazy var checkbox = UIImageView()
.withoutAutoresizingMaskConstraints

label

public private(set) lazy var label = UILabel()
.withoutAutoresizingMaskConstraints

isSelected

override open var isSelected: Bool 

Methods

setUp()

override open func setUp() 

setUpAppearance()

override open func setUpAppearance() 

setUpLayout()

override open func setUpLayout() 

updateContent()

override open func updateContent() 

Did you find this page helpful?