facebookarchive / pop

An extensible iOS and OS X animation library, useful for physics-based interactions.
Other
19.66k stars 2.88k forks source link

Errors should be thrown when animation parameters don't match animation parameters #371

Open warpling opened 7 years ago

warpling commented 7 years ago

For instance a common mistake when using pop is to create a kPOPLayerScaleXY animation and set toValue to something like @(2.0) instead of the necessary tuple [NSValue valueWithCGPoint:CGPointMake(2.0, 2.0)]. This should somehow notify the developer with an error or warning.