POP-MCAnimate
POP-MCAnimate copied to clipboard
Do you support repeatCount & autoReverses in spring animation
- Hi,
I am trying to make a cell shake. So I want to move it and reverse that and repeat the process:
cell.layer.springSpeed = 15;
cell.layer.springBounciness = 15;
cell.layer.autoreverses = YES;
cell.layer.repeatCount = 5;
cell.layer.spring.pop_positionY = cell.layer.position.y - 150;
- This doesn't seem to work.
I don't think autoreverses
and repeatCount
properties are directly available on CALayer
. You might want to fall back to the standard POP syntax for this edge case.
Ok. Thanks.