卡片动态效果模板
作者:互联网
用的是别人的代码修改
QiCardView https://github.com/QiShare/QiCardView
1原为向下延伸 改为向右延伸 修改地点为
CGFloat y = (self.interitemSpacing / hScale) * 2 * showIndex;
CGFloat x = (self.lineSpacing / wScale) * 2 * showIndex;//原代码这里没有的
CGAffineTransform scaleTransform = CGAffineTransformMakeScale(wScale, wScale);
CGAffineTransform transform = CGAffineTransformTranslate(scaleTransform, x, y);//主要向哪里偏移
标签:CGAffineTransform,卡片,self,QiCardView,scaleTransform,动态效果,wScale,模板,CGFloat 来源: https://www.cnblogs.com/daijiahong/p/15241771.html