2015年1月4日

IOS--CALayer实现,界限、透明度、位置、旋转、缩放组合动画(转)

摘要: 首先引入框架:QuartzCore.framework在头文件声明:CALayer*logoLayer{//界限CABasicAnimation*boundsAnimation = [CABasicAnimationanimationWithKeyPath:@"bounds"];boundsAnim... 阅读全文

posted @ 2015-01-04 22:07 奋进的闹钟 阅读(10282) 评论(0) 推荐(0)

AppDelegate 、UIApplication 的用法

摘要: 转载自 http://blog.chinaunix.net/uid-26768267-id-3300042.html//AppDelegate.h 头文件 #import @class SwitchViewController;@interface AppDelegate : UIResponder... 阅读全文

posted @ 2015-01-04 16:25 奋进的闹钟 阅读(392) 评论(0) 推荐(0)

UIImageView旋转任意角度

摘要: -(UIImageView*)makeRotation:(UIImageView*)imagespeedX:(float)XspeedY:(float)Y{//头文件中需要定义PI//#definePI3.14159265358979323846264338327950288if(Y0){imag... 阅读全文

posted @ 2015-01-04 16:22 奋进的闹钟 阅读(1022) 评论(0) 推荐(0)

导航