Documentation Archive Developer
Search

PreferencePanes Changes for Objective-C

PreferencePanes

NSPreferencePane.h

Modified NSPreferencePane.bundle
Declaration
From
@property(readonly, strong) NSBundle *bundle
To
@property(readonly, strong, nonnull) NSBundle *bundle

Modified NSPreferencePane.firstKeyView
Declaration
From
@property(strong) NSView *firstKeyView
To
@property(strong, nullable) NSView *firstKeyView

Modified NSPreferencePane.initialKeyView
Declaration
From
@property(strong) NSView *initialKeyView
To
@property(strong, nullable) NSView *initialKeyView

Modified -[NSPreferencePane initWithBundle:]
Declaration
From
- (instancetype)initWithBundle:(NSBundle *)bundle
To
- (instancetype _Nonnull)initWithBundle:(NSBundle * _Nonnull)bundle

Modified NSPreferencePane.lastKeyView
Declaration
From
@property(strong) NSView *lastKeyView
To
@property(strong, nullable) NSView *lastKeyView

Modified -[NSPreferencePane loadMainView]
Declaration
From
- (NSView *)loadMainView
To
- (NSView * _Nonnull)loadMainView

Modified NSPreferencePane.mainNibName
Declaration
From
@property(readonly, strong) NSString *mainNibName
To
@property(readonly, strong, nonnull) NSString *mainNibName

Modified NSPreferencePane.mainView
Declaration
From
@property(strong) NSView *mainView
To
@property(strong, nonnull) NSView *mainView

Modified -[NSPreferencePane updateHelpMenuWithArray:]
Declaration
From
- (void)updateHelpMenuWithArray:(NSArray *)inArrayOfMenuItems
To
- (void)updateHelpMenuWithArray:(NSArray<NSDictionary<NSString *,NSString *> *> * _Nullable)inArrayOfMenuItems