摘要: #import "ShowViewController.h" #import "MusicCollectionViewCell.h" #import "ViewController.h" #import <MediaPlayer/MediaPlayer.h> #import <AVFoundatio 阅读全文
posted @ 2016-03-04 17:10 small-elephant_A-Do 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 一,核心动画 -(UIColor *)createColor{ CGFloat r = arc4random_uniform(255)/255.0; CGFloat g = arc4random_uniform(255)/255.0; CGFloat b = arc4random_uniform(2 阅读全文
posted @ 2016-03-04 11:42 small-elephant_A-Do 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 使用显式动画,如果设置layer 的bounds和frame效果是不一样的 如果设置 self.layer.bounds = CGRectMake(0, 0, width, width); 效果如图 如果设置 self.layer.frame = CGRectMake(0, 0, width, wi 阅读全文
posted @ 2016-03-04 10:19 small-elephant_A-Do 阅读(169) 评论(0) 推荐(0) 编辑