iOS 复选框 SCheckbox

码农软件 · 软件分类 · 分段选择(Segment) · 2019-06-18 07:43:54

软件介绍

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)")
    }}


本文地址:https://codercto.com/soft/d/8219.html

Traction: A Startup Guide to Getting Customers

Traction: A Startup Guide to Getting Customers

Gabriel Weinberg、Justin Mares / S-curves Publishing / 2014-8-25 / USD 14.99

Most startups end in failure. Almost every failed startup has a product. What failed startups don't have is traction -- real customer growth. This book introduces startup founders and employees to......一起来看看 《Traction: A Startup Guide to Getting Customers》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

SHA 加密
SHA 加密

SHA 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具