Contents

fade(value:duration:)

Sets the value gradually over the given amount of time.

Declaration

func fade(value: Double, duration: TimeInterval)

Parameters

  • value:

    A new value for the metaparameter.

  • duration:

    An amount of time in which the number gradually adjusts to the new value.