Open zats opened 7 years ago
I make this mistake very often: when creating animation for kPOPLayerScaleXY I set to and from values to NSNumber not CGSize
kPOPLayerScaleXY
NSNumber
CGSize
It would be great to see an exception or assertion. Currently it just silently fails:
POPSpringAnimation *anim = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerScaleXY]; anim.springBounciness = 4; anim.springSpeed = 5; anim.fromValue = @.94; // silently fails, layer never becomes visible anim.toValue = @1; // same
I make this mistake very often: when creating animation for
kPOPLayerScaleXY
I set to and from values toNSNumber
notCGSize
It would be great to see an exception or assertion. Currently it just silently fails: