步骤:
1、设置动画属性的初始值
cell.layer.transform = CATransform3DMakeScale(0.1,0.1,1)
2、在指定时间内执行动画
UIView.animateWithDuration(0.25, animations:{()->Void in
cell.layer.transform = CATransform3DMakeScale(1,1,1)
})
3、设置动画属性的结束值
在tableView中的cellWillDisplay添加如上方法