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

Make it easier to use Int types throughout #31

Closed jverkoey closed 7 years ago

jverkoey commented 7 years ago

We may want to treat Int values as CGFloat types throughout material motion in order to ease use of simple constants, e.g. 0 or 1 without requiring need for explicit typing, e.g. CGFloat(0) or CGFloat(1).

jverkoey commented 7 years ago

This has been resolved. Reactive properties now default to CGFloat when using createProperty.