11 2018 档案

CAAnimationDelegate 代理方法没调用
摘要:CAAnimationDelegate 代理方法没调用 应该在 addAnimation调用之前设置代理 阅读全文

posted @ 2018-11-15 14:57 土匪7 阅读(409) 评论(0) 推荐(0) 编辑

CABasicAnimation 划线动画
摘要:CGFloat animateDuration = 2; UIBezierPath *bezierPath = [[UIBezierPath alloc] init]; CGPoint centerFromP = noAnimateView.center; [bezierPath moveToPoint:centerFromP]; CGPoint cen... 阅读全文

posted @ 2018-11-14 16:30 土匪7 阅读(134) 评论(0) 推荐(0) 编辑

获取数组中元素的下标
摘要:NSInteger index = [self.addImageArr indexOfObject:noAnimateView]; 阅读全文

posted @ 2018-11-14 11:13 土匪7 阅读(1591) 评论(0) 推荐(0) 编辑

转载:SDWebImage支持URL不变时更新图片内容
摘要:转载 http://blog.handy.wang/blog/2016/01/29/sdwebimagehuan-cun-zhi-tu-pian-urlbu-bian/ 基于这一现象,我们来进行分析。 客户端第一次请求图片时,Charles抓包得知response header里有一个名为Last- 阅读全文

posted @ 2018-11-13 07:41 土匪7 阅读(224) 评论(0) 推荐(0) 编辑

读书笔记-iOS核心动画高级技巧
摘要:如果不使用+imageNamed:,那么把整张图片绘制到CGContext可能是最佳的方式了。 这里我们利用了CALayer的KVC来存储和检索任意的值,将图层和索引打标签。 使用KVC打标签 阅读全文

posted @ 2018-11-13 06:50 土匪7 阅读(105) 评论(0) 推荐(0) 编辑

ios 数组打乱顺序
摘要:NSArray+YYAdd 这个shuffle方法不知道行不行 /** Sort the object in this array randomly. */- (void)shuffle; 阅读全文

posted @ 2018-11-01 12:04 土匪7 阅读(697) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示