摘要: +(UIImage*)animatedGifWithArray:(NSArray*)tabImage; 此类方法用来返回GIF的UIImage类型CreatGif .h//.h文件#import @interface CreateGif : NSObject+ (void) makeAnimated... 阅读全文
posted @ 2014-11-18 17:27 Shdow_Walker 阅读(357) 评论(0) 推荐(0) 编辑
摘要: /*** 获取当前GIF的数组*/-(NSMutableArray*)imageArrayWithData:(NSData*)gifData{ CGImageSourceRef src = CGImageSourceCreateWithData((CFDataRef)CFBridgingRetai... 阅读全文
posted @ 2014-11-18 17:23 Shdow_Walker 阅读(237) 评论(0) 推荐(0) 编辑
摘要: //由叶大师分享的方法//也可以用图片代替。添加在cell中。-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)inde... 阅读全文
posted @ 2014-11-18 17:19 Shdow_Walker 阅读(316) 评论(0) 推荐(0) 编辑
摘要: rand()%100;time_t time1;//生成一个时间种子srand((unsigned int) time(&time1));rand();产生随机数 阅读全文
posted @ 2014-11-18 17:13 Shdow_Walker 阅读(154) 评论(0) 推荐(0) 编辑