Contents

draw(_:)

Draws the screen saver view.

Declaration

func draw(_ rect: NSRect)

Discussion

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

See Also

Drawing the view