Instance Method

speed(_:)

Returns an animation that has its speed multiplied by speed. For example, if you had oneSecondAnimation.speed(0.25), it would be at 25% of its normal speed, so you would have an animation that would last 4 seconds.

Declaration

func speed(_ speed: Double) -> Animation