摘要: 核心动画是一套包含图形绘制,投影,动画的 Objective–C 类集合。核心动画的三块主要内容:1.图层calayer每一个view都默认有一个layer对象,用来显示视图。通过设置layer的一些属性可以改变一些layer视图的一些变化。layer的一些属性: _imageBack.lay... 阅读全文
posted @ 2015-11-14 23:39 墨VS雪 阅读(278) 评论(0) 推荐(0)
摘要: 1.实现转场效果通过transitionWithView方法来实现视图的转场效果:[UIView transitionWithView:_myView duration:2.0 options:UIViewAnimationOptionTransitionCrossDissolve animatio... 阅读全文
posted @ 2015-11-14 17:12 墨VS雪 阅读(199) 评论(0) 推荐(0)
摘要: uiview动画用到的一些属性:frameboundscentertransformalphabackgroundcolorcontentstretch在用oc做uiview的frame修改时,会出现以下错误:expression is not assignable”事例如下:[UIView ani... 阅读全文
posted @ 2015-11-14 12:28 墨VS雪 阅读(305) 评论(0) 推荐(0)