摘要:
// 创建动画 let anim = CABasicAnimation(keyPath: "transform.rotation") // 设置动画属性 anim.toValue = 2 * M_PI anim.repeatCount = MAXFLOAT anim.duration = 10 ... 阅读全文
posted @ 2016-07-24 18:06
Colaless
阅读(3021)
评论(0)
推荐(0)
摘要:
// 哪个控件的哪个属性等于(大于、小于)另外一个控件的哪个属性乘以多少再加上多少 eg: let widthContraint = NSLayoutConstraint(item: messageLabel, attribute: NSLayoutAttribute.Width, relatedBy: NSLayoutRelation.Eq... 阅读全文
posted @ 2016-07-24 18:02
Colaless
阅读(646)
评论(0)
推荐(0)
摘要:
开始上手Swift,之前的OC是门弱语言,而Swift是强语言,在语法上有较大的不同之处。 阅读全文
posted @ 2016-07-24 13:31
Colaless
阅读(4022)
评论(0)
推荐(0)

浙公网安备 33010602011771号