Contents

repeatCount

Determines the number of times the animation will repeat.

Declaration

var repeatCount: Float { get set }

Discussion

May be fractional. If the repeatCount is 0, it is ignored. Defaults to 0. If both repeatDuration and repeatCount are specified the behavior is undefined.

Setting this property to greatestFiniteMagnitude will cause the animation to repeat forever.

See Also

Repeating Animations