Instance Method

stopAnimation()

Deactivates the timer that advances the animation.

Declaration

func stopAnimation()

Discussion

This method is called when the screen saver view should stop animating. Subclasses can implement this method to unload expensive resources or reset state to original parameters. Subclasses must call the inherited implementation.

See Also

Animating the ScreenSaverView

func startAnimation()

Activates the periodic timer that animates the screen saver.

func animateOneFrame()

Advances the screen saver’s animation by a single frame.

var isAnimating: Bool

A Boolean value that indicates if the screen saver is currently animating.