Instance Property

preview

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

Declaration

@property(getter=isPreview, readonly, atomic) BOOL preview;

Discussion

The value of this property is YES if the screen saver view was created in a smaller size to be used as a preview, or NO if it was created full-screen for use as a screen saver. Subclasses can check the value of this property to determine if they should change their drawing parameters to something more suitable for display in a smaller frame.

See Also

Drawing the ScreenSaverView

- drawRect:

Draws the screen saver view.