摘要: { NSMutableArray *_dataList; } [self loadDataWithPage:1]; [self loadDataWithURLConnection]; //记得初始化数组 _dataList =[NSMutableArray array]; -(void)loadDataWithURLConnection { /... 阅读全文
posted @ 2015-10-18 19:50 WheatDen 阅读(223) 评论(0) 推荐(0) 编辑
摘要: //方法一: //创建定时器 NSTimer *timer=[NSTimer timerWithTimeInterval:2.0 target:self selector:@selector(nextCilcked) userInfo:nil repeats:YES]; //利用消息循环来开启定时器 //创建消息循环 NSRunLoop *runLoop ... 阅读全文
posted @ 2015-10-18 19:36 WheatDen 阅读(479) 评论(0) 推荐(0) 编辑
摘要: { CAGradientLayer *_layer; } //创建渐变层 _layer =[CAGradientLayer layer]; _layer.frame=self.view.frame; //设置渐变开始的坐标 _layer.startPoint=CGPointMake(0.0, 0.4); //设置渐变结束的坐标 ... 阅读全文
posted @ 2015-10-18 19:08 WheatDen 阅读(243) 评论(0) 推荐(0) 编辑