Add support for additive Core Animation tweens.
ClosedPublic

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

Details

Summary

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

Repository
rREACTIVEMOTIONSWIFT reactive-motion-swift
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
featherless created this revision.Mon, Mar 20, 5:24 PM
chuga accepted this revision.Mon, Mar 20, 5:54 PM
chuga added a subscriber: chuga.
chuga added inline comments.
src/systems/coreAnimationTweenToStream.swift
22

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.