Contents

repeat(count:)

Creates an animation that repeats the specified number of times.

Declaration

@MainActor @preconcurrency func `repeat`(count: Int) -> AnimationResource

Parameters

  • count:

    The number of animation repetitions.

Return Value

A repeating copy of the calling animation resource.

See Also

Creating an animation resource