2016年3月27日

摘要: UIView中,跟动画有关的类有三个:UIViewAnimation(首尾动画)、UIViewAnimationWithBlocks(动画块)、UIViewKeyframeAnimations(关键桢动画) 另外,在UIImageView中还有桢动画可以实现动画效果。 一、UIViewAnimati 阅读全文
posted @ 2016-03-27 20:46 Wilson_CYS 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 1.遇到变量一定用括号阔起来: 反例: @define kMul(a,b) a*b kMul(10 + 10 , 10 + 10) ==> 10 + 10 * 10 + 10 而不是 20 * 20 阅读全文
posted @ 2016-03-27 15:47 Wilson_CYS 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 一、方法 - (CGPoint)convertPoint:(CGPoint)point toView:(nullable UIView *)view; - (CGPoint)convertPoint:(CGPoint)point fromView:(nullable UIView *)view; - 阅读全文
posted @ 2016-03-27 02:32 Wilson_CYS 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 一、概述 贝塞尔曲线(The Bézier Curves),是一种在计算机图形学中相当重要的参数曲线(2D,3D的称为曲面)。贝塞尔曲线于1962年,由法国工程师皮埃尔·贝塞尔(Pierre Bézier)所发表,他运用贝塞尔曲线来为汽车的主体进行设计。 二、三种曲线 线性曲线 线性曲线 给定点P0 阅读全文
posted @ 2016-03-27 02:05 Wilson_CYS 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: 找个时间研究。 阅读全文
posted @ 2016-03-27 00:44 Wilson_CYS 阅读(102) 评论(0) 推荐(0) 编辑

导航