Defaults

public enum Defaults

The default tweening and easing settings.

Properties

  • The default Ease assigned to every tween.

    Declaration

    Swift

    public static var ease: Ease
  • The default overshoot value used in easing functions.

    Declaration

    Swift

    public static var overshoot: Double
  • The default amount of seconds a tween takes to complete.

    Declaration

    Swift

    public static var duration: TimeInterval
  • The default amount of seconds before every tween starts.

    Declaration

    Swift

    public static var delay: TimeInterval
  • The default state of every tween automatically started upon creation.

    Declaration

    Swift

    public static var autoStartTweens: Bool
  • The default state of every tween automatically killed upon completion.

    Declaration

    Swift

    public static var autoKillCompletedTweens: Bool

Methods

  • Resets all defaults to their original values.

    Declaration

    Swift

    public static func reset()