代码改变世界

swift (倒计时)

2015-10-01 10:21  真实16  阅读(419)  评论(0编辑  收藏  举报
let btn = CHWButton(count: 5, frame: CGRectMake(50, 100, 100, 50), color:nil)
        btn.animaType = CountBtnType.CHWBtnTypeScale
        btn.layer.masksToBounds = true
        btn.layer.cornerRadius = 5
        self.view.addSubview(btn)