Add support for additive Core Animation tweens.

Authored by featherless on Mon, Mar 20, 5:24 PM.



Additive animations are the preferred mechanism for building cancelable tweens. Any tween type that implements the Subtractable protocol will now be additive by default.

Additive animations are also the default animation type for UIView implicit animations as of iOS 8 or 9 or 10 [citation needed].

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.Mon, Mar 20, 5:24 PM
Restricted Application added a project: Material Motion. ยท View Herald Transcript
chuga accepted this revision.Mon, Mar 20, 5:54 PM
chuga added a subscriber: chuga.
chuga added inline comments.

I find the name eventConfiguration confusing as I don't understand what 'event' this refers to ๐Ÿค” can you think of a better term for it? maybe additiveConfiguration or additiveTransformation?

This revision is now accepted and ready to land.Mon, Mar 20, 5:54 PM
featherless marked an inline comment as done.Mon, Mar 20, 5:57 PM
  • Feedback.
This revision was automatically updated to reflect the committed changes.