iOS 复选框 SCheckbox
- 授权协议: 未知
- 开发语言: Swift
- 操作系统: iOS
- 软件首页: https://github.com/wanaya/SCheckbox
- 官方下载: https://github.com/wanaya/SCheckbox
软件介绍
SCheckbox 是 Swift 编写的复选框控件。
class ViewController: UIViewController {
@IBOutlet weak var check: SCheckBox!
override func viewDidLoad() {
super.viewDidLoad()
self.check.color(UIColor.grayColor(), forState: UIControlState.Normal)
self.check.textLabel.text = "this is a checkbox"
self.check.addTarget(self, action: "tapCheck:", forControlEvents: UIControlEvents.ValueChanged)
}
func tapCheck(checkBox: SCheckBox!){
println("\(checkBox.checked)")
}}
Bad Blood
John Carreyrou / Knopf / 2018-5-21 / USD 27.95
The full inside story of the breathtaking rise and shocking collapse of Theranos, the multibillion-dollar biotech startup, by the prize-winning journalist who first broke the story and pursued it to t......一起来看看 《Bad Blood》 这本书的介绍吧!
