Initializer

init(frame:isPreview:)

Initializes a newly allocated ScreenSaverView with frame as its frame rectangle, and sets the value returned by isPreview to isPreview.

Declaration

init?(frame: NSRect, isPreview: Bool)

Discussion

The screen saver application will install the new view object into the view hierarchy of an NSWindow before the animation begins. This method is the designated initializer for the ScreenSaverView class. Returns self.

See Also