Instance Property

speed

Specifies how time is mapped to receiver’s time space from the parent time space.

Required.

Declaration

var speed: Float { get set }

Discussion

For example, if speed is 2.0 local time progresses twice as fast as parent time. Defaults to 1.0.

See Also

Duration and Speed

var duration: CFTimeInterval

Specifies the basic duration of the animation, in seconds.

Required.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software