Instance Method


Draws the screen saver view.


func draw(_ rect: NSRect)


ScreenSaverView implements draw(_:) to draw a black background. Subclasses can do their drawing here or in animateOneFrame().

See Also

Drawing the ScreenSaverView

var isPreview: Bool

A Boolean value that indicates if the screen saver view was created in a size appropriate for use as a preview.