Instance Property

animationRepeatCount

Specifies the number of times to repeat the animation.

Declaration

var animationRepeatCount: Int { get set }

Discussion

The default value is 0, which specifies to repeat the animation indefinitely.

See Also

Animating a Sequence of Images

var animationImages: [UIImage]?

An array of UIImage objects to use for an animation.

var highlightedAnimationImages: [UIImage]?

An array of UIImage objects to use for an animation when the view is highlighted.

var animationDuration: TimeInterval

The amount of time it takes to go through one cycle of the images.

func startAnimating()

Starts animating the images in the receiver.

func stopAnimating()

Stops animating the images in the receiver.

var isAnimating: Bool

Returns a Boolean value indicating whether the animation is running.