Serialize value updates
Extremely simple checkbox control for iOS using CoreAnimation layers.
Included is a playground for playing with a collection of checkboxen.
isChecked
borderLineWidth
borderShape
uncheckedBorderColor
checkedBorderColor
checkShape
checkLineWidth
checkInserts
NOTE: the color of the checked shape comes from the UIView tintColor value.
tintColor
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Checkbox
Extremely simple checkbox control for iOS using CoreAnimation layers.
Included is a playground for playing with a collection of checkboxen.
Configuration
isChecked– the current value of the control.borderLineWidth– the line width of the border that is drawn around the view’s frameborderShape– the border to render. Currently supports two shapes: square and circleuncheckedBorderColor– the color of the border when the control is uncheckedcheckedBorderColor– the color of the border when the control is checkedcheckShape– the checked indicator to render. Support 4 shapes: square, circle, check, and crosscheckLineWidth– the line width of the check and cross shapescheckInserts– the amount to reduce the border frame before being used for the checked shape frameNOTE: the color of the checked shape comes from the UIView
tintColorvalue.