EasingSine

public struct EasingSine

EasingSine provides easing equations based on sine calculations.

Remark

See http://easings.net for visual examples.
  • Provides an easing equation based on sine, applied to the beginning of a motion.

    Declaration

    Swift

    public static func easeIn() -> EasingUpdateClosure

    Return Value

    Returns a closure containing the easing equation.

  • Provides an easing equation based on sine, applied to the end of a motion.

    Declaration

    Swift

    public static func easeOut() -> EasingUpdateClosure

    Return Value

    Returns a closure containing the easing equation.

  • Provides an easing equation based on sine, applied to the beginning and end of a motion.

    Declaration

    Swift

    public static func easeInOut() -> EasingUpdateClosure

    Return Value

    Returns a closure containing the easing equation.