Instance Property

duration

Specifies the basic duration of the animation, in seconds.

Required.

Declaration

var duration: CFTimeInterval { get set }

Discussion

Defaults to 0.

See Also

Duration and Speed

var speed: Float

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

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