Framework | Library/Frameworks/ScreenSaver.framework |
Header file directories | Library/Frameworks/ScreenSaver.framework/Headers |
Declared in | ScreenSaverDefaults.h ScreenSaverView.h |
The Screen Saver framework defines the interface for subclasses to interact with the Screen Effects user interface feature. Screen Effects modules need to be written in Objective-C with its user interface implemented using Cocoa.
The Screen Saver framework consists of the ScreenSaverView class, an abstract subclass of NSView. ScreenSaverView defines an interface for animating screen savers, instantiating small preview versions of the screen saver view (for display in the system preferences, for example), and for providing a configuration sheet to set various properties of the screen saver.
The ScreenSaverDefaults class is a subclass of NSUserDefaults and provides an interface to the standard user preferences storage system.
In addition, the Screen Saver framework provides a number of functions commonly required by screen saver applications including producing random values and centering rectangles.
© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)