Draws the screen saver view.
On This Page
func draw(_ rect: NSRect)
ScreenSaverView implements draw(_:) to draw a black background. Subclasses can do their drawing here or in animateOneFrame().
var isPreview: Bool
A Boolean value that indicates if the screen saver view was created in a size appropriate for use as a preview.
Deactivates the timer that advances the animation.
Advances the screen saver’s animation by a single frame.
Activates the periodic timer that animates the screen saver.