随机动画效果
摘要:
ViewController.m 1 #import "ViewController.h" 2 #define MAX_SIZE 25//雪花大小 3 #define MAX_TIME 20//飘落时间 4 #define MIN_TIME 5 5 6 @implementation ViewController 7 8 - (void)viewDidLoad 9 {10 [super viewDidLoad];11 //背景颜色12 [self.view setBackgroundColor:[UIColor colorWithRed:0.45 green:0.4... 阅读全文
posted @ 2013-01-28 19:29 灰色的人 阅读(208) 评论(0) 推荐(0) 编辑