Instance Method

startAnimation()

Activates the periodic timer that animates the screen saver.

Declaration

func startAnimation()

Discussion

This method is called when the screen saver view should begin animating. Subclasses can implement this method to set up initial state or allocate expensive resources that should be loaded lazily. Subclasses must call the inherited implementation.

See Also

Animating the ScreenSaverView

func animateOneFrame()

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

func stopAnimation()

Deactivates the timer that advances the animation.

var isAnimating: Bool

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