Support generic T value types for POP springs.
ClosedPublic

Authored by featherless on Mar 10 2017, 3:10 PM.

Details

Summary

This means we can't know at compile time what types are supported by POP anymore, but it does simplify the calling sites and signatures. It's now possible to have a generic spring<T> method that returns a pre-configured spring using pop, for example.

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.Mar 10 2017, 3:10 PM
chuga accepted this revision.Mar 13 2017, 2:48 PM
chuga added a subscriber: chuga.
chuga added inline comments.
src/systems/popSpringToStream.swift
31–32

Update the doc to remove CGPoint reference

This revision is now accepted and ready to land.Mar 13 2017, 2:48 PM
featherless marked an inline comment as done.Mar 13 2017, 2:58 PM
This revision was automatically updated to reflect the committed changes.