ScreenSaver Changes for Objective-C
ScreenSaver
ScreenSaverDefaults.h
Declaration | |
---|---|
From | + (id)defaultsForModuleWithName:(NSString *)inModuleName |
To | + (instancetype _Nullable)defaultsForModuleWithName:(NSString * _Nonnull)inModuleName |
ScreenSaverView.h
Removed -[ScreenSaverView isAnimating]
Removed -[ScreenSaverView isPreview]
Added ScreenSaverView.preview
Declaration | |
---|---|
From | - (NSTimeInterval)animationTimeInterval |
To | @property(atomic) NSTimeInterval animationTimeInterval |
Modified -[ScreenSaverView configureSheet]
Declaration | |
---|---|
From | - (NSWindow *)configureSheet |
To | - (NSWindow * _Nullable)configureSheet |
Modified -[ScreenSaverView initWithFrame:]
Declaration | |
---|---|
From | - (id)initWithFrame:(NSRect)frame |
To | - (instancetype _Nullable)initWithFrame:(NSRect)frame |
Declaration | Designated Initializer | |
---|---|---|
From | - (id)initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview | -- |
To | - (instancetype _Nullable)initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview | yes |