Created
April 5, 2017 22:01
-
-
Save erica/2dc5c20d3edb7adc48fc4d878b4a3f16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cocoa | |
public enum InterpolationCurve { case linear, easeIn, easeOut, easeInOut } | |
public protocol Interpolating { | |
func interpolateTo(value: Self, by degree: Double, curve: InterpolationCurve) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment