目录
目录README.md

CI Platform iOS Swift 5.1 SwiftPM compatible License: MIT

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 frame
  • borderShape – the border to render. Currently supports two shapes: square and circle
  • uncheckedBorderColor – the color of the border when the control is unchecked
  • checkedBorderColor – the color of the border when the control is checked
  • checkShape – the checked indicator to render. Support 4 shapes: square, circle, check, and cross
  • checkLineWidth – the line width of the check and cross shapes
  • checkInserts – the amount to reduce the border frame before being used for the checked shape frame

NOTE: the color of the checked shape comes from the UIView tintColor value.

关于
74.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号