I am animating the view along the X axis using Facebook Pop spring animations. It works great, but I canβt change the speed. It seems that the velocity property is the only way to do this from what I read, but no values ββthat I set for it seem to have any effect. Am I doing something wrong, or is this a mistake?
POPSpringAnimation *anim = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerPositionX]; anim.velocity = @(100.); anim.springBounciness = 15; anim.toValue = @(self.scrollView.frame.size.width/2); anim.beginTime = .05 * i + CACurrentMediaTime(); [thisView.layer pop_addAnimation:anim forKey:@"myKey"];
source share