仿AppSolution内查看app预览图时的效果
NSArray *cardArr = @[[UIColor redColor], [UIColor blueColor], [UIColor yellowColor], [UIColor greenColor], [UIColor grayColor]];
DNCardView *cards = [[DNCardView alloc]initWithCards:cardArr];
[self.view addSubview:cards];
cardArr为存放背景或image的数组。
普通拖拽卡会会弹回原位置,加速情况才会至下一张,该效果可在源码中修改
2017/01/25: DCCardAnimations 更名为 DNCardView
扩展frame开放自定义
MIT