Add constraint support to additive animations.

Authored by featherless on Mar 9 2017, 12:44 PM.



Additive animation values are now calculated just before the animation is committed to the layer. This allows constraints to treat the animation from/to values as absolute values, rather than relative ones.

This change also introduces some light refactoring of the Core Animation add information. The information is now stored in a documented structure instead of an inline tuple, making it easier to copy, modify, and initialize the information.

Diff Detail

rREACTIVEMOTIONSWIFT reactive-motion-swift
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
featherless created this revision.Mar 9 2017, 12:44 PM
chuga accepted this revision.Mar 10 2017, 11:55 AM
This revision is now accepted and ready to land.Mar 10 2017, 11:55 AM
This revision was automatically updated to reflect the committed changes.