Instance Method

initWithFrame:isPreview:

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

Declaration

- (instancetype)initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview;

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