CH5

CHAnimation 用来演示如何编写自己的动画引擎,灵感来自于 Facebook Pop,只需 600 行的 Objective-C 代码。 使用方法: #import "CHAnimation.h" CHAnimation *animation = [CHAnimation new]; animation.duration = 0.4; animation.writeBlock = ^(id obj, id value) { button.center = [value CGPointValue]; }; animation.fromValue = [NSValue valueWithCGPoint:CGPointMake(70, 70)]; animation.toValue = [NSValue value...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部