Mac Developer Library

Developer

ScreenSaver Framework Reference ScreenSaverDefaults Class Reference

Options
Deployment Target:

On This Page
Language:

ScreenSaverDefaults

ScreenSaverDefaults defines a set of methods for saving and restoring user defaults for screen savers. More...

Inheritance


Conforms To


Import Statement


import ScreenSaver @import ScreenSaver;

Availability


Available in OS X v10.0 and later.
  • Returns a screen saver defaults instance that reads and writes defaults for the module moduleName.

    Declaration

    Swift

    class func defaultsForModuleWithName(_ moduleName: String!) -> AnyObject!

    Objective-C

    + (id)defaultsForModuleWithName:(NSString *)moduleName

    Parameters

    moduleName

    The bundle identifier for the module.

    Import Statement

    import ScreenSaver

    Availability

    Available in OS X v10.0 and later.