material-motion / material-motion-swift

A toolkit for building responsive motion using Core Animation.
Apache License 2.0
1.42k stars 79 forks source link

Refactor the systems to only be invoked once all interaction properties are available #60

Open jverkoey opened 7 years ago

jverkoey commented 7 years ago

E.g. for Tween, we invoke the system with an instance that has the latest property values all ready for use.

This would significantly simplify the system implementations because they could focus on the emission aspect. Systems currently have to both subscribe and emit.