AppKit Changes for Objective-C
AppKit
NSAccessibility.h
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityActionDescription:(NSString *)action |
| To | - (NSString * _Nullable)accessibilityActionDescription:(NSString * _Nonnull)action |
Modified -[NSObject accessibilityActionNames]
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityActionNames |
| To | - (NSArray * _Nonnull)accessibilityActionNames |
| Declaration | |
|---|---|
| From | - (NSUInteger)accessibilityArrayAttributeCount:(NSString *)attribute |
| To | - (NSUInteger)accessibilityArrayAttributeCount:(NSString * _Nonnull)attribute |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityArrayAttributeValues:(NSString *)attribute index:(NSUInteger)index maxCount:(NSUInteger)maxCount |
| To | - (NSArray * _Nonnull)accessibilityArrayAttributeValues:(NSString * _Nonnull)attribute index:(NSUInteger)index maxCount:(NSUInteger)maxCount |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityAttributeNames |
| To | - (NSArray * _Nonnull)accessibilityAttributeNames |
| Declaration | |
|---|---|
| From | - (id)accessibilityAttributeValue:(NSString *)attribute |
| To | - (id _Nullable)accessibilityAttributeValue:(NSString * _Nonnull)attribute |
| Declaration | |
|---|---|
| From | - (id)accessibilityAttributeValue:(NSString *)attribute forParameter:(id)parameter |
| To | - (id _Nullable)accessibilityAttributeValue:(NSString * _Nonnull)attribute forParameter:(id _Nullable)parameter |
| Declaration | |
|---|---|
| From | @property(readonly, strong) id accessibilityFocusedUIElement |
| To | @property(readonly, strong, nullable) id accessibilityFocusedUIElement |
Modified -[NSObject accessibilityHitTest:]
| Declaration | |
|---|---|
| From | - (id)accessibilityHitTest:(NSPoint)point |
| To | - (id _Nullable)accessibilityHitTest:(NSPoint)point |
| Declaration | |
|---|---|
| From | - (NSUInteger)accessibilityIndexOfChild:(id)child |
| To | - (NSUInteger)accessibilityIndexOfChild:(id _Nonnull)child |
| Declaration | |
|---|---|
| From | - (BOOL)accessibilityIsAttributeSettable:(NSString *)attribute |
| To | - (BOOL)accessibilityIsAttributeSettable:(NSString * _Nonnull)attribute |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityParameterizedAttributeNames |
| To | - (NSArray * _Nonnull)accessibilityParameterizedAttributeNames |
| Declaration | |
|---|---|
| From | - (void)accessibilityPerformAction:(NSString *)action |
| To | - (void)accessibilityPerformAction:(NSString * _Nonnull)action |
| Declaration | |
|---|---|
| From | - (BOOL)accessibilitySetOverrideValue:(id)value forAttribute:(NSString *)attribute |
| To | - (BOOL)accessibilitySetOverrideValue:(id _Nullable)value forAttribute:(NSString * _Nonnull)attribute |
| Declaration | |
|---|---|
| From | - (void)accessibilitySetValue:(id)value forAttribute:(NSString *)attribute |
| To | - (void)accessibilitySetValue:(id _Nullable)value forAttribute:(NSString * _Nonnull)attribute |
Modified NSAccessibilityActionDescription()
| Declaration | |
|---|---|
| From | NSString * NSAccessibilityActionDescription (
NSString *action
);
|
| To | NSString * _Nullable NSAccessibilityActionDescription (
NSString * _Nonnull action
);
|
Modified NSAccessibilityFrameInView()
| Declaration | |
|---|---|
| From | NSRect NSAccessibilityFrameInView (
NSView *parentView,
NSRect frame
);
|
| To | NSRect NSAccessibilityFrameInView (
NSView * _Nonnull parentView,
NSRect frame
);
|
Modified NSAccessibilityPointInView()
| Declaration | |
|---|---|
| From | NSPoint NSAccessibilityPointInView (
NSView *parentView,
NSPoint point
);
|
| To | NSPoint NSAccessibilityPointInView (
NSView * _Nonnull parentView,
NSPoint point
);
|
Modified NSAccessibilityPostNotification()
| Declaration | |
|---|---|
| From | void NSAccessibilityPostNotification (
id element,
NSString *notification
);
|
| To | void NSAccessibilityPostNotification (
id _Nonnull element,
NSString * _Nonnull notification
);
|
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | void NSAccessibilityRaiseBadArgumentException (
id element,
NSString *attribute,
id value
);
| OS X 10.3 | -- |
| To | void NSAccessibilityRaiseBadArgumentException (
id _Null_unspecified element,
NSString * _Null_unspecified attribute,
id _Null_unspecified value
);
| OS X 10.1 | OS X 10.11 |
Modified NSAccessibilityRoleDescription()
| Declaration | |
|---|---|
| From | NSString * NSAccessibilityRoleDescription (
NSString *role,
NSString *subrole
);
|
| To | NSString * _Nullable NSAccessibilityRoleDescription (
NSString * _Nonnull role,
NSString * _Nullable subrole
);
|
| Declaration | |
|---|---|
| From | NSString * NSAccessibilityRoleDescriptionForUIElement (
id element
);
|
| To | NSString * _Nullable NSAccessibilityRoleDescriptionForUIElement (
id _Nonnull element
);
|
Modified NSAccessibilityUnignoredAncestor()
| Declaration | |
|---|---|
| From | id NSAccessibilityUnignoredAncestor (
id element
);
|
| To | id _Nullable NSAccessibilityUnignoredAncestor (
id _Nonnull element
);
|
Modified NSAccessibilityUnignoredChildren()
| Declaration | |
|---|---|
| From | NSArray * NSAccessibilityUnignoredChildren (
NSArray *originalChildren
);
|
| To | NSArray * _Nonnull NSAccessibilityUnignoredChildren (
NSArray * _Nonnull originalChildren
);
|
| Declaration | |
|---|---|
| From | NSArray * NSAccessibilityUnignoredChildrenForOnlyChild (
id originalChild
);
|
| To | NSArray * _Nonnull NSAccessibilityUnignoredChildrenForOnlyChild (
id _Nonnull originalChild
);
|
Modified NSAccessibilityUnignoredDescendant()
| Declaration | |
|---|---|
| From | id NSAccessibilityUnignoredDescendant (
id element
);
|
| To | id _Nullable NSAccessibilityUnignoredDescendant (
id _Nonnull element
);
|
NSAccessibilityConstants.h
| Declaration | |
|---|---|
| From | void NSAccessibilityPostNotificationWithUserInfo (
id element,
NSString *notification,
NSDictionary *userInfo
);
|
| To | void NSAccessibilityPostNotificationWithUserInfo (
id _Nonnull element,
NSString * _Nonnull notification,
NSDictionary * _Nonnull userInfo
);
|
NSAccessibilityElement.h
| Declaration | |
|---|---|
| From | - (void)accessibilityAddChildElement:(NSAccessibilityElement *)childElement |
| To | - (void)accessibilityAddChildElement:(NSAccessibilityElement * _Nonnull)childElement |
| Declaration | |
|---|---|
| From | + (id)accessibilityElementWithRole:(NSString *)role frame:(NSRect)frame label:(NSString *)label parent:(id)parent |
| To | + (id _Nonnull)accessibilityElementWithRole:(NSString * _Nonnull)role frame:(NSRect)frame label:(NSString * _Nullable)label parent:(id _Nullable)parent |
NSAccessibilityProtocols.h
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityAllowedValues |
| To | @property(copy, nullable) NSArray<NSNumber *> *accessibilityAllowedValues |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityApplicationFocusedUIElement |
| To | @property(strong, nullable) id accessibilityApplicationFocusedUIElement |
| Declaration | |
|---|---|
| From | - (NSAttributedString *)accessibilityAttributedStringForRange:(NSRange)range |
| To | - (NSAttributedString * _Nullable)accessibilityAttributedStringForRange:(NSRange)range |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityCancelButton |
| To | @property(strong, nullable) id accessibilityCancelButton |
| Declaration | |
|---|---|
| From | - (id)accessibilityCellForColumn:(NSInteger)column row:(NSInteger)row |
| To | - (id _Nullable)accessibilityCellForColumn:(NSInteger)column row:(NSInteger)row |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityChildren |
| To | @property(copy, nullable) NSArray *accessibilityChildren |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityClearButton |
| To | @property(strong, nullable) id accessibilityClearButton |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityCloseButton |
| To | @property(strong, nullable) id accessibilityCloseButton |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityColumnHeaderUIElements |
| To | @property(copy, nullable) NSArray *accessibilityColumnHeaderUIElements |
Modified NSAccessibility.accessibilityColumns
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityColumns |
| To | @property(copy, nullable) NSArray *accessibilityColumns |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityColumnTitles |
| To | @property(copy, nullable) NSArray *accessibilityColumnTitles |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityContents |
| To | @property(copy, nullable) NSArray *accessibilityContents |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityCriticalValue |
| To | @property(strong, nullable) id accessibilityCriticalValue |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityDecrementButton |
| To | @property(strong, nullable) id accessibilityDecrementButton |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityDefaultButton |
| To | @property(strong, nullable) id accessibilityDefaultButton |
| Declaration | |
|---|---|
| From | @property(weak) id accessibilityDisclosedByRow |
| To | @property(weak, nullable) id accessibilityDisclosedByRow |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityDisclosedRows |
| To | @property(strong, nullable) id accessibilityDisclosedRows |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityDocument |
| To | @property(copy, nullable) NSString *accessibilityDocument |
| Declaration | |
|---|---|
| From | @property(weak) id accessibilityExtrasMenuBar |
| To | @property(weak, nullable) id accessibilityExtrasMenuBar |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityFilename |
| To | @property(copy, nullable) NSString *accessibilityFilename |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityFocusedWindow |
| To | @property(strong, nullable) id accessibilityFocusedWindow |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityFullScreenButton |
| To | @property(strong, nullable) id accessibilityFullScreenButton |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityGrowArea |
| To | @property(strong, nullable) id accessibilityGrowArea |
Modified NSAccessibility.accessibilityHandles
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityHandles |
| To | @property(copy, nullable) NSArray *accessibilityHandles |
Modified NSAccessibility.accessibilityHeader
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityHeader |
| To | @property(strong, nullable) id accessibilityHeader |
Modified NSAccessibility.accessibilityHelp
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityHelp |
| To | @property(copy, nullable) NSString *accessibilityHelp |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityHorizontalScrollBar |
| To | @property(strong, nullable) id accessibilityHorizontalScrollBar |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityHorizontalUnitDescription |
| To | @property(copy, nullable) NSString *accessibilityHorizontalUnitDescription |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityIdentifier |
| To | @property(copy, nullable) NSString *accessibilityIdentifier |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityIncrementButton |
| To | @property(strong, nullable) id accessibilityIncrementButton |
Modified NSAccessibility.accessibilityLabel
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityLabel |
| To | @property(copy, nullable) NSString *accessibilityLabel |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityLabelUIElements |
| To | @property(copy, nullable) NSArray *accessibilityLabelUIElements |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityLinkedUIElements |
| To | @property(copy, nullable) NSArray *accessibilityLinkedUIElements |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityMainWindow |
| To | @property(strong, nullable) id accessibilityMainWindow |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityMarkerGroupUIElement |
| To | @property(strong, nullable) id accessibilityMarkerGroupUIElement |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityMarkerTypeDescription |
| To | @property(copy, nullable) NSString *accessibilityMarkerTypeDescription |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityMarkerUIElements |
| To | @property(copy, nullable) NSArray *accessibilityMarkerUIElements |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityMarkerValues |
| To | @property(strong, nullable) id accessibilityMarkerValues |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityMaxValue |
| To | @property(strong, nullable) id accessibilityMaxValue |
Modified NSAccessibility.accessibilityMenuBar
| Declaration | |
|---|---|
| From | @property(weak) id accessibilityMenuBar |
| To | @property(weak, nullable) id accessibilityMenuBar |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityMinimizeButton |
| To | @property(strong, nullable) id accessibilityMinimizeButton |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityMinValue |
| To | @property(strong, nullable) id accessibilityMinValue |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityNextContents |
| To | @property(copy, nullable) NSArray *accessibilityNextContents |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityOverflowButton |
| To | @property(strong, nullable) id accessibilityOverflowButton |
Modified NSAccessibility.accessibilityParent
| Declaration | |
|---|---|
| From | @property(weak) id accessibilityParent |
| To | @property(weak, nullable) id accessibilityParent |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityPlaceholderValue |
| To | @property(copy, nullable) NSString *accessibilityPlaceholderValue |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityPreviousContents |
| To | @property(copy, nullable) NSArray *accessibilityPreviousContents |
Modified NSAccessibility.accessibilityProxy
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityProxy |
| To | @property(strong, nullable) id accessibilityProxy |
Modified NSAccessibility.accessibilityRole
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityRole |
| To | @property(copy, nullable) NSString *accessibilityRole |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityRoleDescription |
| To | @property(copy, nullable) NSString *accessibilityRoleDescription |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityRowHeaderUIElements |
| To | @property(copy, nullable) NSArray *accessibilityRowHeaderUIElements |
Modified NSAccessibility.accessibilityRows
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityRows |
| To | @property(copy, nullable) NSArray *accessibilityRows |
| Declaration | |
|---|---|
| From | - (NSData *)accessibilityRTFForRange:(NSRange)range |
| To | - (NSData * _Nullable)accessibilityRTFForRange:(NSRange)range |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilitySearchButton |
| To | @property(strong, nullable) id accessibilitySearchButton |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilitySearchMenu |
| To | @property(strong, nullable) id accessibilitySearchMenu |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySelectedCells |
| To | @property(copy, nullable) NSArray *accessibilitySelectedCells |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySelectedChildren |
| To | @property(copy, nullable) NSArray *accessibilitySelectedChildren |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySelectedColumns |
| To | @property(copy, nullable) NSArray *accessibilitySelectedColumns |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySelectedRows |
| To | @property(copy, nullable) NSArray *accessibilitySelectedRows |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilitySelectedText |
| To | @property(copy, nullable) NSString *accessibilitySelectedText |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySelectedTextRanges |
| To | @property(copy, nullable) NSArray<NSValue *> *accessibilitySelectedTextRanges |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityServesAsTitleForUIElements |
| To | @property(copy, nullable) NSArray *accessibilityServesAsTitleForUIElements |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySharedFocusElements |
| To | @property(copy, nullable) NSArray *accessibilitySharedFocusElements |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySharedTextUIElements |
| To | @property(copy, nullable) NSArray *accessibilitySharedTextUIElements |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityShownMenu |
| To | @property(strong, nullable) id accessibilityShownMenu |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilitySplitters |
| To | @property(copy, nullable) NSArray *accessibilitySplitters |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityStringForRange:(NSRange)range |
| To | - (NSString * _Nullable)accessibilityStringForRange:(NSRange)range |
Modified NSAccessibility.accessibilitySubrole
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilitySubrole |
| To | @property(copy, nullable) NSString *accessibilitySubrole |
Modified NSAccessibility.accessibilityTabs
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityTabs |
| To | @property(copy, nullable) NSArray *accessibilityTabs |
Modified NSAccessibility.accessibilityTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityTitle |
| To | @property(copy, nullable) NSString *accessibilityTitle |
| Declaration | |
|---|---|
| From | @property(weak) id accessibilityTitleUIElement |
| To | @property(weak, nullable) id accessibilityTitleUIElement |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityToolbarButton |
| To | @property(strong, nullable) id accessibilityToolbarButton |
| Declaration | |
|---|---|
| From | @property(weak) id accessibilityTopLevelUIElement |
| To | @property(weak, nullable) id accessibilityTopLevelUIElement |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityUnitDescription |
| To | @property(copy, nullable) NSString *accessibilityUnitDescription |
Modified NSAccessibility.accessibilityURL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *accessibilityURL |
| To | @property(copy, nullable) NSURL *accessibilityURL |
Modified NSAccessibility.accessibilityValue
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityValue |
| To | @property(strong, nullable) id accessibilityValue |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityValueDescription |
| To | @property(copy, nullable) NSString *accessibilityValueDescription |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityVerticalScrollBar |
| To | @property(strong, nullable) id accessibilityVerticalScrollBar |
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityVerticalUnitDescription |
| To | @property(copy, nullable) NSString *accessibilityVerticalUnitDescription |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityVisibleCells |
| To | @property(copy, nullable) NSArray *accessibilityVisibleCells |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityVisibleChildren |
| To | @property(copy, nullable) NSArray *accessibilityVisibleChildren |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityVisibleColumns |
| To | @property(copy, nullable) NSArray *accessibilityVisibleColumns |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityVisibleRows |
| To | @property(copy, nullable) NSArray *accessibilityVisibleRows |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityWarningValue |
| To | @property(strong, nullable) id accessibilityWarningValue |
Modified NSAccessibility.accessibilityWindow
| Declaration | |
|---|---|
| From | @property(weak) id accessibilityWindow |
| To | @property(weak, nullable) id accessibilityWindow |
Modified NSAccessibility.accessibilityWindows
| Declaration | |
|---|---|
| From | @property(copy) NSArray *accessibilityWindows |
| To | @property(copy, nullable) NSArray *accessibilityWindows |
| Declaration | |
|---|---|
| From | @property(strong) id accessibilityZoomButton |
| To | @property(strong, nullable) id accessibilityZoomButton |
| Declaration | |
|---|---|
| From | - (BOOL)isAccessibilitySelectorAllowed:(SEL)selector |
| To | - (BOOL)isAccessibilitySelectorAllowed:(SEL _Nonnull)selector |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityLabel |
| To | - (NSString * _Nullable)accessibilityLabel |
| Declaration | |
|---|---|
| From | - (NSNumber *)accessibilityValue |
| To | - (NSNumber * _Nullable)accessibilityValue |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityIdentifier |
| To | - (NSString * _Nonnull)accessibilityIdentifier |
| Declaration | |
|---|---|
| From | - (id)accessibilityParent |
| To | - (id _Nullable)accessibilityParent |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityLabel |
| To | - (NSString * _Nullable)accessibilityLabel |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityChildren |
| To | - (NSArray * _Nullable)accessibilityChildren |
| Declaration | |
|---|---|
| From | - (id)accessibilityFocusedUIElement |
| To | - (id _Nonnull)accessibilityFocusedUIElement |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityLabel |
| To | - (NSString * _Nonnull)accessibilityLabel |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilitySelectedChildren |
| To | - (NSArray * _Nullable)accessibilitySelectedChildren |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityStringForRange:(NSRange)range |
| To | - (NSString * _Nullable)accessibilityStringForRange:(NSRange)range |
| Declaration | |
|---|---|
| From | - (NSNumber *)accessibilityValue |
| To | - (NSNumber * _Nullable)accessibilityValue |
| Declaration | |
|---|---|
| From | - (NSNumber *)accessibilityValue |
| To | - (NSNumber * _Nullable)accessibilityValue |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityLabel |
| To | - (NSString * _Nullable)accessibilityLabel |
| Declaration | |
|---|---|
| From | - (id)accessibilityValue |
| To | - (id _Nullable)accessibilityValue |
| Declaration | |
|---|---|
| From | - (NSAttributedString *)accessibilityAttributedStringForRange:(NSRange)range |
| To | - (NSAttributedString * _Nullable)accessibilityAttributedStringForRange:(NSRange)range |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityValue |
| To | - (NSString * _Nullable)accessibilityValue |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityLabel |
| To | - (NSString * _Nullable)accessibilityLabel |
| Declaration | |
|---|---|
| From | - (id)accessibilityValue |
| To | - (id _Nullable)accessibilityValue |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityValue |
| To | - (NSString * _Nullable)accessibilityValue |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityColumnHeaderUIElements |
| To | - (NSArray * _Nullable)accessibilityColumnHeaderUIElements |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityColumns |
| To | - (NSArray * _Nullable)accessibilityColumns |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityHeaderGroup |
| To | - (NSString * _Nullable)accessibilityHeaderGroup |
| Declaration | |
|---|---|
| From | - (NSString *)accessibilityLabel |
| To | - (NSString * _Nullable)accessibilityLabel |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityRowHeaderUIElements |
| To | - (NSArray * _Nullable)accessibilityRowHeaderUIElements |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityRows |
| To | - (NSArray<id<NSAccessibilityRow>> * _Nullable)accessibilityRows |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilitySelectedCells |
| To | - (NSArray * _Nullable)accessibilitySelectedCells |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilitySelectedColumns |
| To | - (NSArray * _Nullable)accessibilitySelectedColumns |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilitySelectedRows |
| To | - (NSArray<id<NSAccessibilityRow>> * _Nullable)accessibilitySelectedRows |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityVisibleCells |
| To | - (NSArray * _Nullable)accessibilityVisibleCells |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityVisibleColumns |
| To | - (NSArray * _Nullable)accessibilityVisibleColumns |
| Declaration | |
|---|---|
| From | - (NSArray *)accessibilityVisibleRows |
| To | - (NSArray<id<NSAccessibilityRow>> * _Nullable)accessibilityVisibleRows |
| Declaration | |
|---|---|
| From | - (void)setAccessibilitySelectedRows:(NSArray *)selectedRows |
| To | - (void)setAccessibilitySelectedRows:(NSArray<id<NSAccessibilityRow>> * _Nonnull)selectedRows |
NSActionCell.h
Modified NSActionCell.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nullable) SEL action |
Modified NSActionCell.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
NSAffineTransform.h
| Declaration | |
|---|---|
| From | - (NSBezierPath *)transformBezierPath:(NSBezierPath *)aPath |
| To | - (NSBezierPath * _Nonnull)transformBezierPath:(NSBezierPath * _Nonnull)aPath |
NSAlert.h
Modified NSAlert.accessoryView
| Declaration | |
|---|---|
| From | @property(strong) NSView *accessoryView |
| To | @property(strong, nullable) NSView *accessoryView |
Modified -[NSAlert addButtonWithTitle:]
| Declaration | |
|---|---|
| From | - (NSButton *)addButtonWithTitle:(NSString *)title |
| To | - (NSButton * _Nonnull)addButtonWithTitle:(NSString * _Nonnull)title |
Modified +[NSAlert alertWithError:]
| Declaration | |
|---|---|
| From | + (NSAlert *)alertWithError:(NSError *)error |
| To | + (NSAlert * _Nonnull)alertWithError:(NSError * _Nonnull)error |
Modified +[NSAlert alertWithMessageText:defaultButton:alternateButton:otherButton:informativeTextWithFormat:]
| Declaration | |
|---|---|
| From | + (NSAlert *)alertWithMessageText:(NSString *)message defaultButton:(NSString *)defaultButton alternateButton:(NSString *)alternateButton otherButton:(NSString *)otherButton informativeTextWithFormat:(NSString *)format, ... |
| To | + (NSAlert * _Nonnull)alertWithMessageText:(NSString * _Nullable)message defaultButton:(NSString * _Nullable)defaultButton alternateButton:(NSString * _Nullable)alternateButton otherButton:(NSString * _Nullable)otherButton informativeTextWithFormat:(NSString * _Nonnull)format, ... |
| Declaration | |
|---|---|
| From | - (void)beginSheetModalForWindow:(NSWindow *)sheetWindow completionHandler:(void (^)(NSModalResponse returnCode))handler |
| To | - (void)beginSheetModalForWindow:(NSWindow * _Nonnull)sheetWindow completionHandler:(void (^ _Nullable)(NSModalResponse returnCode))handler |
| Declaration | |
|---|---|
| From | - (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo |
| To | - (void)beginSheetModalForWindow:(NSWindow * _Nonnull)window modalDelegate:(id _Nullable)delegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Nullable)contextInfo |
Modified NSAlert.buttons
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *buttons |
| To | @property(readonly, copy, nonnull) NSArray<NSButton *> *buttons |
Modified NSAlert.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSAlertDelegate> delegate |
| To | @property(assign, nullable) id<NSAlertDelegate> delegate |
Modified NSAlert.helpAnchor
| Declaration | |
|---|---|
| From | @property(copy) NSString *helpAnchor |
| To | @property(copy, nullable) NSString *helpAnchor |
Modified NSAlert.icon
| Declaration | |
|---|---|
| From | @property(strong) NSImage *icon |
| To | @property(strong) NSImage * _Null_unspecified icon |
Modified NSAlert.informativeText
| Declaration | |
|---|---|
| From | @property(copy) NSString *informativeText |
| To | @property(copy, nonnull) NSString *informativeText |
Modified NSAlert.messageText
| Declaration | |
|---|---|
| From | @property(copy) NSString *messageText |
| To | @property(copy, nonnull) NSString *messageText |
Modified NSAlert.suppressionButton
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSButton *suppressionButton |
| To | @property(readonly, strong, nullable) NSButton *suppressionButton |
Modified NSAlert.window
| Declaration | |
|---|---|
| From | @property(readonly, strong) id window |
| To | @property(readonly, strong, nonnull) NSWindow *window |
Modified -[NSAlertDelegate alertShowHelp:]
| Declaration | |
|---|---|
| From | - (BOOL)alertShowHelp:(NSAlert *)alert |
| To | - (BOOL)alertShowHelp:(NSAlert * _Nonnull)alert |
NSAlignmentFeedbackFilter.h (Added)
Added NSAlignmentFeedbackToken
NSAnimation.h
| Declaration | |
|---|---|
| From | - (id)animationForKey:(NSString *)key |
| To | - (id _Nullable)animationForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (instancetype)animator |
| To | - (instancetype _Nonnull)animator |
| Declaration | |
|---|---|
| From | + (id)defaultAnimationForKey:(NSString *)key |
| To | + (id _Nullable)defaultAnimationForKey:(NSString * _Nonnull)key |
Modified NSAnimation.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSAnimationDelegate> delegate |
| To | @property(assign, nullable) id<NSAnimationDelegate> delegate |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDuration:(NSTimeInterval)duration animationCurve:(NSAnimationCurve)animationCurve |
| To | - (instancetype _Nonnull)initWithDuration:(NSTimeInterval)duration animationCurve:(NSAnimationCurve)animationCurve |
Modified NSAnimation.progressMarks
| Declaration | |
|---|---|
| From | @property(copy) NSArray *progressMarks |
| To | @property(copy, nonnull) NSArray<NSNumber *> *progressMarks |
Modified NSAnimation.runLoopModesForAnimating
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *runLoopModesForAnimating |
| To | @property(readonly, copy, nullable) NSArray<NSString *> *runLoopModesForAnimating |
| Declaration | |
|---|---|
| From | - (void)startWhenAnimation:(NSAnimation *)animation reachesProgress:(NSAnimationProgress)startProgress |
| To | - (void)startWhenAnimation:(NSAnimation * _Nonnull)animation reachesProgress:(NSAnimationProgress)startProgress |
| Declaration | |
|---|---|
| From | - (void)stopWhenAnimation:(NSAnimation *)animation reachesProgress:(NSAnimationProgress)stopProgress |
| To | - (void)stopWhenAnimation:(NSAnimation * _Nonnull)animation reachesProgress:(NSAnimationProgress)stopProgress |
| Declaration | |
|---|---|
| From | - (void)animation:(NSAnimation *)animation didReachProgressMark:(NSAnimationProgress)progress |
| To | - (void)animation:(NSAnimation * _Nonnull)animation didReachProgressMark:(NSAnimationProgress)progress |
| Declaration | |
|---|---|
| From | - (float)animation:(NSAnimation *)animation valueForProgress:(NSAnimationProgress)progress |
| To | - (float)animation:(NSAnimation * _Nonnull)animation valueForProgress:(NSAnimationProgress)progress |
| Declaration | |
|---|---|
| From | - (void)animationDidEnd:(NSAnimation *)animation |
| To | - (void)animationDidEnd:(NSAnimation * _Nonnull)animation |
| Declaration | |
|---|---|
| From | - (void)animationDidStop:(NSAnimation *)animation |
| To | - (void)animationDidStop:(NSAnimation * _Nonnull)animation |
| Declaration | |
|---|---|
| From | - (BOOL)animationShouldStart:(NSAnimation *)animation |
| To | - (BOOL)animationShouldStart:(NSAnimation * _Nonnull)animation |
| Declaration | |
|---|---|
| From | - (instancetype)initWithViewAnimations:(NSArray *)viewAnimations |
| To | - (instancetype _Nonnull)initWithViewAnimations:(NSArray<NSDictionary<NSString *,id> *> * _Nonnull)viewAnimations |
Modified NSViewAnimation.viewAnimations
| Declaration | |
|---|---|
| From | @property(copy) NSArray *viewAnimations |
| To | @property(copy, nonnull) NSArray<NSDictionary<NSString *,id> *> *viewAnimations |
NSAnimationContext.h
Modified NSAnimationContext.completionHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^completionHandler)(void) |
| To | @property(copy, nullable) void (^completionHandler)(void) |
Modified +[NSAnimationContext currentContext]
| Declaration | |
|---|---|
| From | + (NSAnimationContext *)currentContext |
| To | + (NSAnimationContext * _Nonnull)currentContext |
| Declaration | |
|---|---|
| From | + (void)runAnimationGroup:(void (^)(NSAnimationContext *context))changes completionHandler:(void (^)(void))completionHandler |
| To | + (void)runAnimationGroup:(void (^ _Nonnull)(NSAnimationContext * _Nonnull context))changes completionHandler:(void (^ _Nullable)(void))completionHandler |
Modified NSAnimationContext.timingFunction
| Declaration | |
|---|---|
| From | @property(strong) CAMediaTimingFunction *timingFunction |
| To | @property(strong, nullable) CAMediaTimingFunction *timingFunction |
NSAppearance.h
Modified +[NSAppearance appearanceNamed:]
| Declaration | |
|---|---|
| From | + (NSAppearance *)appearanceNamed:(NSString *)name |
| To | + (NSAppearance * _Nullable)appearanceNamed:(NSString * _Nonnull)name |
Modified +[NSAppearance currentAppearance]
| Declaration | |
|---|---|
| From | + (NSAppearance *)currentAppearance |
| To | + (NSAppearance * _Nonnull)currentAppearance |
| Declaration | |
|---|---|
| From | - (instancetype)initWithAppearanceNamed:(NSString *)name bundle:(NSBundle *)bundle |
| To | - (instancetype _Nullable)initWithAppearanceNamed:(NSString * _Nonnull)name bundle:(NSBundle * _Nullable)bundle |
Modified NSAppearance.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
Modified +[NSAppearance setCurrentAppearance:]
| Declaration | |
|---|---|
| From | + (void)setCurrentAppearance:(NSAppearance *)appearance |
| To | + (void)setCurrentAppearance:(NSAppearance * _Nullable)appearance |
Modified NSAppearanceCustomization.appearance
| Declaration | |
|---|---|
| From | @property(strong) NSAppearance *appearance |
| To | @property(strong, nullable) NSAppearance *appearance |
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSAppearance *effectiveAppearance |
| To | @property(readonly, strong, nonnull) NSAppearance *effectiveAppearance |
NSAppleScriptExtensions.h
Modified NSAppleScript.richTextSource
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSAttributedString *richTextSource |
| To | @property(readonly, strong, nullable) NSAttributedString *richTextSource |
NSApplication.h
| Declaration | |
|---|---|
| From | - (void)addWindowsItem:(NSWindow *)win title:(NSString *)aString filename:(BOOL)isFilename |
| To | - (void)addWindowsItem:(NSWindow * _Nonnull)win title:(NSString * _Nonnull)aString filename:(BOOL)isFilename |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)sender printFiles:(NSArray *)filenames |
| To | - (void)application:(NSApplication * _Null_unspecified)sender printFiles:(NSArray<NSString *> * _Null_unspecified)filenames |
Modified NSApplication.applicationIconImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *applicationIconImage |
| To | @property(strong) NSImage * _Null_unspecified applicationIconImage |
Modified -[NSApplication arrangeInFront:]
| Declaration | |
|---|---|
| From | - (void)arrangeInFront:(id)sender |
| To | - (void)arrangeInFront:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (NSModalSession)beginModalSessionForWindow:(NSWindow *)theWindow |
| To | - (NSModalSession _Nonnull)beginModalSessionForWindow:(NSWindow * _Nonnull)theWindow |
| Declaration | |
|---|---|
| From | - (NSModalSession)beginModalSessionForWindow:(NSWindow *)theWindow relativeToWindow:(NSWindow *)docWindow |
| To | - (NSModalSession _Nonnull)beginModalSessionForWindow:(NSWindow * _Null_unspecified)theWindow relativeToWindow:(NSWindow * _Null_unspecified)docWindow |
| Declaration | |
|---|---|
| From | - (void)beginSheet:(NSWindow *)sheet modalForWindow:(NSWindow *)docWindow modalDelegate:(id)modalDelegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo |
| To | - (void)beginSheet:(NSWindow * _Nonnull)sheet modalForWindow:(NSWindow * _Nonnull)docWindow modalDelegate:(id _Nullable)modalDelegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Null_unspecified)contextInfo |
| Declaration | |
|---|---|
| From | - (void)changeWindowsItem:(NSWindow *)win title:(NSString *)aString filename:(BOOL)isFilename |
| To | - (void)changeWindowsItem:(NSWindow * _Nonnull)win title:(NSString * _Nonnull)aString filename:(BOOL)isFilename |
Modified NSApplication.context
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSGraphicsContext *context |
| To | @property(readonly, strong, nullable) NSGraphicsContext *context |
Modified NSApplication.currentEvent
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSEvent *currentEvent |
| To | @property(readonly, strong, nullable) NSEvent *currentEvent |
Modified NSApplication.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSApplicationDelegate> delegate |
| To | @property(assign, nullable) id<NSApplicationDelegate> delegate |
| Declaration | |
|---|---|
| From | + (void)detachDrawingThread:(SEL)selector toTarget:(id)target withObject:(id)argument |
| To | + (void)detachDrawingThread:(SEL _Nonnull)selector toTarget:(id _Nonnull)target withObject:(id _Nullable)argument |
| Declaration | |
|---|---|
| From | - (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent *)lastEvent |
| To | - (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent * _Nullable)lastEvent |
Modified NSApplication.dockTile
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSDockTile *dockTile |
| To | @property(readonly, strong, nonnull) NSDockTile *dockTile |
Modified -[NSApplication endModalSession:]
| Declaration | |
|---|---|
| From | - (void)endModalSession:(NSModalSession)session |
| To | - (void)endModalSession:(NSModalSession _Nonnull)session |
Modified -[NSApplication endSheet:]
| Declaration | |
|---|---|
| From | - (void)endSheet:(NSWindow *)sheet |
| To | - (void)endSheet:(NSWindow * _Nonnull)sheet |
| Declaration | |
|---|---|
| From | - (void)endSheet:(NSWindow *)sheet returnCode:(NSInteger)returnCode |
| To | - (void)endSheet:(NSWindow * _Nonnull)sheet returnCode:(NSInteger)returnCode |
Modified NSApplication.helpMenu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *helpMenu |
| To | @property(strong, nullable) NSMenu *helpMenu |
Modified -[NSApplication hide:]
| Declaration | |
|---|---|
| From | - (void)hide:(id)sender |
| To | - (void)hide:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)hideOtherApplications:(id)sender |
| To | - (void)hideOtherApplications:(id _Nullable)sender |
Modified NSApplication.keyWindow
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSWindow *keyWindow |
| To | @property(readonly, assign, nullable) NSWindow *keyWindow |
Modified NSApplication.mainMenu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *mainMenu |
| To | @property(strong, nullable) NSMenu *mainMenu |
Modified NSApplication.mainWindow
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSWindow *mainWindow |
| To | @property(readonly, assign, nullable) NSWindow *mainWindow |
| Declaration | |
|---|---|
| From | - (NSWindow *)makeWindowsPerform:(SEL)aSelector inOrder:(BOOL)flag |
| To | - (NSWindow * _Nullable)makeWindowsPerform:(SEL _Nonnull)aSelector inOrder:(BOOL)flag |
Modified -[NSApplication miniaturizeAll:]
| Declaration | |
|---|---|
| From | - (void)miniaturizeAll:(id)sender |
| To | - (void)miniaturizeAll:(id _Nullable)sender |
Modified NSApplication.modalWindow
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSWindow *modalWindow |
| To | @property(readonly, strong, nullable) NSWindow *modalWindow |
| Declaration | |
|---|---|
| From | - (NSEvent *)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate *)expiration inMode:(NSString *)mode dequeue:(BOOL)deqFlag |
| To | - (NSEvent * _Nullable)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate * _Nullable)expiration inMode:(NSString * _Nonnull)mode dequeue:(BOOL)deqFlag |
| Declaration | |
|---|---|
| From | - (void)orderFrontCharacterPalette:(id)sender |
| To | - (void)orderFrontCharacterPalette:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)orderFrontStandardAboutPanel:(id)sender |
| To | - (void)orderFrontStandardAboutPanel:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)orderFrontStandardAboutPanelWithOptions:(NSDictionary *)optionsDictionary |
| To | - (void)orderFrontStandardAboutPanelWithOptions:(NSDictionary<NSString *,id> * _Nonnull)optionsDictionary |
Modified -[NSApplication postEvent:atStart:]
| Declaration | |
|---|---|
| From | - (void)postEvent:(NSEvent *)event atStart:(BOOL)flag |
| To | - (void)postEvent:(NSEvent * _Nonnull)event atStart:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (void)registerServicesMenuSendTypes:(NSArray *)sendTypes returnTypes:(NSArray *)returnTypes |
| To | - (void)registerServicesMenuSendTypes:(NSArray<NSString *> * _Nonnull)sendTypes returnTypes:(NSArray<NSString *> * _Nonnull)returnTypes |
Modified -[NSApplication removeWindowsItem:]
| Declaration | |
|---|---|
| From | - (void)removeWindowsItem:(NSWindow *)win |
| To | - (void)removeWindowsItem:(NSWindow * _Nonnull)win |
Modified -[NSApplication reportException:]
| Declaration | |
|---|---|
| From | - (void)reportException:(NSException *)theException |
| To | - (void)reportException:(NSException * _Nonnull)theException |
Modified -[NSApplication runModalForWindow:]
| Declaration | |
|---|---|
| From | - (NSInteger)runModalForWindow:(NSWindow *)theWindow |
| To | - (NSInteger)runModalForWindow:(NSWindow * _Nonnull)theWindow |
| Declaration | |
|---|---|
| From | - (NSInteger)runModalForWindow:(NSWindow *)theWindow relativeToWindow:(NSWindow *)docWindow |
| To | - (NSInteger)runModalForWindow:(NSWindow * _Null_unspecified)theWindow relativeToWindow:(NSWindow * _Null_unspecified)docWindow |
Modified -[NSApplication runModalSession:]
| Declaration | |
|---|---|
| From | - (NSInteger)runModalSession:(NSModalSession)session |
| To | - (NSInteger)runModalSession:(NSModalSession _Nonnull)session |
Modified -[NSApplication sendAction:to:from:]
| Declaration | |
|---|---|
| From | - (BOOL)sendAction:(SEL)theAction to:(id)theTarget from:(id)sender |
| To | - (BOOL)sendAction:(SEL _Nonnull)theAction to:(id _Nullable)theTarget from:(id _Nullable)sender |
Modified -[NSApplication sendEvent:]
| Declaration | |
|---|---|
| From | - (void)sendEvent:(NSEvent *)theEvent |
| To | - (void)sendEvent:(NSEvent * _Nonnull)theEvent |
Modified NSApplication.servicesMenu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *servicesMenu |
| To | @property(strong, nullable) NSMenu *servicesMenu |
Modified NSApplication.servicesProvider
| Declaration | |
|---|---|
| From | @property(strong) id servicesProvider |
| To | @property(strong, nullable) id servicesProvider |
Modified +[NSApplication sharedApplication]
| Declaration | |
|---|---|
| From | + (NSApplication *)sharedApplication |
| To | + (__kindof NSApplication * _Nonnull)sharedApplication |
Modified -[NSApplication stop:]
| Declaration | |
|---|---|
| From | - (void)stop:(id)sender |
| To | - (void)stop:(id _Nullable)sender |
Modified -[NSApplication targetForAction:]
| Declaration | |
|---|---|
| From | - (id)targetForAction:(SEL)theAction |
| To | - (id _Nullable)targetForAction:(SEL _Nonnull)theAction |
| Declaration | |
|---|---|
| From | - (id)targetForAction:(SEL)theAction to:(id)theTarget from:(id)sender |
| To | - (id _Nullable)targetForAction:(SEL _Nonnull)theAction to:(id _Nullable)theTarget from:(id _Nullable)sender |
Modified -[NSApplication terminate:]
| Declaration | |
|---|---|
| From | - (void)terminate:(id)sender |
| To | - (void)terminate:(id _Nullable)sender |
Modified -[NSApplication tryToPerform:with:]
| Declaration | |
|---|---|
| From | - (BOOL)tryToPerform:(SEL)anAction with:(id)anObject |
| To | - (BOOL)tryToPerform:(SEL _Nonnull)anAction with:(id _Nullable)anObject |
Modified -[NSApplication unhide:]
| Declaration | |
|---|---|
| From | - (void)unhide:(id)sender |
| To | - (void)unhide:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)unhideAllApplications:(id)sender |
| To | - (void)unhideAllApplications:(id _Nullable)sender |
Modified -[NSApplication updateWindowsItem:]
| Declaration | |
|---|---|
| From | - (void)updateWindowsItem:(NSWindow *)win |
| To | - (void)updateWindowsItem:(NSWindow * _Nonnull)win |
| Declaration | |
|---|---|
| From | - (id)validRequestorForSendType:(NSString *)sendType returnType:(NSString *)returnType |
| To | - (id _Nullable)validRequestorForSendType:(NSString * _Nonnull)sendType returnType:(NSString * _Nonnull)returnType |
Modified NSApplication.windows
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *windows |
| To | @property(readonly, copy, nonnull) NSArray<NSWindow *> *windows |
Modified NSApplication.windowsMenu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *windowsMenu |
| To | @property(strong, nullable) NSMenu *windowsMenu |
| Declaration | |
|---|---|
| From | - (NSWindow *)windowWithWindowNumber:(NSInteger)windowNum |
| To | - (NSWindow * _Nullable)windowWithWindowNumber:(NSInteger)windowNum |
| Declaration | |
|---|---|
| From | - (BOOL)application:(NSApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler |
| To | - (BOOL)application:(NSApplication * _Nonnull)application continueUserActivity:(NSUserActivity * _Nonnull)userActivity restorationHandler:(void (^ _Nonnull)(NSArray * _Nonnull restorableObjects))restorationHandler |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)app didDecodeRestorableState:(NSCoder *)coder |
| To | - (void)application:(NSApplication * _Nonnull)app didDecodeRestorableState:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)application didFailToContinueUserActivityWithType:(NSString *)userActivityType error:(NSError *)error |
| To | - (void)application:(NSApplication * _Nonnull)application didFailToContinueUserActivityWithType:(NSString * _Nonnull)userActivityType error:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error |
| To | - (void)application:(NSApplication * _Nonnull)application didFailToRegisterForRemoteNotificationsWithError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo |
| To | - (void)application:(NSApplication * _Nonnull)application didReceiveRemoteNotification:(NSDictionary<NSString *,id> * _Nonnull)userInfo |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken |
| To | - (void)application:(NSApplication * _Nonnull)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData * _Nonnull)deviceToken |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)application didUpdateUserActivity:(NSUserActivity *)userActivity |
| To | - (void)application:(NSApplication * _Nonnull)application didUpdateUserActivity:(NSUserActivity * _Nonnull)userActivity |
| Declaration | |
|---|---|
| From | - (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename |
| To | - (BOOL)application:(NSApplication * _Nonnull)sender openFile:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)sender openFiles:(NSArray *)filenames |
| To | - (void)application:(NSApplication * _Nonnull)sender openFiles:(NSArray<NSString *> * _Nonnull)filenames |
| Declaration | |
|---|---|
| From | - (BOOL)application:(id)sender openFileWithoutUI:(NSString *)filename |
| To | - (BOOL)application:(id _Nonnull)sender openFileWithoutUI:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | - (BOOL)application:(NSApplication *)sender openTempFile:(NSString *)filename |
| To | - (BOOL)application:(NSApplication * _Nonnull)sender openTempFile:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | - (BOOL)application:(NSApplication *)sender printFile:(NSString *)filename |
| To | - (BOOL)application:(NSApplication * _Nonnull)sender printFile:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | - (NSApplicationPrintReply)application:(NSApplication *)application printFiles:(NSArray *)fileNames withSettings:(NSDictionary *)printSettings showPrintPanels:(BOOL)showPrintPanels |
| To | - (NSApplicationPrintReply)application:(NSApplication * _Nonnull)application printFiles:(NSArray<NSString *> * _Nonnull)fileNames withSettings:(NSDictionary<NSString *,id> * _Nonnull)printSettings showPrintPanels:(BOOL)showPrintPanels |
| Declaration | |
|---|---|
| From | - (BOOL)application:(NSApplication *)application willContinueUserActivityWithType:(NSString *)userActivityType |
| To | - (BOOL)application:(NSApplication * _Nonnull)application willContinueUserActivityWithType:(NSString * _Nonnull)userActivityType |
| Declaration | |
|---|---|
| From | - (void)application:(NSApplication *)app willEncodeRestorableState:(NSCoder *)coder |
| To | - (void)application:(NSApplication * _Nonnull)app willEncodeRestorableState:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (NSError *)application:(NSApplication *)application willPresentError:(NSError *)error |
| To | - (NSError * _Nonnull)application:(NSApplication * _Nonnull)application willPresentError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)applicationDidBecomeActive:(NSNotification *)notification |
| To | - (void)applicationDidBecomeActive:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationDidChangeOcclusionState:(NSNotification *)notification |
| To | - (void)applicationDidChangeOcclusionState:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationDidChangeScreenParameters:(NSNotification *)notification |
| To | - (void)applicationDidChangeScreenParameters:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationDidFinishLaunching:(NSNotification *)notification |
| To | - (void)applicationDidFinishLaunching:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationDidHide:(NSNotification *)notification |
| To | - (void)applicationDidHide:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationDidResignActive:(NSNotification *)notification |
| To | - (void)applicationDidResignActive:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationDidUnhide:(NSNotification *)notification |
| To | - (void)applicationDidUnhide:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationDidUpdate:(NSNotification *)notification |
| To | - (void)applicationDidUpdate:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (NSMenu *)applicationDockMenu:(NSApplication *)sender |
| To | - (NSMenu * _Nullable)applicationDockMenu:(NSApplication * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (BOOL)applicationOpenUntitledFile:(NSApplication *)sender |
| To | - (BOOL)applicationOpenUntitledFile:(NSApplication * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag |
| To | - (BOOL)applicationShouldHandleReopen:(NSApplication * _Nonnull)sender hasVisibleWindows:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender |
| To | - (BOOL)applicationShouldOpenUntitledFile:(NSApplication * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender |
| To | - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender |
| To | - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)applicationWillBecomeActive:(NSNotification *)notification |
| To | - (void)applicationWillBecomeActive:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationWillFinishLaunching:(NSNotification *)notification |
| To | - (void)applicationWillFinishLaunching:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationWillHide:(NSNotification *)notification |
| To | - (void)applicationWillHide:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationWillResignActive:(NSNotification *)notification |
| To | - (void)applicationWillResignActive:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationWillTerminate:(NSNotification *)notification |
| To | - (void)applicationWillTerminate:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationWillUnhide:(NSNotification *)notification |
| To | - (void)applicationWillUnhide:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)applicationWillUpdate:(NSNotification *)notification |
| To | - (void)applicationWillUpdate:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard |
| To | - (BOOL)readSelectionFromPasteboard:(NSPasteboard * _Nonnull)pboard |
| Declaration | |
|---|---|
| From | - (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard types:(NSArray *)types |
| To | - (BOOL)writeSelectionToPasteboard:(NSPasteboard * _Nonnull)pboard types:(NSArray<NSString *> * _Nonnull)types |
Modified NSApplicationMain()
| Declaration | |
|---|---|
| From | int NSApplicationMain (
int argc,
const char *argv[]
);
|
| To | int NSApplicationMain (
int argc,
const char * _Nonnull argv[]
);
|
Modified NSPerformService()
| Declaration | |
|---|---|
| From | BOOL NSPerformService (
NSString *itemName,
NSPasteboard *pboard
);
|
| To | BOOL NSPerformService (
NSString * _Nonnull itemName,
NSPasteboard * _Nullable pboard
);
|
Modified NSRegisterServicesProvider()
| Declaration | |
|---|---|
| From | void NSRegisterServicesProvider (
id provider,
NSString *name
);
|
| To | void NSRegisterServicesProvider (
id _Nullable provider,
NSString * _Nonnull name
);
|
Modified NSSetShowsServicesMenuItem()
| Declaration | |
|---|---|
| From | NSInteger NSSetShowsServicesMenuItem (
NSString *itemName,
BOOL enabled
);
|
| To | NSInteger NSSetShowsServicesMenuItem (
NSString * _Nonnull itemName,
BOOL enabled
);
|
Modified NSShowsServicesMenuItem()
| Declaration | |
|---|---|
| From | BOOL NSShowsServicesMenuItem (
NSString *itemName
);
|
| To | BOOL NSShowsServicesMenuItem (
NSString * _Nonnull itemName
);
|
Modified NSUnregisterServicesProvider()
| Declaration | |
|---|---|
| From | void NSUnregisterServicesProvider (
NSString *name
);
|
| To | void NSUnregisterServicesProvider (
NSString * _Nonnull name
);
|
Modified NSUserInterfaceLayoutDirection
| Header | |
|---|---|
| From | AppKit/NSApplication.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSApplication.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSApplication.h |
| To | AppKit/NSUserInterfaceLayout.h |
NSApplicationScripting.h
Modified NSApplication.orderedDocuments
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *orderedDocuments |
| To | @property(readonly, copy, nonnull) NSArray<NSDocument *> *orderedDocuments |
Modified NSApplication.orderedWindows
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *orderedWindows |
| To | @property(readonly, copy, nonnull) NSArray<NSWindow *> *orderedWindows |
| Declaration | |
|---|---|
| From | - (BOOL)application:(NSApplication *)sender delegateHandlesKey:(NSString *)key |
| To | - (BOOL)application:(NSApplication * _Nonnull)sender delegateHandlesKey:(NSString * _Nonnull)key |
NSArrayController.h
Modified -[NSArrayController add:]
| Declaration | |
|---|---|
| From | - (void)add:(id)sender |
| To | - (void)add:(id _Nullable)sender |
Modified -[NSArrayController addObject:]
| Declaration | |
|---|---|
| From | - (void)addObject:(id)object |
| To | - (void)addObject:(id _Nonnull)object |
Modified -[NSArrayController addObjects:]
| Declaration | |
|---|---|
| From | - (void)addObjects:(NSArray *)objects |
| To | - (void)addObjects:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (BOOL)addSelectedObjects:(NSArray *)objects |
| To | - (BOOL)addSelectedObjects:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (BOOL)addSelectionIndexes:(NSIndexSet *)indexes |
| To | - (BOOL)addSelectionIndexes:(NSIndexSet * _Nonnull)indexes |
Modified NSArrayController.arrangedObjects
| Declaration | |
|---|---|
| From | @property(readonly, strong) id arrangedObjects |
| To | @property(readonly, strong, nonnull) id arrangedObjects |
Modified -[NSArrayController arrangeObjects:]
| Declaration | |
|---|---|
| From | - (NSArray *)arrangeObjects:(NSArray *)objects |
| To | - (NSArray * _Nonnull)arrangeObjects:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *automaticRearrangementKeyPaths |
| To | @property(readonly, copy, nullable) NSArray<NSString *> *automaticRearrangementKeyPaths |
Modified NSArrayController.filterPredicate
| Declaration | |
|---|---|
| From | @property(strong) NSPredicate *filterPredicate |
| To | @property(strong, nullable) NSPredicate *filterPredicate |
Modified -[NSArrayController insert:]
| Declaration | |
|---|---|
| From | - (void)insert:(id)sender |
| To | - (void)insert:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)insertObject:(id)object atArrangedObjectIndex:(NSUInteger)index |
| To | - (void)insertObject:(id _Nonnull)object atArrangedObjectIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (void)insertObjects:(NSArray *)objects atArrangedObjectIndexes:(NSIndexSet *)indexes |
| To | - (void)insertObjects:(NSArray * _Nonnull)objects atArrangedObjectIndexes:(NSIndexSet * _Nonnull)indexes |
Modified -[NSArrayController remove:]
| Declaration | |
|---|---|
| From | - (void)remove:(id)sender |
| To | - (void)remove:(id _Nullable)sender |
Modified -[NSArrayController removeObject:]
| Declaration | |
|---|---|
| From | - (void)removeObject:(id)object |
| To | - (void)removeObject:(id _Nonnull)object |
Modified -[NSArrayController removeObjects:]
| Declaration | |
|---|---|
| From | - (void)removeObjects:(NSArray *)objects |
| To | - (void)removeObjects:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (void)removeObjectsAtArrangedObjectIndexes:(NSIndexSet *)indexes |
| To | - (void)removeObjectsAtArrangedObjectIndexes:(NSIndexSet * _Nonnull)indexes |
| Declaration | |
|---|---|
| From | - (BOOL)removeSelectedObjects:(NSArray *)objects |
| To | - (BOOL)removeSelectedObjects:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (BOOL)removeSelectionIndexes:(NSIndexSet *)indexes |
| To | - (BOOL)removeSelectionIndexes:(NSIndexSet * _Nonnull)indexes |
Modified NSArrayController.selectedObjects
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *selectedObjects |
| To | @property(readonly, copy) NSArray * _Null_unspecified selectedObjects |
Modified NSArrayController.selectionIndexes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSIndexSet *selectionIndexes |
| To | @property(readonly, copy, nonnull) NSIndexSet *selectionIndexes |
Modified -[NSArrayController selectNext:]
| Declaration | |
|---|---|
| From | - (void)selectNext:(id)sender |
| To | - (void)selectNext:(id _Nullable)sender |
Modified -[NSArrayController selectPrevious:]
| Declaration | |
|---|---|
| From | - (void)selectPrevious:(id)sender |
| To | - (void)selectPrevious:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)setSelectedObjects:(NSArray *)objects |
| To | - (BOOL)setSelectedObjects:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (BOOL)setSelectionIndexes:(NSIndexSet *)indexes |
| To | - (BOOL)setSelectionIndexes:(NSIndexSet * _Nonnull)indexes |
Modified NSArrayController.sortDescriptors
| Declaration | |
|---|---|
| From | @property(copy) NSArray *sortDescriptors |
| To | @property(copy, nonnull) NSArray<NSSortDescriptor *> *sortDescriptors |
NSATSTypesetter.h
Modified NSATSTypesetter.attributedString
| Declaration | |
|---|---|
| From | @property(assign) NSAttributedString *attributedString |
| To | @property(assign, nullable) NSAttributedString *attributedString |
| Declaration | |
|---|---|
| From | - (NSRect)boundingBoxForControlGlyphAtIndex:(NSUInteger)glyphIndex forTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(NSRect)proposedRect glyphPosition:(NSPoint)glyphPosition characterIndex:(NSUInteger)charIndex |
| To | - (NSRect)boundingBoxForControlGlyphAtIndex:(NSUInteger)glyphIndex forTextContainer:(NSTextContainer * _Nonnull)textContainer proposedLineFragment:(NSRect)proposedRect glyphPosition:(NSPoint)glyphPosition characterIndex:(NSUInteger)charIndex |
Modified -[NSATSTypesetter characterRangeForGlyphRange:actualGlyphRange:]
| Declaration | |
|---|---|
| From | - (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer)actualGlyphRange |
| To | - (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer _Nullable)actualGlyphRange |
Modified NSATSTypesetter.currentTextContainer
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSTextContainer *currentTextContainer |
| To | @property(readonly, assign, nullable) NSTextContainer *currentTextContainer |
| Declaration | |
|---|---|
| From | - (NSUInteger)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph *)glyphBuffer characterIndexes:(NSUInteger *)charIndexBuffer glyphInscriptions:(NSGlyphInscription *)inscribeBuffer elasticBits:(BOOL *)elasticBuffer |
| To | - (NSUInteger)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph * _Null_unspecified)glyphBuffer characterIndexes:(NSUInteger * _Null_unspecified)charIndexBuffer glyphInscriptions:(NSGlyphInscription * _Null_unspecified)inscribeBuffer elasticBits:(BOOL * _Null_unspecified)elasticBuffer |
Modified -[NSATSTypesetter getLineFragmentRect:usedRect:forParagraphSeparatorGlyphRange:atProposedOrigin:]
| Declaration | |
|---|---|
| From | - (void)getLineFragmentRect:(NSRect *)lineFragmentRect usedRect:(NSRect *)lineFragmentUsedRect forParagraphSeparatorGlyphRange:(NSRange)paragraphSeparatorGlyphRange atProposedOrigin:(NSPoint)lineOrigin |
| To | - (void)getLineFragmentRect:(NSRect * _Nonnull)lineFragmentRect usedRect:(NSRect * _Nonnull)lineFragmentUsedRect forParagraphSeparatorGlyphRange:(NSRange)paragraphSeparatorGlyphRange atProposedOrigin:(NSPoint)lineOrigin |
Modified -[NSATSTypesetter glyphRangeForCharacterRange:actualCharacterRange:]
| Declaration | |
|---|---|
| From | - (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange |
| To | - (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer _Nullable)actualCharRange |
Modified NSATSTypesetter.layoutManager
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSLayoutManager *layoutManager |
| To | @property(readonly, assign, nullable) NSLayoutManager *layoutManager |
| Declaration | |
|---|---|
| From | - (NSUInteger)layoutParagraphAtPoint:(NSPoint *)lineFragmentOrigin |
| To | - (NSUInteger)layoutParagraphAtPoint:(NSPoint * _Nonnull)lineFragmentOrigin |
| Declaration | |
|---|---|
| From | - (NSRect)lineFragmentRectForProposedRect:(NSRect)proposedRect remainingRect:(NSRectPointer)remainingRect |
| To | - (NSRect)lineFragmentRectForProposedRect:(NSRect)proposedRect remainingRect:(NSRectPointer _Null_unspecified)remainingRect |
Modified -[NSATSTypesetter setBidiLevels:forGlyphRange:]
| Declaration | |
|---|---|
| From | - (void)setBidiLevels:(const uint8_t *)levels forGlyphRange:(NSRange)glyphRange |
| To | - (void)setBidiLevels:(const uint8_t * _Null_unspecified)levels forGlyphRange:(NSRange)glyphRange |
Modified -[NSATSTypesetter setLocation:withAdvancements:forStartOfGlyphRange:]
| Declaration | |
|---|---|
| From | - (void)setLocation:(NSPoint)location withAdvancements:(const CGFloat *)advancements forStartOfGlyphRange:(NSRange)glyphRange |
| To | - (void)setLocation:(NSPoint)location withAdvancements:(const CGFloat * _Null_unspecified)advancements forStartOfGlyphRange:(NSRange)glyphRange |
Modified +[NSATSTypesetter sharedTypesetter]
| Declaration | |
|---|---|
| From | + (NSATSTypesetter *)sharedTypesetter |
| To | + (NSATSTypesetter * _Nonnull)sharedTypesetter |
| Declaration | |
|---|---|
| From | - (NSFont *)substituteFontForFont:(NSFont *)originalFont |
| To | - (NSFont * _Nonnull)substituteFontForFont:(NSFont * _Nonnull)originalFont |
Modified -[NSATSTypesetter substituteGlyphsInRange:withGlyphs:]
| Declaration | |
|---|---|
| From | - (void)substituteGlyphsInRange:(NSRange)glyphRange withGlyphs:(NSGlyph *)glyphs |
| To | - (void)substituteGlyphsInRange:(NSRange)glyphRange withGlyphs:(NSGlyph * _Null_unspecified)glyphs |
| Declaration | |
|---|---|
| From | - (NSTextTab *)textTabForGlyphLocation:(CGFloat)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(CGFloat)maxLocation |
| To | - (NSTextTab * _Nullable)textTabForGlyphLocation:(CGFloat)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(CGFloat)maxLocation |
| Declaration | |
|---|---|
| From | - (void)willSetLineFragmentRect:(NSRect *)lineRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect *)usedRect baselineOffset:(CGFloat *)baselineOffset |
| To | - (void)willSetLineFragmentRect:(NSRect * _Nonnull)lineRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect * _Nonnull)usedRect baselineOffset:(CGFloat * _Nonnull)baselineOffset |
NSAttributedString.h
Added NSAttributedString(NSAttributedStringDocumentFormats)
Added NSMutableAttributedString(NSAttributedStringAttributeFixing)
Added NSMutableAttributedString(NSDeprecatedKitAdditions)
Added NSMutableAttributedString(NSMutableAttributedStringDocumentFormats)
Added NSUnderlineByWord
Added NSUnderlineStyle
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | Introduction | |
|---|---|---|
| From | - (NSData *)dataFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error | OS X 10.4 |
| To | - (NSData * _Nullable)dataFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict error:(NSError * _Nullable * _Nullable)error | OS X 10.0 |
| Declaration | |
|---|---|
| From | - (NSData *)docFormatFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict |
| To | - (NSData * _Nullable)docFormatFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict |
| Declaration | Introduction | |
|---|---|---|
| From | - (NSFileWrapper *)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error | OS X 10.4 |
| To | - (NSFileWrapper * _Nullable)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict error:(NSError * _Nullable * _Nullable)error | OS X 10.0 |
| Declaration | |
|---|---|
| From | - (NSDictionary *)fontAttributesInRange:(NSRange)range |
| To | - (NSDictionary<NSString *,id> * _Nonnull)fontAttributesInRange:(NSRange)range |
| Declaration | Introduction | |
|---|---|---|
| From | - (instancetype)initWithData:(NSData *)data options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict error:(NSError **)error | OS X 10.4 |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nonnull)options documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict error:(NSError * _Nullable * _Nullable)error | OS X 10.0 |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDocFormat:(NSData *)data documentAttributes:(NSDictionary **)dict |
| To | - (instancetype _Nullable)initWithDocFormat:(NSData * _Nonnull)data documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict |
| Declaration | |
|---|---|
| From | - (instancetype)initWithHTML:(NSData *)data baseURL:(NSURL *)base documentAttributes:(NSDictionary **)dict |
| To | - (instancetype _Nullable)initWithHTML:(NSData * _Nonnull)data baseURL:(NSURL * _Nonnull)base documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict |
| Declaration | |
|---|---|
| From | - (instancetype)initWithHTML:(NSData *)data documentAttributes:(NSDictionary **)dict |
| To | - (instancetype _Nullable)initWithHTML:(NSData * _Nonnull)data documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict |
| Declaration | |
|---|---|
| From | - (instancetype)initWithHTML:(NSData *)data options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict |
| To | - (instancetype _Nullable)initWithHTML:(NSData * _Nonnull)data options:(NSDictionary * _Nonnull)options documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict |
| Declaration | Deprecation | |
|---|---|---|
| From | - (instancetype)initWithPath:(NSString *)path documentAttributes:(NSDictionary **)dict | -- |
| To | - (instancetype _Nullable)initWithPath:(NSString * _Nonnull)path documentAttributes:(NSDictionary * _Nullable * _Nullable)dict | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (instancetype)initWithRTF:(NSData *)data documentAttributes:(NSDictionary **)dict |
| To | - (instancetype _Nullable)initWithRTF:(NSData * _Nonnull)data documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict |
| Declaration | |
|---|---|
| From | - (instancetype)initWithRTFD:(NSData *)data documentAttributes:(NSDictionary **)dict |
| To | - (instancetype _Nullable)initWithRTFD:(NSData * _Nonnull)data documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict |
| Declaration | |
|---|---|
| From | - (instancetype)initWithRTFDFileWrapper:(NSFileWrapper *)wrapper documentAttributes:(NSDictionary **)dict |
| To | - (instancetype _Nullable)initWithRTFDFileWrapper:(NSFileWrapper * _Nonnull)wrapper documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict |
| Declaration | Deprecation | |
|---|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url documentAttributes:(NSDictionary **)dict | -- |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url documentAttributes:(NSDictionary * _Nullable * _Nullable)dict | OS X 10.11 |
| Declaration | Introduction | |
|---|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict error:(NSError **)error | OS X 10.4 |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nonnull)options documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict error:(NSError * _Nullable * _Nullable)error | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSInteger)itemNumberInTextList:(NSTextList *)list atIndex:(NSUInteger)location |
| To | - (NSInteger)itemNumberInTextList:(NSTextList * _Nonnull)list atIndex:(NSUInteger)location |
| Declaration | |
|---|---|
| From | - (NSRange)rangeOfTextBlock:(NSTextBlock *)block atIndex:(NSUInteger)location |
| To | - (NSRange)rangeOfTextBlock:(NSTextBlock * _Nonnull)block atIndex:(NSUInteger)location |
| Declaration | |
|---|---|
| From | - (NSRange)rangeOfTextList:(NSTextList *)list atIndex:(NSUInteger)location |
| To | - (NSRange)rangeOfTextList:(NSTextList * _Nonnull)list atIndex:(NSUInteger)location |
| Declaration | |
|---|---|
| From | - (NSRange)rangeOfTextTable:(NSTextTable *)table atIndex:(NSUInteger)location |
| To | - (NSRange)rangeOfTextTable:(NSTextTable * _Nonnull)table atIndex:(NSUInteger)location |
| Declaration | |
|---|---|
| From | - (NSFileWrapper *)RTFDFileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict |
| To | - (NSFileWrapper * _Nullable)RTFDFileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict |
| Declaration | |
|---|---|
| From | - (NSData *)RTFDFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict |
| To | - (NSData * _Nullable)RTFDFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict |
| Declaration | |
|---|---|
| From | - (NSData *)RTFFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict |
| To | - (NSData * _Nullable)RTFFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict |
| Declaration | |
|---|---|
| From | - (NSDictionary *)rulerAttributesInRange:(NSRange)range |
| To | - (NSDictionary<NSString *,id> * _Nonnull)rulerAttributesInRange:(NSRange)range |
Modified +[NSAttributedString textFileTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)textFileTypes |
| To | + (NSArray * _Nonnull)textFileTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)textPasteboardTypes |
| To | + (NSArray * _Nonnull)textPasteboardTypes |
Modified +[NSAttributedString textTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)textTypes |
| To | + (NSArray<NSString *> * _Nonnull)textTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)textUnfilteredFileTypes |
| To | + (NSArray * _Nonnull)textUnfilteredFileTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)textUnfilteredPasteboardTypes |
| To | + (NSArray * _Nonnull)textUnfilteredPasteboardTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)textUnfilteredTypes |
| To | + (NSArray<NSString *> * _Nonnull)textUnfilteredTypes |
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSURL *)URLAtIndex:(NSUInteger)location effectiveRange:(NSRangePointer)effectiveRange | -- |
| To | - (NSURL * _Nullable)URLAtIndex:(NSUInteger)location effectiveRange:(NSRangePointer _Nonnull)effectiveRange | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (BOOL)readFromData:(NSData *)data options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict | OS X 10.3 | -- |
| To | - (BOOL)readFromData:(NSData * _Nonnull)data options:(NSDictionary * _Nonnull)options documentAttributes:(NSDictionary * _Nullable * _Nullable)dict | OS X 10.0 | OS X 10.11 |
| Declaration | Introduction | |
|---|---|---|
| From | - (BOOL)readFromData:(NSData *)data options:(NSDictionary *)opts documentAttributes:(NSDictionary **)dict error:(NSError **)error | OS X 10.4 |
| To | - (BOOL)readFromData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nonnull)opts documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict error:(NSError * _Nullable * _Nullable)error | OS X 10.0 |
| Declaration | Deprecation | |
|---|---|---|
| From | - (BOOL)readFromURL:(NSURL *)url options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict | -- |
| To | - (BOOL)readFromURL:(NSURL * _Nonnull)url options:(NSDictionary * _Nonnull)options documentAttributes:(NSDictionary * _Nullable * _Nullable)dict | OS X 10.11 |
| Declaration | Introduction | |
|---|---|---|
| From | - (BOOL)readFromURL:(NSURL *)url options:(NSDictionary *)opts documentAttributes:(NSDictionary **)dict error:(NSError **)error | OS X 10.4 |
| To | - (BOOL)readFromURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nonnull)opts documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict error:(NSError * _Nullable * _Nullable)error | OS X 10.11 |
Modified NSBackgroundColorDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSCharacterEncodingDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSCharacterShapeAttributeName
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSDocumentTypeDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSExpansionAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSHyphenationFactorDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSObliquenessAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSPaperSizeDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSReadOnlyDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSShadowAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSStrikethroughColorAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSStrikethroughStyleAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSStrokeColorAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSStrokeWidthAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlineByWordMask
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSUnderlineColorAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlinePatternDash
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlinePatternDashDot
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlinePatternDashDotDot
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlinePatternDot
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlinePatternSolid
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlineStyleDouble
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlineStyleNone
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlineStyleSingle
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUnderlineStyleThick
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
Modified NSUsesScreenFontsDocumentAttribute
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSViewModeDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSViewSizeDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSViewZoomDocumentAttribute
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
NSBezierPath.h
Modified -[NSBezierPath appendBezierPath:]
| Declaration | |
|---|---|
| From | - (void)appendBezierPath:(NSBezierPath *)path |
| To | - (void)appendBezierPath:(NSBezierPath * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (void)appendBezierPathWithGlyph:(NSGlyph)glyph inFont:(NSFont *)font |
| To | - (void)appendBezierPathWithGlyph:(NSGlyph)glyph inFont:(NSFont * _Nonnull)font |
| Declaration | |
|---|---|
| From | - (void)appendBezierPathWithGlyphs:(NSGlyph *)glyphs count:(NSInteger)count inFont:(NSFont *)font |
| To | - (void)appendBezierPathWithGlyphs:(NSGlyph * _Nonnull)glyphs count:(NSInteger)count inFont:(NSFont * _Nonnull)font |
| Declaration | |
|---|---|
| From | - (void)appendBezierPathWithPackedGlyphs:(const char *)packedGlyphs |
| To | - (void)appendBezierPathWithPackedGlyphs:(const char * _Nonnull)packedGlyphs |
| Declaration | |
|---|---|
| From | - (void)appendBezierPathWithPoints:(NSPointArray)points count:(NSInteger)count |
| To | - (void)appendBezierPathWithPoints:(NSPointArray _Nonnull)points count:(NSInteger)count |
Modified +[NSBezierPath bezierPath]
| Declaration | |
|---|---|
| From | + (NSBezierPath *)bezierPath |
| To | + (NSBezierPath * _Nonnull)bezierPath |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSBezierPath *bezierPathByFlatteningPath |
| To | @property(readonly, copy, nonnull) NSBezierPath *bezierPathByFlatteningPath |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSBezierPath *bezierPathByReversingPath |
| To | @property(readonly, copy, nonnull) NSBezierPath *bezierPathByReversingPath |
| Declaration | |
|---|---|
| From | + (NSBezierPath *)bezierPathWithOvalInRect:(NSRect)rect |
| To | + (NSBezierPath * _Nonnull)bezierPathWithOvalInRect:(NSRect)rect |
Modified +[NSBezierPath bezierPathWithRect:]
| Declaration | |
|---|---|
| From | + (NSBezierPath *)bezierPathWithRect:(NSRect)rect |
| To | + (NSBezierPath * _Nonnull)bezierPathWithRect:(NSRect)rect |
| Declaration | |
|---|---|
| From | + (NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius |
| To | + (NSBezierPath * _Nonnull)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius |
| Declaration | |
|---|---|
| From | + (void)drawPackedGlyphs:(const char *)packedGlyphs atPoint:(NSPoint)point |
| To | + (void)drawPackedGlyphs:(const char * _Nonnull)packedGlyphs atPoint:(NSPoint)point |
| Declaration | |
|---|---|
| From | - (NSBezierPathElement)elementAtIndex:(NSInteger)index associatedPoints:(NSPointArray)points |
| To | - (NSBezierPathElement)elementAtIndex:(NSInteger)index associatedPoints:(NSPointArray _Nullable)points |
| Declaration | |
|---|---|
| From | - (void)getLineDash:(CGFloat *)pattern count:(NSInteger *)count phase:(CGFloat *)phase |
| To | - (void)getLineDash:(CGFloat * _Nullable)pattern count:(NSInteger * _Nullable)count phase:(CGFloat * _Nullable)phase |
| Declaration | |
|---|---|
| From | - (void)setAssociatedPoints:(NSPointArray)points atIndex:(NSInteger)index |
| To | - (void)setAssociatedPoints:(NSPointArray _Nullable)points atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (void)setLineDash:(const CGFloat *)pattern count:(NSInteger)count phase:(CGFloat)phase |
| To | - (void)setLineDash:(const CGFloat * _Nullable)pattern count:(NSInteger)count phase:(CGFloat)phase |
| Declaration | |
|---|---|
| From | - (void)transformUsingAffineTransform:(NSAffineTransform *)transform |
| To | - (void)transformUsingAffineTransform:(NSAffineTransform * _Nonnull)transform |
NSBitmapImageRep.h
Modified NSBitmapImageRep.bitmapData
| Declaration | |
|---|---|
| From | @property(readonly) unsigned char *bitmapData |
| To | @property(readonly, nullable) unsigned char *bitmapData |
| Declaration | |
|---|---|
| From | - (NSBitmapImageRep *)bitmapImageRepByConvertingToColorSpace:(NSColorSpace *)targetSpace renderingIntent:(NSColorRenderingIntent)renderingIntent |
| To | - (NSBitmapImageRep * _Nullable)bitmapImageRepByConvertingToColorSpace:(NSColorSpace * _Nonnull)targetSpace renderingIntent:(NSColorRenderingIntent)renderingIntent |
| Declaration | |
|---|---|
| From | - (NSBitmapImageRep *)bitmapImageRepByRetaggingWithColorSpace:(NSColorSpace *)newSpace |
| To | - (NSBitmapImageRep * _Nullable)bitmapImageRepByRetaggingWithColorSpace:(NSColorSpace * _Nonnull)newSpace |
Modified NSBitmapImageRep.CGImage
| Declaration | |
|---|---|
| From | @property(readonly) CGImageRef CGImage |
| To | @property(readonly, nullable) CGImageRef CGImage |
Modified -[NSBitmapImageRep colorAtX:y:]
| Declaration | |
|---|---|
| From | - (NSColor *)colorAtX:(NSInteger)x y:(NSInteger)y |
| To | - (NSColor * _Nullable)colorAtX:(NSInteger)x y:(NSInteger)y |
| Declaration | |
|---|---|
| From | - (void)colorizeByMappingGray:(CGFloat)midPoint toColor:(NSColor *)midPointColor blackMapping:(NSColor *)shadowColor whiteMapping:(NSColor *)lightColor |
| To | - (void)colorizeByMappingGray:(CGFloat)midPoint toColor:(NSColor * _Nullable)midPointColor blackMapping:(NSColor * _Nullable)shadowColor whiteMapping:(NSColor * _Nullable)lightColor |
Modified NSBitmapImageRep.colorSpace
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSColorSpace *colorSpace |
| To | @property(readonly, strong, nonnull) NSColorSpace *colorSpace |
| Declaration | |
|---|---|
| From | - (void)getBitmapDataPlanes:(unsigned char **)data |
| To | - (void)getBitmapDataPlanes:(unsigned char * _Nullable * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (void)getCompression:(NSTIFFCompression *)compression factor:(float *)factor |
| To | - (void)getCompression:(NSTIFFCompression * _Nullable)compression factor:(float * _Nullable)factor |
| Declaration | |
|---|---|
| From | + (void)getTIFFCompressionTypes:(const NSTIFFCompression **)list count:(NSInteger *)numTypes |
| To | + (void)getTIFFCompressionTypes:(const NSTIFFCompression * _Nullable * _Nonnull)list count:(NSInteger * _Nonnull)numTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)imageRepsWithData:(NSData *)data |
| To | + (NSArray<NSImageRep *> * _Nonnull)imageRepsWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (instancetype)imageRepWithData:(NSData *)data |
| To | + (instancetype _Nullable)imageRepWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (NSInteger)incrementalLoadFromData:(NSData *)data complete:(BOOL)complete |
| To | - (NSInteger)incrementalLoadFromData:(NSData * _Nonnull)data complete:(BOOL)complete |
| Declaration | |
|---|---|
| From | - (instancetype)initForIncrementalLoad |
| To | - (instancetype _Nonnull)initForIncrementalLoad |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBitmapDataPlanes:(unsigned char **)planes pixelsWide:(NSInteger)width pixelsHigh:(NSInteger)height bitsPerSample:(NSInteger)bps samplesPerPixel:(NSInteger)spp hasAlpha:(BOOL)alpha isPlanar:(BOOL)isPlanar colorSpaceName:(NSString *)colorSpaceName bitmapFormat:(NSBitmapFormat)bitmapFormat bytesPerRow:(NSInteger)rBytes bitsPerPixel:(NSInteger)pBits |
| To | - (instancetype _Nullable)initWithBitmapDataPlanes:(unsigned char * _Nullable * _Nullable)planes pixelsWide:(NSInteger)width pixelsHigh:(NSInteger)height bitsPerSample:(NSInteger)bps samplesPerPixel:(NSInteger)spp hasAlpha:(BOOL)alpha isPlanar:(BOOL)isPlanar colorSpaceName:(NSString * _Nonnull)colorSpaceName bitmapFormat:(NSBitmapFormat)bitmapFormat bytesPerRow:(NSInteger)rBytes bitsPerPixel:(NSInteger)pBits |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBitmapDataPlanes:(unsigned char **)planes pixelsWide:(NSInteger)width pixelsHigh:(NSInteger)height bitsPerSample:(NSInteger)bps samplesPerPixel:(NSInteger)spp hasAlpha:(BOOL)alpha isPlanar:(BOOL)isPlanar colorSpaceName:(NSString *)colorSpaceName bytesPerRow:(NSInteger)rBytes bitsPerPixel:(NSInteger)pBits |
| To | - (instancetype _Nullable)initWithBitmapDataPlanes:(unsigned char * _Nullable * _Nullable)planes pixelsWide:(NSInteger)width pixelsHigh:(NSInteger)height bitsPerSample:(NSInteger)bps samplesPerPixel:(NSInteger)spp hasAlpha:(BOOL)alpha isPlanar:(BOOL)isPlanar colorSpaceName:(NSString * _Nonnull)colorSpaceName bytesPerRow:(NSInteger)rBytes bitsPerPixel:(NSInteger)pBits |
Modified -[NSBitmapImageRep initWithCGImage:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCGImage:(CGImageRef)cgImage |
| To | - (instancetype _Nonnull)initWithCGImage:(CGImageRef _Nonnull)cgImage |
Modified -[NSBitmapImageRep initWithCIImage:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCIImage:(CIImage *)ciImage |
| To | - (instancetype _Nonnull)initWithCIImage:(CIImage * _Nonnull)ciImage |
Modified -[NSBitmapImageRep initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFocusedViewRect:(NSRect)rect |
| To | - (instancetype _Nullable)initWithFocusedViewRect:(NSRect)rect |
| Declaration | |
|---|---|
| From | + (NSString *)localizedNameForTIFFCompressionType:(NSTIFFCompression)compression |
| To | + (NSString * _Nullable)localizedNameForTIFFCompressionType:(NSTIFFCompression)compression |
| Declaration | |
|---|---|
| From | + (NSData *)representationOfImageRepsInArray:(NSArray *)imageReps usingType:(NSBitmapImageFileType)storageType properties:(NSDictionary *)properties |
| To | + (NSData * _Nullable)representationOfImageRepsInArray:(NSArray<NSImageRep *> * _Nonnull)imageReps usingType:(NSBitmapImageFileType)storageType properties:(NSDictionary<NSString *,id> * _Nonnull)properties |
| Declaration | |
|---|---|
| From | - (NSData *)representationUsingType:(NSBitmapImageFileType)storageType properties:(NSDictionary *)properties |
| To | - (NSData * _Nullable)representationUsingType:(NSBitmapImageFileType)storageType properties:(NSDictionary<NSString *,id> * _Nonnull)properties |
Modified -[NSBitmapImageRep setColor:atX:y:]
| Declaration | |
|---|---|
| From | - (void)setColor:(NSColor *)color atX:(NSInteger)x y:(NSInteger)y |
| To | - (void)setColor:(NSColor * _Nonnull)color atX:(NSInteger)x y:(NSInteger)y |
| Declaration | |
|---|---|
| From | - (void)setProperty:(NSString *)property withValue:(id)value |
| To | - (void)setProperty:(NSString * _Nonnull)property withValue:(id _Nullable)value |
Modified NSBitmapImageRep.TIFFRepresentation
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *TIFFRepresentation |
| To | @property(readonly, copy, nullable) NSData *TIFFRepresentation |
| Declaration | |
|---|---|
| From | + (NSData *)TIFFRepresentationOfImageRepsInArray:(NSArray *)array |
| To | + (NSData * _Nullable)TIFFRepresentationOfImageRepsInArray:(NSArray<NSImageRep *> * _Nonnull)array |
| Declaration | |
|---|---|
| From | + (NSData *)TIFFRepresentationOfImageRepsInArray:(NSArray *)array usingCompression:(NSTIFFCompression)comp factor:(float)factor |
| To | + (NSData * _Nullable)TIFFRepresentationOfImageRepsInArray:(NSArray<NSImageRep *> * _Nonnull)array usingCompression:(NSTIFFCompression)comp factor:(float)factor |
| Declaration | |
|---|---|
| From | - (NSData *)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)factor |
| To | - (NSData * _Nullable)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)factor |
| Declaration | |
|---|---|
| From | - (id)valueForProperty:(NSString *)property |
| To | - (id _Nullable)valueForProperty:(NSString * _Nonnull)property |
NSBox.h
Modified NSBox.borderColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *borderColor |
| To | @property(copy, nonnull) NSColor *borderColor |
Modified NSBox.contentView
| Declaration | |
|---|---|
| From | @property(assign) id contentView |
| To | @property(assign, nullable) __kindof NSView *contentView |
Modified NSBox.fillColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *fillColor |
| To | @property(copy, nonnull) NSColor *fillColor |
Modified -[NSBox setTitleWithMnemonic:]
| Declaration | |
|---|---|
| From | - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setTitleWithMnemonic:(NSString * _Null_unspecified)stringWithAmpersand |
Modified NSBox.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
Modified NSBox.titleCell
| Declaration | |
|---|---|
| From | @property(readonly, strong) id titleCell |
| To | @property(readonly, strong, nonnull) id titleCell |
Modified NSBox.titleFont
| Declaration | |
|---|---|
| From | @property(strong) NSFont *titleFont |
| To | @property(strong, nonnull) NSFont *titleFont |
NSBrowser.h
Modified NSBrowser.backgroundColor
| Declaration | |
|---|---|
| From | @property(strong) NSColor *backgroundColor |
| To | @property(strong, nonnull) NSColor *backgroundColor |
| Declaration | |
|---|---|
| From | - (BOOL)canDragRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent *)event |
| To | - (BOOL)canDragRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent * _Nonnull)event |
Modified +[NSBrowser cellClass]
| Declaration | |
|---|---|
| From | + (Class)cellClass |
| To | + (Class _Nonnull)cellClass |
Modified NSBrowser.cellPrototype
| Declaration | |
|---|---|
| From | @property(strong) id cellPrototype |
| To | @property(strong) id _Null_unspecified cellPrototype |
Modified -[NSBrowser columnOfMatrix:]
| Declaration | |
|---|---|
| From | - (NSInteger)columnOfMatrix:(NSMatrix *)matrix |
| To | - (NSInteger)columnOfMatrix:(NSMatrix * _Nonnull)matrix |
Modified NSBrowser.columnsAutosaveName
| Declaration | |
|---|---|
| From | @property(copy) NSString *columnsAutosaveName |
| To | @property(copy, nonnull) NSString *columnsAutosaveName |
Modified NSBrowser.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSBrowserDelegate> delegate |
| To | @property(assign, nullable) id<NSBrowserDelegate> delegate |
Modified -[NSBrowser doClick:]
| Declaration | |
|---|---|
| From | - (void)doClick:(id)sender |
| To | - (void)doClick:(id _Nullable)sender |
Modified -[NSBrowser doDoubleClick:]
| Declaration | |
|---|---|
| From | - (void)doDoubleClick:(id)sender |
| To | - (void)doDoubleClick:(id _Nullable)sender |
Modified NSBrowser.doubleAction
| Declaration | |
|---|---|
| From | @property SEL doubleAction |
| To | @property(nullable) SEL doubleAction |
| Declaration | |
|---|---|
| From | - (NSImage *)draggingImageForRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent *)event offset:(NSPointPointer)dragImageOffset |
| To | - (NSImage * _Nullable)draggingImageForRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent * _Nonnull)event offset:(NSPointPointer _Nullable)dragImageOffset |
| Declaration | |
|---|---|
| From | - (void)editItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)theEvent select:(BOOL)select |
| To | - (void)editItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath withEvent:(NSEvent * _Nonnull)theEvent select:(BOOL)select |
Modified -[NSBrowser getRow:column:forPoint:]
| Declaration | |
|---|---|
| From | - (BOOL)getRow:(NSInteger *)row column:(NSInteger *)column forPoint:(NSPoint)point |
| To | - (BOOL)getRow:(NSInteger * _Nullable)row column:(NSInteger * _Nullable)column forPoint:(NSPoint)point |
Modified -[NSBrowser indexPathForColumn:]
| Declaration | |
|---|---|
| From | - (NSIndexPath *)indexPathForColumn:(NSInteger)column |
| To | - (NSIndexPath * _Nonnull)indexPathForColumn:(NSInteger)column |
Modified -[NSBrowser isLeafItem:]
| Declaration | |
|---|---|
| From | - (BOOL)isLeafItem:(id)item |
| To | - (BOOL)isLeafItem:(id _Nullable)item |
Modified -[NSBrowser itemAtIndexPath:]
| Declaration | |
|---|---|
| From | - (id)itemAtIndexPath:(NSIndexPath *)indexPath |
| To | - (id _Nullable)itemAtIndexPath:(NSIndexPath * _Nonnull)indexPath |
Modified -[NSBrowser itemAtRow:inColumn:]
| Declaration | |
|---|---|
| From | - (id)itemAtRow:(NSInteger)row inColumn:(NSInteger)column |
| To | - (id _Nullable)itemAtRow:(NSInteger)row inColumn:(NSInteger)column |
Modified -[NSBrowser loadedCellAtRow:column:]
| Declaration | |
|---|---|
| From | - (id)loadedCellAtRow:(NSInteger)row column:(NSInteger)col |
| To | - (id _Nullable)loadedCellAtRow:(NSInteger)row column:(NSInteger)col |
Modified -[NSBrowser matrixClass]
| Declaration | |
|---|---|
| From | - (Class)matrixClass |
| To | - (Class _Nonnull)matrixClass |
Modified -[NSBrowser matrixInColumn:]
| Declaration | |
|---|---|
| From | - (NSMatrix *)matrixInColumn:(NSInteger)column |
| To | - (NSMatrix * _Nullable)matrixInColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (void)noteHeightOfRowsWithIndexesChanged:(NSIndexSet *)indexSet inColumn:(NSInteger)columnIndex |
| To | - (void)noteHeightOfRowsWithIndexesChanged:(NSIndexSet * _Nonnull)indexSet inColumn:(NSInteger)columnIndex |
Modified -[NSBrowser parentForItemsInColumn:]
| Declaration | |
|---|---|
| From | - (id)parentForItemsInColumn:(NSInteger)column |
| To | - (id _Nullable)parentForItemsInColumn:(NSInteger)column |
Modified -[NSBrowser path]
| Declaration | |
|---|---|
| From | - (NSString *)path |
| To | - (NSString * _Nonnull)path |
Modified NSBrowser.pathSeparator
| Declaration | |
|---|---|
| From | @property(copy) NSString *pathSeparator |
| To | @property(copy, nonnull) NSString *pathSeparator |
Modified -[NSBrowser pathToColumn:]
| Declaration | |
|---|---|
| From | - (NSString *)pathToColumn:(NSInteger)column |
| To | - (NSString * _Nonnull)pathToColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (void)reloadDataForRowIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column |
| To | - (void)reloadDataForRowIndexes:(NSIndexSet * _Nonnull)rowIndexes inColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | + (void)removeSavedColumnsWithAutosaveName:(NSString *)name |
| To | + (void)removeSavedColumnsWithAutosaveName:(NSString * _Nonnull)name |
Modified -[NSBrowser scrollViaScroller:]
| Declaration | |
|---|---|
| From | - (void)scrollViaScroller:(NSScroller *)sender |
| To | - (void)scrollViaScroller:(NSScroller * _Null_unspecified)sender |
Modified -[NSBrowser selectAll:]
| Declaration | |
|---|---|
| From | - (void)selectAll:(id)sender |
| To | - (void)selectAll:(id _Nullable)sender |
Modified NSBrowser.selectedCell
| Declaration | |
|---|---|
| From | @property(readonly, strong) id selectedCell |
| To | @property(readonly, strong, nullable) id selectedCell |
Modified -[NSBrowser selectedCellInColumn:]
| Declaration | |
|---|---|
| From | - (id)selectedCellInColumn:(NSInteger)column |
| To | - (id _Nullable)selectedCellInColumn:(NSInteger)column |
Modified NSBrowser.selectedCells
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *selectedCells |
| To | @property(readonly, copy, nullable) NSArray<NSCell *> *selectedCells |
| Declaration | |
|---|---|
| From | - (NSIndexSet *)selectedRowIndexesInColumn:(NSInteger)column |
| To | - (NSIndexSet * _Nullable)selectedRowIndexesInColumn:(NSInteger)column |
Modified NSBrowser.selectionIndexPath
| Declaration | |
|---|---|
| From | @property(copy) NSIndexPath *selectionIndexPath |
| To | @property(copy, nonnull) NSIndexPath *selectionIndexPath |
Modified NSBrowser.selectionIndexPaths
| Declaration | |
|---|---|
| From | @property(copy) NSArray *selectionIndexPaths |
| To | @property(copy, nonnull) NSArray<NSIndexPath *> *selectionIndexPaths |
| Declaration | |
|---|---|
| From | - (void)selectRowIndexes:(NSIndexSet *)indexes inColumn:(NSInteger)column |
| To | - (void)selectRowIndexes:(NSIndexSet * _Nonnull)indexes inColumn:(NSInteger)column |
Modified -[NSBrowser sendAction]
| Declaration | |
|---|---|
| From | @property(readonly) BOOL sendAction |
| To | - (BOOL)sendAction |
Modified -[NSBrowser setCellClass:]
| Declaration | |
|---|---|
| From | - (void)setCellClass:(Class)factoryId |
| To | - (void)setCellClass:(Class _Nonnull)factoryId |
Modified -[NSBrowser setMatrixClass:]
| Declaration | |
|---|---|
| From | - (void)setMatrixClass:(Class)factoryId |
| To | - (void)setMatrixClass:(Class _Nonnull)factoryId |
Modified -[NSBrowser setPath:]
| Declaration | |
|---|---|
| From | - (BOOL)setPath:(NSString *)path |
| To | - (BOOL)setPath:(NSString * _Nonnull)path |
Modified -[NSBrowser setTitle:ofColumn:]
| Declaration | |
|---|---|
| From | - (void)setTitle:(NSString *)aString ofColumn:(NSInteger)column |
| To | - (void)setTitle:(NSString * _Nonnull)aString ofColumn:(NSInteger)column |
Modified -[NSBrowser titleOfColumn:]
| Declaration | |
|---|---|
| From | - (NSString *)titleOfColumn:(NSInteger)column |
| To | - (NSString * _Nullable)titleOfColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)browser acceptDrop:(id<NSDraggingInfo>)info atRow:(NSInteger)row column:(NSInteger)column dropOperation:(NSBrowserDropOperation)dropOperation |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)browser acceptDrop:(id<NSDraggingInfo> _Nonnull)info atRow:(NSInteger)row column:(NSInteger)column dropOperation:(NSBrowserDropOperation)dropOperation |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)browser canDragRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent *)event |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)browser canDragRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (id)browser:(NSBrowser *)browser child:(NSInteger)index ofItem:(id)item |
| To | - (id _Nonnull)browser:(NSBrowser * _Nonnull)browser child:(NSInteger)index ofItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)browser:(NSBrowser *)sender createRowsForColumn:(NSInteger)column inMatrix:(NSMatrix *)matrix |
| To | - (void)browser:(NSBrowser * _Nonnull)sender createRowsForColumn:(NSInteger)column inMatrix:(NSMatrix * _Nonnull)matrix |
| Declaration | |
|---|---|
| From | - (void)browser:(NSBrowser *)browser didChangeLastColumn:(NSInteger)oldLastColumn toColumn:(NSInteger)column |
| To | - (void)browser:(NSBrowser * _Nonnull)browser didChangeLastColumn:(NSInteger)oldLastColumn toColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (NSImage *)browser:(NSBrowser *)browser draggingImageForRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent *)event offset:(NSPointPointer)dragImageOffset |
| To | - (NSImage * _Nullable)browser:(NSBrowser * _Nonnull)browser draggingImageForRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent * _Nonnull)event offset:(NSPointPointer _Nonnull)dragImageOffset |
| Declaration | |
|---|---|
| From | - (NSViewController *)browser:(NSBrowser *)browser headerViewControllerForItem:(id)item |
| To | - (NSViewController * _Nullable)browser:(NSBrowser * _Nonnull)browser headerViewControllerForItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (CGFloat)browser:(NSBrowser *)browser heightOfRow:(NSInteger)row inColumn:(NSInteger)columnIndex |
| To | - (CGFloat)browser:(NSBrowser * _Nonnull)browser heightOfRow:(NSInteger)row inColumn:(NSInteger)columnIndex |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)sender isColumnValid:(NSInteger)column |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)sender isColumnValid:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)browser isLeafItem:(id)item |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)browser isLeafItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (NSArray *)browser:(NSBrowser *)browser namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination forDraggedRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column |
| To | - (NSArray<NSString *> * _Nonnull)browser:(NSBrowser * _Nonnull)browser namesOfPromisedFilesDroppedAtDestination:(NSURL * _Nonnull)dropDestination forDraggedRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes inColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (NSInteger)browser:(NSBrowser *)browser nextTypeSelectMatchFromRow:(NSInteger)startRow toRow:(NSInteger)endRow inColumn:(NSInteger)column forString:(NSString *)searchString |
| To | - (NSInteger)browser:(NSBrowser * _Nonnull)browser nextTypeSelectMatchFromRow:(NSInteger)startRow toRow:(NSInteger)endRow inColumn:(NSInteger)column forString:(NSString * _Nullable)searchString |
| Declaration | |
|---|---|
| From | - (NSInteger)browser:(NSBrowser *)browser numberOfChildrenOfItem:(id)item |
| To | - (NSInteger)browser:(NSBrowser * _Nonnull)browser numberOfChildrenOfItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (NSInteger)browser:(NSBrowser *)sender numberOfRowsInColumn:(NSInteger)column |
| To | - (NSInteger)browser:(NSBrowser * _Nonnull)sender numberOfRowsInColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (id)browser:(NSBrowser *)browser objectValueForItem:(id)item |
| To | - (id _Nullable)browser:(NSBrowser * _Nonnull)browser objectValueForItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (NSViewController *)browser:(NSBrowser *)browser previewViewControllerForLeafItem:(id)item |
| To | - (NSViewController * _Nullable)browser:(NSBrowser * _Nonnull)browser previewViewControllerForLeafItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)sender selectCellWithString:(NSString *)title inColumn:(NSInteger)column |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)sender selectCellWithString:(NSString * _Nonnull)title inColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (NSIndexSet *)browser:(NSBrowser *)browser selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes inColumn:(NSInteger)column |
| To | - (NSIndexSet * _Nonnull)browser:(NSBrowser * _Nonnull)browser selectionIndexesForProposedSelection:(NSIndexSet * _Nonnull)proposedSelectionIndexes inColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)sender selectRow:(NSInteger)row inColumn:(NSInteger)column |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)sender selectRow:(NSInteger)row inColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (void)browser:(NSBrowser *)browser setObjectValue:(id)object forItem:(id)item |
| To | - (void)browser:(NSBrowser * _Nonnull)browser setObjectValue:(id _Nullable)object forItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)browser shouldEditItem:(id)item |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)browser shouldEditItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)browser shouldShowCellExpansionForRow:(NSInteger)row column:(NSInteger)column |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)browser shouldShowCellExpansionForRow:(NSInteger)row column:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (CGFloat)browser:(NSBrowser *)browser shouldSizeColumn:(NSInteger)columnIndex forUserResize:(BOOL)forUserResize toWidth:(CGFloat)suggestedWidth |
| To | - (CGFloat)browser:(NSBrowser * _Nonnull)browser shouldSizeColumn:(NSInteger)columnIndex forUserResize:(BOOL)forUserResize toWidth:(CGFloat)suggestedWidth |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)browser shouldTypeSelectForEvent:(NSEvent *)event withCurrentSearchString:(NSString *)searchString |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)browser shouldTypeSelectForEvent:(NSEvent * _Nonnull)event withCurrentSearchString:(NSString * _Nullable)searchString |
| Declaration | |
|---|---|
| From | - (CGFloat)browser:(NSBrowser *)browser sizeToFitWidthOfColumn:(NSInteger)columnIndex |
| To | - (CGFloat)browser:(NSBrowser * _Nonnull)browser sizeToFitWidthOfColumn:(NSInteger)columnIndex |
| Declaration | |
|---|---|
| From | - (NSString *)browser:(NSBrowser *)sender titleOfColumn:(NSInteger)column |
| To | - (NSString * _Nullable)browser:(NSBrowser * _Nonnull)sender titleOfColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (NSString *)browser:(NSBrowser *)browser typeSelectStringForRow:(NSInteger)row inColumn:(NSInteger)column |
| To | - (NSString * _Nonnull)browser:(NSBrowser * _Nonnull)browser typeSelectStringForRow:(NSInteger)row inColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (NSDragOperation)browser:(NSBrowser *)browser validateDrop:(id<NSDraggingInfo>)info proposedRow:(NSInteger *)row column:(NSInteger *)column dropOperation:(NSBrowserDropOperation *)dropOperation |
| To | - (NSDragOperation)browser:(NSBrowser * _Nonnull)browser validateDrop:(id<NSDraggingInfo> _Nonnull)info proposedRow:(NSInteger * _Nonnull)row column:(NSInteger * _Nonnull)column dropOperation:(NSBrowserDropOperation * _Nonnull)dropOperation |
| Declaration | |
|---|---|
| From | - (void)browser:(NSBrowser *)sender willDisplayCell:(id)cell atRow:(NSInteger)row column:(NSInteger)column |
| To | - (void)browser:(NSBrowser * _Nonnull)sender willDisplayCell:(id _Nonnull)cell atRow:(NSInteger)row column:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (BOOL)browser:(NSBrowser *)browser writeRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column toPasteboard:(NSPasteboard *)pasteboard |
| To | - (BOOL)browser:(NSBrowser * _Nonnull)browser writeRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes inColumn:(NSInteger)column toPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (void)browserColumnConfigurationDidChange:(NSNotification *)notification |
| To | - (void)browserColumnConfigurationDidChange:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)browserDidScroll:(NSBrowser *)sender |
| To | - (void)browserDidScroll:(NSBrowser * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)browserWillScroll:(NSBrowser *)sender |
| To | - (void)browserWillScroll:(NSBrowser * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (id)rootItemForBrowser:(NSBrowser *)browser |
| To | - (id _Nullable)rootItemForBrowser:(NSBrowser * _Nonnull)browser |
NSBrowserCell.h
Modified NSBrowserCell.alternateImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *alternateImage |
| To | @property(strong, nullable) NSImage *alternateImage |
Modified +[NSBrowserCell branchImage]
| Declaration | |
|---|---|
| From | + (NSImage *)branchImage |
| To | + (NSImage * _Nullable)branchImage |
| Declaration | |
|---|---|
| From | - (NSColor *)highlightColorInView:(NSView *)controlView |
| To | - (NSColor * _Nullable)highlightColorInView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | + (NSImage *)highlightedBranchImage |
| To | + (NSImage * _Nullable)highlightedBranchImage |
Modified NSBrowserCell.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
NSButton.h
Modified NSButton.alternateImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *alternateImage |
| To | @property(strong, nullable) NSImage *alternateImage |
Modified NSButton.alternateTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *alternateTitle |
| To | @property(copy, nonnull) NSString *alternateTitle |
Modified NSButton.attributedAlternateTitle
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedAlternateTitle |
| To | @property(copy, nonnull) NSAttributedString *attributedAlternateTitle |
Modified NSButton.attributedTitle
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedTitle |
| To | @property(copy, nonnull) NSAttributedString *attributedTitle |
| Declaration | |
|---|---|
| From | - (void)getPeriodicDelay:(float *)delay interval:(float *)interval |
| To | - (void)getPeriodicDelay:(float * _Nonnull)delay interval:(float * _Nonnull)interval |
Modified NSButton.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
Modified NSButton.keyEquivalent
| Declaration | |
|---|---|
| From | @property(copy) NSString *keyEquivalent |
| To | @property(copy, nonnull) NSString *keyEquivalent |
Modified -[NSButton performKeyEquivalent:]
| Declaration | |
|---|---|
| From | - (BOOL)performKeyEquivalent:(NSEvent *)key |
| To | - (BOOL)performKeyEquivalent:(NSEvent * _Nonnull)key |
Modified -[NSButton setTitleWithMnemonic:]
| Declaration | |
|---|---|
| From | - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setTitleWithMnemonic:(NSString * _Null_unspecified)stringWithAmpersand |
Modified NSButton.sound
| Declaration | |
|---|---|
| From | @property(strong) NSSound *sound |
| To | @property(strong, nullable) NSSound *sound |
Modified NSButton.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
NSButtonCell.h
Modified NSButtonCell.alternateImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *alternateImage |
| To | @property(strong, nullable) NSImage *alternateImage |
Modified -[NSButtonCell alternateMnemonic]
| Declaration | |
|---|---|
| From | - (NSString *)alternateMnemonic |
| To | - (NSString * _Null_unspecified)alternateMnemonic |
Modified NSButtonCell.alternateTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *alternateTitle |
| To | @property(copy, nonnull) NSString *alternateTitle |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedAlternateTitle |
| To | @property(copy, nonnull) NSAttributedString *attributedAlternateTitle |
Modified NSButtonCell.attributedTitle
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedTitle |
| To | @property(copy, nonnull) NSAttributedString *attributedTitle |
Modified NSButtonCell.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nullable) NSColor *backgroundColor |
| Declaration | |
|---|---|
| From | - (void)drawBezelWithFrame:(NSRect)frame inView:(NSView *)controlView |
| To | - (void)drawBezelWithFrame:(NSRect)frame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawImage:(NSImage *)image withFrame:(NSRect)frame inView:(NSView *)controlView |
| To | - (void)drawImage:(NSImage * _Nonnull)image withFrame:(NSRect)frame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (NSRect)drawTitle:(NSAttributedString *)title withFrame:(NSRect)frame inView:(NSView *)controlView |
| To | - (NSRect)drawTitle:(NSAttributedString * _Nonnull)title withFrame:(NSRect)frame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)getPeriodicDelay:(float *)delay interval:(float *)interval |
| To | - (void)getPeriodicDelay:(float * _Nonnull)delay interval:(float * _Nonnull)interval |
Modified NSButtonCell.keyEquivalent
| Declaration | |
|---|---|
| From | @property(copy) NSString *keyEquivalent |
| To | @property(copy, nonnull) NSString *keyEquivalent |
Modified NSButtonCell.keyEquivalentFont
| Declaration | |
|---|---|
| From | @property(strong) NSFont *keyEquivalentFont |
| To | @property(strong, nullable) NSFont *keyEquivalentFont |
Modified -[NSButtonCell mouseEntered:]
| Declaration | |
|---|---|
| From | - (void)mouseEntered:(NSEvent *)event |
| To | - (void)mouseEntered:(NSEvent * _Nonnull)event |
Modified -[NSButtonCell mouseExited:]
| Declaration | |
|---|---|
| From | - (void)mouseExited:(NSEvent *)event |
| To | - (void)mouseExited:(NSEvent * _Nonnull)event |
Modified -[NSButtonCell performClick:]
| Declaration | |
|---|---|
| From | - (void)performClick:(id)sender |
| To | - (void)performClick:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)setAlternateTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setAlternateTitleWithMnemonic:(NSString * _Null_unspecified)stringWithAmpersand |
| Declaration | |
|---|---|
| From | - (void)setKeyEquivalentFont:(NSString *)fontName size:(CGFloat)fontSize |
| To | - (void)setKeyEquivalentFont:(NSString * _Nonnull)fontName size:(CGFloat)fontSize |
| Declaration | |
|---|---|
| From | - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setTitleWithMnemonic:(NSString * _Null_unspecified)stringWithAmpersand |
Modified NSButtonCell.sound
| Declaration | |
|---|---|
| From | @property(strong) NSSound *sound |
| To | @property(strong, nullable) NSSound *sound |
Modified NSButtonCell.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy) NSString * _Null_unspecified title |
NSCell.h
Modified NSCell.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nullable) SEL action |
Modified NSCell.attributedStringValue
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedStringValue |
| To | @property(copy, nonnull) NSAttributedString *attributedStringValue |
Modified -[NSCell compare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(id)otherCell |
| To | - (NSComparisonResult)compare:(id _Nonnull)otherCell |
| Declaration | |
|---|---|
| From | - (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:(NSView *)controlView |
| To | - (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:(NSView * _Nonnull)controlView |
Modified NSCell.controlView
| Declaration | |
|---|---|
| From | @property(assign) NSView *controlView |
| To | @property(assign, nullable) NSView *controlView |
Modified +[NSCell defaultMenu]
| Declaration | |
|---|---|
| From | + (NSMenu *)defaultMenu |
| To | + (NSMenu * _Nullable)defaultMenu |
| Declaration | |
|---|---|
| From | - (NSArray *)draggingImageComponentsWithFrame:(NSRect)frame inView:(NSView *)view |
| To | - (NSArray<NSDraggingImageComponent *> * _Nonnull)draggingImageComponentsWithFrame:(NSRect)frame inView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (void)drawFocusRingMaskWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawFocusRingMaskWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawWithExpansionFrame:(NSRect)cellFrame inView:(NSView *)view |
| To | - (void)drawWithExpansionFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)view |
Modified -[NSCell drawWithFrame:inView:]
| Declaration | |
|---|---|
| From | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent |
| To | - (void)editWithFrame:(NSRect)aRect inView:(NSView * _Nonnull)controlView editor:(NSText * _Nonnull)textObj delegate:(id _Nullable)anObject event:(NSEvent * _Nonnull)theEvent |
Modified -[NSCell endEditing:]
| Declaration | |
|---|---|
| From | - (void)endEditing:(NSText *)textObj |
| To | - (void)endEditing:(NSText * _Nonnull)textObj |
| Declaration | |
|---|---|
| From | - (NSRect)expansionFrameWithFrame:(NSRect)cellFrame inView:(NSView *)view |
| To | - (NSRect)expansionFrameWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)view |
Modified -[NSCell fieldEditorForView:]
| Declaration | |
|---|---|
| From | - (NSTextView *)fieldEditorForView:(NSView *)aControlView |
| To | - (NSTextView * _Nullable)fieldEditorForView:(NSView * _Nonnull)aControlView |
| Declaration | |
|---|---|
| From | - (NSRect)focusRingMaskBoundsForFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (NSRect)focusRingMaskBoundsForFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
Modified NSCell.font
| Declaration | |
|---|---|
| From | @property(strong) NSFont *font |
| To | @property(strong, nullable) NSFont *font |
Modified NSCell.formatter
| Declaration | |
|---|---|
| From | @property(strong) id formatter |
| To | @property(strong, nullable) __kindof NSFormatter *formatter |
Modified -[NSCell getPeriodicDelay:interval:]
| Declaration | |
|---|---|
| From | - (void)getPeriodicDelay:(float *)delay interval:(float *)interval |
| To | - (void)getPeriodicDelay:(float * _Nonnull)delay interval:(float * _Nonnull)interval |
| Declaration | |
|---|---|
| From | - (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (NSColor *)highlightColorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (NSColor * _Nonnull)highlightColorWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (NSCellHitResult)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)controlView |
| To | - (NSCellHitResult)hitTestForEvent:(NSEvent * _Nonnull)event inRect:(NSRect)cellFrame ofView:(NSView * _Nonnull)controlView |
Modified NSCell.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
Modified -[NSCell initImageCell:]
| Declaration | |
|---|---|
| From | - (instancetype)initImageCell:(NSImage *)image |
| To | - (instancetype _Nonnull)initImageCell:(NSImage * _Nullable)image |
Modified -[NSCell initTextCell:]
| Declaration | |
|---|---|
| From | - (instancetype)initTextCell:(NSString *)aString |
| To | - (instancetype _Nonnull)initTextCell:(NSString * _Nonnull)aString |
Modified -[NSCell isEntryAcceptable:]
| Declaration | |
|---|---|
| From | - (BOOL)isEntryAcceptable:(NSString *)aString |
| To | - (BOOL)isEntryAcceptable:(NSString * _Nonnull)aString |
Modified NSCell.keyEquivalent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *keyEquivalent |
| To | @property(readonly, copy, nonnull) NSString *keyEquivalent |
Modified NSCell.menu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *menu |
| To | @property(strong, nullable) NSMenu *menu |
| Declaration | |
|---|---|
| From | - (NSMenu *)menuForEvent:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)view |
| To | - (NSMenu * _Nullable)menuForEvent:(NSEvent * _Nonnull)event inRect:(NSRect)cellFrame ofView:(NSView * _Nonnull)view |
Modified -[NSCell mnemonic]
| Declaration | |
|---|---|
| From | - (NSString *)mnemonic |
| To | - (NSString * _Nonnull)mnemonic |
Modified NSCell.objectValue
| Declaration | |
|---|---|
| From | @property(copy) id objectValue |
| To | @property(copy, nullable) id objectValue |
Modified -[NSCell performClick:]
| Declaration | |
|---|---|
| From | - (void)performClick:(id)sender |
| To | - (void)performClick:(id _Nullable)sender |
Modified NSCell.representedObject
| Declaration | |
|---|---|
| From | @property(strong) id representedObject |
| To | @property(strong, nullable) id representedObject |
Modified -[NSCell resetCursorRect:inView:]
| Declaration | |
|---|---|
| From | - (void)resetCursorRect:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)resetCursorRect:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart length:(NSInteger)selLength |
| To | - (void)selectWithFrame:(NSRect)aRect inView:(NSView * _Nonnull)controlView editor:(NSText * _Nonnull)textObj delegate:(id _Nullable)anObject start:(NSInteger)selStart length:(NSInteger)selLength |
Modified -[NSCell setTitleWithMnemonic:]
| Declaration | |
|---|---|
| From | - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setTitleWithMnemonic:(NSString * _Nonnull)stringWithAmpersand |
| Declaration | |
|---|---|
| From | - (NSText *)setUpFieldEditorAttributes:(NSText *)textObj |
| To | - (NSText * _Nonnull)setUpFieldEditorAttributes:(NSText * _Nonnull)textObj |
Modified -[NSCell startTrackingAt:inView:]
| Declaration | |
|---|---|
| From | - (BOOL)startTrackingAt:(NSPoint)startPoint inView:(NSView *)controlView |
| To | - (BOOL)startTrackingAt:(NSPoint)startPoint inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView *)controlView mouseIsUp:(BOOL)flag |
| To | - (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView * _Nonnull)controlView mouseIsUp:(BOOL)flag |
Modified NSCell.stringValue
| Declaration | |
|---|---|
| From | @property(copy) NSString *stringValue |
| To | @property(copy, nonnull) NSString *stringValue |
Modified -[NSCell takeDoubleValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeDoubleValueFrom:(id)sender |
| To | - (void)takeDoubleValueFrom:(id _Nullable)sender |
Modified -[NSCell takeFloatValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeFloatValueFrom:(id)sender |
| To | - (void)takeFloatValueFrom:(id _Nullable)sender |
Modified -[NSCell takeIntegerValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeIntegerValueFrom:(id)sender |
| To | - (void)takeIntegerValueFrom:(id _Nullable)sender |
Modified -[NSCell takeIntValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeIntValueFrom:(id)sender |
| To | - (void)takeIntValueFrom:(id _Nullable)sender |
Modified -[NSCell takeObjectValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeObjectValueFrom:(id)sender |
| To | - (void)takeObjectValueFrom:(id _Nullable)sender |
Modified -[NSCell takeStringValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeStringValueFrom:(id)sender |
| To | - (void)takeStringValueFrom:(id _Nullable)sender |
Modified NSCell.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
Modified NSCell.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
| Declaration | |
|---|---|
| From | - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)flag |
| To | - (BOOL)trackMouse:(NSEvent * _Nonnull)theEvent inRect:(NSRect)cellFrame ofView:(NSView * _Nonnull)controlView untilMouseUp:(BOOL)flag |
Modified NSDrawNinePartImage()
| Declaration | |
|---|---|
| From | void NSDrawNinePartImage (
NSRect frame,
NSImage *topLeftCorner,
NSImage *topEdgeFill,
NSImage *topRightCorner,
NSImage *leftEdgeFill,
NSImage *centerFill,
NSImage *rightEdgeFill,
NSImage *bottomLeftCorner,
NSImage *bottomEdgeFill,
NSImage *bottomRightCorner,
NSCompositingOperation op,
CGFloat alphaFraction,
BOOL flipped
);
|
| To | void NSDrawNinePartImage (
NSRect frame,
NSImage * _Nonnull topLeftCorner,
NSImage * _Nonnull topEdgeFill,
NSImage * _Nonnull topRightCorner,
NSImage * _Nonnull leftEdgeFill,
NSImage * _Nonnull centerFill,
NSImage * _Nonnull rightEdgeFill,
NSImage * _Nonnull bottomLeftCorner,
NSImage * _Nonnull bottomEdgeFill,
NSImage * _Nonnull bottomRightCorner,
NSCompositingOperation op,
CGFloat alphaFraction,
BOOL flipped
);
|
Modified NSDrawThreePartImage()
| Declaration | |
|---|---|
| From | void NSDrawThreePartImage (
NSRect frame,
NSImage *startCap,
NSImage *centerFill,
NSImage *endCap,
BOOL vertical,
NSCompositingOperation op,
CGFloat alphaFraction,
BOOL flipped
);
|
| To | void NSDrawThreePartImage (
NSRect frame,
NSImage * _Nullable startCap,
NSImage * _Nullable centerFill,
NSImage * _Nullable endCap,
BOOL vertical,
NSCompositingOperation op,
CGFloat alphaFraction,
BOOL flipped
);
|
NSCIImageRep.h
Modified -[CIImage initWithBitmapImageRep:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithBitmapImageRep:(NSBitmapImageRep *)bitmapImageRep |
| To | - (instancetype _Nullable)initWithBitmapImageRep:(NSBitmapImageRep * _Nonnull)bitmapImageRep |
Modified NSCIImageRep.CIImage
| Declaration | |
|---|---|
| From | @property(readonly, strong) CIImage *CIImage |
| To | @property(readonly, strong, nonnull) CIImage *CIImage |
Modified +[NSCIImageRep imageRepWithCIImage:]
| Declaration | |
|---|---|
| From | + (instancetype)imageRepWithCIImage:(CIImage *)image |
| To | + (instancetype _Nonnull)imageRepWithCIImage:(CIImage * _Nonnull)image |
Modified -[NSCIImageRep initWithCIImage:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCIImage:(CIImage *)image |
| To | - (instancetype _Nonnull)initWithCIImage:(CIImage * _Nonnull)image |
NSClipView.h
Modified -[NSClipView autoscroll:]
| Declaration | |
|---|---|
| From | - (BOOL)autoscroll:(NSEvent *)theEvent |
| To | - (BOOL)autoscroll:(NSEvent * _Nonnull)theEvent |
Modified NSClipView.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
Modified NSClipView.documentCursor
| Declaration | |
|---|---|
| From | @property(strong) NSCursor *documentCursor |
| To | @property(strong, nullable) NSCursor *documentCursor |
Modified NSClipView.documentView
| Declaration | |
|---|---|
| From | @property(assign) id documentView |
| To | @property(assign, nullable) id documentView |
Modified -[NSClipView viewBoundsChanged:]
| Declaration | |
|---|---|
| From | - (void)viewBoundsChanged:(NSNotification *)notification |
| To | - (void)viewBoundsChanged:(NSNotification * _Nonnull)notification |
Modified -[NSClipView viewFrameChanged:]
| Declaration | |
|---|---|
| From | - (void)viewFrameChanged:(NSNotification *)notification |
| To | - (void)viewFrameChanged:(NSNotification * _Nonnull)notification |
Modified -[NSView reflectScrolledClipView:]
| Declaration | |
|---|---|
| From | - (void)reflectScrolledClipView:(NSClipView *)aClipView |
| To | - (void)reflectScrolledClipView:(NSClipView * _Nonnull)aClipView |
Modified -[NSView scrollClipView:toPoint:]
| Declaration | |
|---|---|
| From | - (void)scrollClipView:(NSClipView *)aClipView toPoint:(NSPoint)aPoint |
| To | - (void)scrollClipView:(NSClipView * _Nonnull)aClipView toPoint:(NSPoint)aPoint |
NSCollectionView.h
Added -[NSCollectionViewDelegate collectionView:didEndDisplayingItem:forRepresentedObjectAtIndexPath:]
Added -[NSCollectionViewDelegate collectionView:draggingImageForItemsAtIndexPaths:withEvent:offset:]
Added -[NSCollectionViewDelegate collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexPaths:]
Added -[NSCollectionViewDelegate collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:]
Added NSCollectionViewElement
Added NSIndexPath.item
Added NSIndexPath.section
Added NSIndexPath(NSCollectionViewAdditions)
Added NSSet(NSCollectionViewAdditions)
Modified NSCollectionView.backgroundColors
| Declaration | |
|---|---|
| From | @property(copy) NSArray *backgroundColors |
| To | @property(copy) NSArray<NSColor *> * _Null_unspecified backgroundColors |
Modified NSCollectionView.content
| Declaration | |
|---|---|
| From | @property(copy) NSArray *content |
| To | @property(copy, nonnull) NSArray<id> *content |
Modified NSCollectionView.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSCollectionViewDelegate> delegate |
| To | @property(assign, nullable) id<NSCollectionViewDelegate> delegate |
| Declaration | |
|---|---|
| From | - (NSImage *)draggingImageForItemsAtIndexes:(NSIndexSet *)indexes withEvent:(NSEvent *)event offset:(NSPointPointer)dragImageOffset |
| To | - (NSImage * _Nonnull)draggingImageForItemsAtIndexes:(NSIndexSet * _Nonnull)indexes withEvent:(NSEvent * _Nonnull)event offset:(NSPointPointer _Nonnull)dragImageOffset |
Modified -[NSCollectionView itemAtIndex:]
| Declaration | |
|---|---|
| From | - (NSCollectionViewItem *)itemAtIndex:(NSUInteger)index |
| To | - (NSCollectionViewItem * _Nullable)itemAtIndex:(NSUInteger)index |
Modified NSCollectionView.itemPrototype
| Declaration | |
|---|---|
| From | @property(strong) NSCollectionViewItem *itemPrototype |
| To | @property(strong, nullable) NSCollectionViewItem *itemPrototype |
| Declaration | |
|---|---|
| From | - (NSCollectionViewItem *)newItemForRepresentedObject:(id)object |
| To | - (NSCollectionViewItem * _Nonnull)newItemForRepresentedObject:(id _Nonnull)object |
Modified NSCollectionView.selectionIndexes
| Declaration | |
|---|---|
| From | @property(copy) NSIndexSet *selectionIndexes |
| To | @property(copy, nonnull) NSIndexSet *selectionIndexes |
| Declaration | |
|---|---|
| From | - (BOOL)collectionView:(NSCollectionView *)collectionView acceptDrop:(id<NSDraggingInfo>)draggingInfo index:(NSInteger)index dropOperation:(NSCollectionViewDropOperation)dropOperation |
| To | - (BOOL)collectionView:(NSCollectionView * _Nonnull)collectionView acceptDrop:(id<NSDraggingInfo> _Nonnull)draggingInfo index:(NSInteger)index dropOperation:(NSCollectionViewDropOperation)dropOperation |
| Declaration | |
|---|---|
| From | - (BOOL)collectionView:(NSCollectionView *)collectionView canDragItemsAtIndexes:(NSIndexSet *)indexes withEvent:(NSEvent *)event |
| To | - (BOOL)collectionView:(NSCollectionView * _Nonnull)collectionView canDragItemsAtIndexes:(NSIndexSet * _Nonnull)indexes withEvent:(NSEvent * _Nonnull)event |
Modified -[NSCollectionViewDelegate collectionView:draggingImageForItemsAtIndexes:withEvent:offset:]
| Declaration | |
|---|---|
| From | - (NSImage *)collectionView:(NSCollectionView *)collectionView draggingImageForItemsAtIndexes:(NSIndexSet *)indexes withEvent:(NSEvent *)event offset:(NSPointPointer)dragImageOffset |
| To | - (NSImage * _Nonnull)collectionView:(NSCollectionView * _Nonnull)collectionView draggingImageForItemsAtIndexes:(NSIndexSet * _Nonnull)indexes withEvent:(NSEvent * _Nonnull)event offset:(NSPointPointer _Nonnull)dragImageOffset |
| Declaration | |
|---|---|
| From | - (void)collectionView:(NSCollectionView *)collectionView draggingSession:(NSDraggingSession *)session endedAtPoint:(NSPoint)screenPoint dragOperation:(NSDragOperation)operation |
| To | - (void)collectionView:(NSCollectionView * _Nonnull)collectionView draggingSession:(NSDraggingSession * _Nonnull)session endedAtPoint:(NSPoint)screenPoint dragOperation:(NSDragOperation)operation |
Modified -[NSCollectionViewDelegate collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexes:]
| Declaration | |
|---|---|
| From | - (void)collectionView:(NSCollectionView *)collectionView draggingSession:(NSDraggingSession *)session willBeginAtPoint:(NSPoint)screenPoint forItemsAtIndexes:(NSIndexSet *)indexes |
| To | - (void)collectionView:(NSCollectionView * _Nonnull)collectionView draggingSession:(NSDraggingSession * _Nonnull)session willBeginAtPoint:(NSPoint)screenPoint forItemsAtIndexes:(NSIndexSet * _Nonnull)indexes |
| Declaration | |
|---|---|
| From | - (NSArray *)collectionView:(NSCollectionView *)collectionView namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropURL forDraggedItemsAtIndexes:(NSIndexSet *)indexes |
| To | - (NSArray<NSString *> * _Nonnull)collectionView:(NSCollectionView * _Nonnull)collectionView namesOfPromisedFilesDroppedAtDestination:(NSURL * _Nonnull)dropURL forDraggedItemsAtIndexes:(NSIndexSet * _Nonnull)indexes |
| Declaration | |
|---|---|
| From | - (id<NSPasteboardWriting>)collectionView:(NSCollectionView *)collectionView pasteboardWriterForItemAtIndex:(NSUInteger)index |
| To | - (id<NSPasteboardWriting> _Nullable)collectionView:(NSCollectionView * _Nonnull)collectionView pasteboardWriterForItemAtIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (void)collectionView:(NSCollectionView *)collectionView updateDraggingItemsForDrag:(id<NSDraggingInfo>)draggingInfo |
| To | - (void)collectionView:(NSCollectionView * _Nonnull)collectionView updateDraggingItemsForDrag:(id<NSDraggingInfo> _Nonnull)draggingInfo |
| Declaration | |
|---|---|
| From | - (NSDragOperation)collectionView:(NSCollectionView *)collectionView validateDrop:(id<NSDraggingInfo>)draggingInfo proposedIndex:(NSInteger *)proposedDropIndex dropOperation:(NSCollectionViewDropOperation *)proposedDropOperation |
| To | - (NSDragOperation)collectionView:(NSCollectionView * _Nonnull)collectionView validateDrop:(id<NSDraggingInfo> _Nonnull)draggingInfo proposedIndex:(NSInteger * _Nonnull)proposedDropIndex dropOperation:(NSCollectionViewDropOperation * _Nonnull)proposedDropOperation |
| Declaration | |
|---|---|
| From | - (BOOL)collectionView:(NSCollectionView *)collectionView writeItemsAtIndexes:(NSIndexSet *)indexes toPasteboard:(NSPasteboard *)pasteboard |
| To | - (BOOL)collectionView:(NSCollectionView * _Nonnull)collectionView writeItemsAtIndexes:(NSIndexSet * _Nonnull)indexes toPasteboard:(NSPasteboard * _Nonnull)pasteboard |
Modified NSCollectionViewItem
| Protocols | |
|---|---|
| From | NSCopying |
| To | NSCollectionViewElement, NSCopying |
Modified NSCollectionViewItem.collectionView
| Declaration | |
|---|---|
| From | @property(readonly) NSCollectionView *collectionView |
| To | @property(readonly, nonnull) NSCollectionView *collectionView |
| Declaration | |
|---|---|
| From | @property(readonly) NSArray *draggingImageComponents |
| To | @property(readonly, nonnull) NSArray<NSDraggingImageComponent *> *draggingImageComponents |
Modified NSCollectionViewItem.imageView
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet NSImageView *imageView |
| To | @property(assign, nullable) IBOutlet NSImageView *imageView |
Modified NSCollectionViewItem.textField
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet NSTextField *textField |
| To | @property(assign, nullable) IBOutlet NSTextField *textField |
NSCollectionViewFlowLayout.h (Added)
NSCollectionViewGridLayout.h (Added)
NSCollectionViewLayout.h (Added)
Added NSCollectionViewLayout
Added -[NSCollectionViewLayout finalLayoutAttributesForDisappearingDecorationElementOfKind:atIndexPath:]
Added -[NSCollectionViewLayout initialLayoutAttributesForAppearingDecorationElementOfKind:atIndexPath:]
Added -[NSCollectionViewLayout initialLayoutAttributesForAppearingSupplementaryElementOfKind:atIndexPath:]
Added -[NSCollectionViewLayout invalidationContextForPreferredLayoutAttributes:withOriginalAttributes:]
Added -[NSCollectionViewLayout shouldInvalidateLayoutForPreferredLayoutAttributes:withOriginalAttributes:]
Added -[NSCollectionViewLayoutInvalidationContext invalidateSupplementaryElementsOfKind:atIndexPaths:]
Added NSCollectionUpdateAction
Added NSCollectionViewLayout(NSSubclassingHooks)
Added NSCollectionViewLayout(NSUpdateSupportHooks)
NSCollectionViewTransitionLayout.h (Added)
NSColor.h
Modified -[CIColor initWithColor:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithColor:(NSColor *)color |
| To | - (instancetype _Nullable)initWithColor:(NSColor * _Nonnull)color |
Modified -[NSCoder decodeNXColor]
| Declaration | |
|---|---|
| From | - (NSColor *)decodeNXColor |
| To | - (NSColor * _Null_unspecified)decodeNXColor |
| Declaration | |
|---|---|
| From | + (NSColor *)alternateSelectedControlColor |
| To | + (NSColor * _Nonnull)alternateSelectedControlColor |
| Declaration | |
|---|---|
| From | + (NSColor *)alternateSelectedControlTextColor |
| To | + (NSColor * _Nonnull)alternateSelectedControlTextColor |
Modified +[NSColor blackColor]
| Declaration | |
|---|---|
| From | + (NSColor *)blackColor |
| To | + (NSColor * _Nonnull)blackColor |
| Declaration | |
|---|---|
| From | - (NSColor *)blendedColorWithFraction:(CGFloat)fraction ofColor:(NSColor *)color |
| To | - (NSColor * _Nullable)blendedColorWithFraction:(CGFloat)fraction ofColor:(NSColor * _Nonnull)color |
Modified +[NSColor blueColor]
| Declaration | |
|---|---|
| From | + (NSColor *)blueColor |
| To | + (NSColor * _Nonnull)blueColor |
Modified +[NSColor brownColor]
| Declaration | |
|---|---|
| From | + (NSColor *)brownColor |
| To | + (NSColor * _Nonnull)brownColor |
Modified NSColor.catalogNameComponent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *catalogNameComponent |
| To | @property(readonly, copy, nonnull) NSString *catalogNameComponent |
Modified NSColor.CGColor
| Declaration | |
|---|---|
| From | @property(readonly) CGColorRef CGColor |
| To | @property(readonly, nonnull) CGColorRef CGColor |
Modified +[NSColor clearColor]
| Declaration | |
|---|---|
| From | + (NSColor *)clearColor |
| To | + (NSColor * _Nonnull)clearColor |
Modified +[NSColor colorForControlTint:]
| Declaration | |
|---|---|
| From | + (NSColor *)colorForControlTint:(NSControlTint)controlTint |
| To | + (NSColor * _Nonnull)colorForControlTint:(NSControlTint)controlTint |
Modified +[NSColor colorFromPasteboard:]
| Declaration | |
|---|---|
| From | + (NSColor *)colorFromPasteboard:(NSPasteboard *)pasteBoard |
| To | + (NSColor * _Nullable)colorFromPasteboard:(NSPasteboard * _Nonnull)pasteBoard |
Modified NSColor.colorNameComponent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *colorNameComponent |
| To | @property(readonly, copy, nonnull) NSString *colorNameComponent |
Modified NSColor.colorSpace
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSColorSpace *colorSpace |
| To | @property(readonly, strong, nonnull) NSColorSpace *colorSpace |
Modified NSColor.colorSpaceName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *colorSpaceName |
| To | @property(readonly, copy, nonnull) NSString *colorSpaceName |
Modified -[NSColor colorUsingColorSpace:]
| Declaration | |
|---|---|
| From | - (NSColor *)colorUsingColorSpace:(NSColorSpace *)space |
| To | - (NSColor * _Nullable)colorUsingColorSpace:(NSColorSpace * _Nonnull)space |
Modified -[NSColor colorUsingColorSpaceName:]
| Declaration | |
|---|---|
| From | - (NSColor *)colorUsingColorSpaceName:(NSString *)colorSpace |
| To | - (NSColor * _Nullable)colorUsingColorSpaceName:(NSString * _Nonnull)colorSpace |
| Declaration | |
|---|---|
| From | - (NSColor *)colorUsingColorSpaceName:(NSString *)colorSpace device:(NSDictionary *)deviceDescription |
| To | - (NSColor * _Nullable)colorUsingColorSpaceName:(NSString * _Nullable)colorSpace device:(NSDictionary<NSString *,id> * _Nullable)deviceDescription |
Modified -[NSColor colorWithAlphaComponent:]
| Declaration | |
|---|---|
| From | - (NSColor *)colorWithAlphaComponent:(CGFloat)alpha |
| To | - (NSColor * _Nonnull)colorWithAlphaComponent:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithCalibratedHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithCalibratedHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithCalibratedRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithCalibratedRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithCalibratedWhite:(CGFloat)white alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithCalibratedWhite:(CGFloat)white alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithCatalogName:(NSString *)listName colorName:(NSString *)colorName |
| To | + (NSColor * _Nullable)colorWithCatalogName:(NSString * _Nonnull)listName colorName:(NSString * _Nonnull)colorName |
Modified +[NSColor colorWithCGColor:]
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithCGColor:(CGColorRef)cgColor |
| To | + (NSColor * _Nullable)colorWithCGColor:(CGColorRef _Nonnull)cgColor |
Modified +[NSColor colorWithCIColor:]
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithCIColor:(CIColor *)color |
| To | + (NSColor * _Nonnull)colorWithCIColor:(CIColor * _Nonnull)color |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithColorSpace:(NSColorSpace *)space components:(const CGFloat *)components count:(NSInteger)numberOfComponents |
| To | + (NSColor * _Nonnull)colorWithColorSpace:(NSColorSpace * _Nonnull)space components:(const CGFloat * _Nonnull)components count:(NSInteger)numberOfComponents |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithDeviceCyan:(CGFloat)cyan magenta:(CGFloat)magenta yellow:(CGFloat)yellow black:(CGFloat)black alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithDeviceCyan:(CGFloat)cyan magenta:(CGFloat)magenta yellow:(CGFloat)yellow black:(CGFloat)black alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithDeviceHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithDeviceHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithDeviceRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithDeviceRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithDeviceWhite:(CGFloat)white alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithDeviceWhite:(CGFloat)white alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithGenericGamma22White:(CGFloat)white alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithGenericGamma22White:(CGFloat)white alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha |
Modified +[NSColor colorWithPatternImage:]
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithPatternImage:(NSImage *)image |
| To | + (NSColor * _Nonnull)colorWithPatternImage:(NSImage * _Nonnull)image |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithSRGBRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithSRGBRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha |
Modified +[NSColor colorWithWhite:alpha:]
| Declaration | |
|---|---|
| From | + (NSColor *)colorWithWhite:(CGFloat)white alpha:(CGFloat)alpha |
| To | + (NSColor * _Nonnull)colorWithWhite:(CGFloat)white alpha:(CGFloat)alpha |
| Declaration | |
|---|---|
| From | + (NSArray *)controlAlternatingRowBackgroundColors |
| To | + (NSArray<NSColor *> * _Nonnull)controlAlternatingRowBackgroundColors |
Modified +[NSColor controlBackgroundColor]
| Declaration | |
|---|---|
| From | + (NSColor *)controlBackgroundColor |
| To | + (NSColor * _Nonnull)controlBackgroundColor |
Modified +[NSColor controlColor]
| Declaration | |
|---|---|
| From | + (NSColor *)controlColor |
| To | + (NSColor * _Nonnull)controlColor |
Modified +[NSColor controlDarkShadowColor]
| Declaration | |
|---|---|
| From | + (NSColor *)controlDarkShadowColor |
| To | + (NSColor * _Nonnull)controlDarkShadowColor |
Modified +[NSColor controlHighlightColor]
| Declaration | |
|---|---|
| From | + (NSColor *)controlHighlightColor |
| To | + (NSColor * _Nonnull)controlHighlightColor |
| Declaration | |
|---|---|
| From | + (NSColor *)controlLightHighlightColor |
| To | + (NSColor * _Nonnull)controlLightHighlightColor |
Modified +[NSColor controlShadowColor]
| Declaration | |
|---|---|
| From | + (NSColor *)controlShadowColor |
| To | + (NSColor * _Nonnull)controlShadowColor |
Modified +[NSColor controlTextColor]
| Declaration | |
|---|---|
| From | + (NSColor *)controlTextColor |
| To | + (NSColor * _Nonnull)controlTextColor |
Modified +[NSColor cyanColor]
| Declaration | |
|---|---|
| From | + (NSColor *)cyanColor |
| To | + (NSColor * _Nonnull)cyanColor |
Modified +[NSColor darkGrayColor]
| Declaration | |
|---|---|
| From | + (NSColor *)darkGrayColor |
| To | + (NSColor * _Nonnull)darkGrayColor |
Modified +[NSColor disabledControlTextColor]
| Declaration | |
|---|---|
| From | + (NSColor *)disabledControlTextColor |
| To | + (NSColor * _Nonnull)disabledControlTextColor |
Modified -[NSColor getComponents:]
| Declaration | |
|---|---|
| From | - (void)getComponents:(CGFloat *)components |
| To | - (void)getComponents:(CGFloat * _Nonnull)components |
| Declaration | |
|---|---|
| From | - (void)getCyan:(CGFloat *)cyan magenta:(CGFloat *)magenta yellow:(CGFloat *)yellow black:(CGFloat *)black alpha:(CGFloat *)alpha |
| To | - (void)getCyan:(CGFloat * _Nullable)cyan magenta:(CGFloat * _Nullable)magenta yellow:(CGFloat * _Nullable)yellow black:(CGFloat * _Nullable)black alpha:(CGFloat * _Nullable)alpha |
| Declaration | |
|---|---|
| From | - (void)getHue:(CGFloat *)hue saturation:(CGFloat *)saturation brightness:(CGFloat *)brightness alpha:(CGFloat *)alpha |
| To | - (void)getHue:(CGFloat * _Nullable)hue saturation:(CGFloat * _Nullable)saturation brightness:(CGFloat * _Nullable)brightness alpha:(CGFloat * _Nullable)alpha |
Modified -[NSColor getRed:green:blue:alpha:]
| Declaration | |
|---|---|
| From | - (void)getRed:(CGFloat *)red green:(CGFloat *)green blue:(CGFloat *)blue alpha:(CGFloat *)alpha |
| To | - (void)getRed:(CGFloat * _Nullable)red green:(CGFloat * _Nullable)green blue:(CGFloat * _Nullable)blue alpha:(CGFloat * _Nullable)alpha |
Modified -[NSColor getWhite:alpha:]
| Declaration | |
|---|---|
| From | - (void)getWhite:(CGFloat *)white alpha:(CGFloat *)alpha |
| To | - (void)getWhite:(CGFloat * _Nullable)white alpha:(CGFloat * _Nullable)alpha |
Modified +[NSColor grayColor]
| Declaration | |
|---|---|
| From | + (NSColor *)grayColor |
| To | + (NSColor * _Nonnull)grayColor |
Modified +[NSColor greenColor]
| Declaration | |
|---|---|
| From | + (NSColor *)greenColor |
| To | + (NSColor * _Nonnull)greenColor |
Modified +[NSColor gridColor]
| Declaration | |
|---|---|
| From | + (NSColor *)gridColor |
| To | + (NSColor * _Nonnull)gridColor |
Modified +[NSColor headerColor]
| Declaration | |
|---|---|
| From | + (NSColor *)headerColor |
| To | + (NSColor * _Nonnull)headerColor |
Modified +[NSColor headerTextColor]
| Declaration | |
|---|---|
| From | + (NSColor *)headerTextColor |
| To | + (NSColor * _Nonnull)headerTextColor |
Modified +[NSColor highlightColor]
| Declaration | |
|---|---|
| From | + (NSColor *)highlightColor |
| To | + (NSColor * _Nonnull)highlightColor |
Modified -[NSColor highlightWithLevel:]
| Declaration | |
|---|---|
| From | - (NSColor *)highlightWithLevel:(CGFloat)val |
| To | - (NSColor * _Nullable)highlightWithLevel:(CGFloat)val |
Modified -[NSColor init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSColor initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | + (NSColor *)keyboardFocusIndicatorColor |
| To | + (NSColor * _Nonnull)keyboardFocusIndicatorColor |
Modified +[NSColor knobColor]
| Declaration | |
|---|---|
| From | + (NSColor *)knobColor |
| To | + (NSColor * _Nonnull)knobColor |
Modified +[NSColor labelColor]
| Declaration | |
|---|---|
| From | + (NSColor *)labelColor |
| To | + (NSColor * _Nonnull)labelColor |
Modified +[NSColor lightGrayColor]
| Declaration | |
|---|---|
| From | + (NSColor *)lightGrayColor |
| To | + (NSColor * _Nonnull)lightGrayColor |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedCatalogNameComponent |
| To | @property(readonly, copy, nonnull) NSString *localizedCatalogNameComponent |
Modified NSColor.localizedColorNameComponent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedColorNameComponent |
| To | @property(readonly, copy, nonnull) NSString *localizedColorNameComponent |
Modified +[NSColor magentaColor]
| Declaration | |
|---|---|
| From | + (NSColor *)magentaColor |
| To | + (NSColor * _Nonnull)magentaColor |
Modified +[NSColor orangeColor]
| Declaration | |
|---|---|
| From | + (NSColor *)orangeColor |
| To | + (NSColor * _Nonnull)orangeColor |
Modified NSColor.patternImage
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSImage *patternImage |
| To | @property(readonly, strong, nonnull) NSImage *patternImage |
Modified +[NSColor purpleColor]
| Declaration | |
|---|---|
| From | + (NSColor *)purpleColor |
| To | + (NSColor * _Nonnull)purpleColor |
Modified +[NSColor quaternaryLabelColor]
| Declaration | |
|---|---|
| From | + (NSColor *)quaternaryLabelColor |
| To | + (NSColor * _Nonnull)quaternaryLabelColor |
Modified +[NSColor redColor]
| Declaration | |
|---|---|
| From | + (NSColor *)redColor |
| To | + (NSColor * _Nonnull)redColor |
Modified +[NSColor scrollBarColor]
| Declaration | |
|---|---|
| From | + (NSColor *)scrollBarColor |
| To | + (NSColor * _Nonnull)scrollBarColor |
Modified +[NSColor secondaryLabelColor]
| Declaration | |
|---|---|
| From | + (NSColor *)secondaryLabelColor |
| To | + (NSColor * _Nonnull)secondaryLabelColor |
| Declaration | |
|---|---|
| From | + (NSColor *)secondarySelectedControlColor |
| To | + (NSColor * _Nonnull)secondarySelectedControlColor |
Modified +[NSColor selectedControlColor]
| Declaration | |
|---|---|
| From | + (NSColor *)selectedControlColor |
| To | + (NSColor * _Nonnull)selectedControlColor |
Modified +[NSColor selectedControlTextColor]
| Declaration | |
|---|---|
| From | + (NSColor *)selectedControlTextColor |
| To | + (NSColor * _Nonnull)selectedControlTextColor |
Modified +[NSColor selectedKnobColor]
| Declaration | |
|---|---|
| From | + (NSColor *)selectedKnobColor |
| To | + (NSColor * _Nonnull)selectedKnobColor |
Modified +[NSColor selectedMenuItemColor]
| Declaration | |
|---|---|
| From | + (NSColor *)selectedMenuItemColor |
| To | + (NSColor * _Nonnull)selectedMenuItemColor |
Modified +[NSColor selectedMenuItemTextColor]
| Declaration | |
|---|---|
| From | + (NSColor *)selectedMenuItemTextColor |
| To | + (NSColor * _Nonnull)selectedMenuItemTextColor |
| Declaration | |
|---|---|
| From | + (NSColor *)selectedTextBackgroundColor |
| To | + (NSColor * _Nonnull)selectedTextBackgroundColor |
Modified +[NSColor selectedTextColor]
| Declaration | |
|---|---|
| From | + (NSColor *)selectedTextColor |
| To | + (NSColor * _Nonnull)selectedTextColor |
Modified +[NSColor shadowColor]
| Declaration | |
|---|---|
| From | + (NSColor *)shadowColor |
| To | + (NSColor * _Nonnull)shadowColor |
Modified -[NSColor shadowWithLevel:]
| Declaration | |
|---|---|
| From | - (NSColor *)shadowWithLevel:(CGFloat)val |
| To | - (NSColor * _Nullable)shadowWithLevel:(CGFloat)val |
Modified +[NSColor tertiaryLabelColor]
| Declaration | |
|---|---|
| From | + (NSColor *)tertiaryLabelColor |
| To | + (NSColor * _Nonnull)tertiaryLabelColor |
Modified +[NSColor textBackgroundColor]
| Declaration | |
|---|---|
| From | + (NSColor *)textBackgroundColor |
| To | + (NSColor * _Nonnull)textBackgroundColor |
Modified +[NSColor textColor]
| Declaration | |
|---|---|
| From | + (NSColor *)textColor |
| To | + (NSColor * _Nonnull)textColor |
Modified +[NSColor underPageBackgroundColor]
| Declaration | |
|---|---|
| From | + (NSColor *)underPageBackgroundColor |
| To | + (NSColor * _Nonnull)underPageBackgroundColor |
Modified +[NSColor whiteColor]
| Declaration | |
|---|---|
| From | + (NSColor *)whiteColor |
| To | + (NSColor * _Nonnull)whiteColor |
Modified +[NSColor windowBackgroundColor]
| Declaration | |
|---|---|
| From | + (NSColor *)windowBackgroundColor |
| To | + (NSColor * _Nonnull)windowBackgroundColor |
Modified +[NSColor windowFrameColor]
| Declaration | |
|---|---|
| From | + (NSColor *)windowFrameColor |
| To | + (NSColor * _Nonnull)windowFrameColor |
Modified +[NSColor windowFrameTextColor]
| Declaration | |
|---|---|
| From | + (NSColor *)windowFrameTextColor |
| To | + (NSColor * _Nonnull)windowFrameTextColor |
Modified -[NSColor writeToPasteboard:]
| Declaration | |
|---|---|
| From | - (void)writeToPasteboard:(NSPasteboard *)pasteBoard |
| To | - (void)writeToPasteboard:(NSPasteboard * _Nonnull)pasteBoard |
Modified +[NSColor yellowColor]
| Declaration | |
|---|---|
| From | + (NSColor *)yellowColor |
| To | + (NSColor * _Nonnull)yellowColor |
NSColorList.h
Modified NSColorList
| Protocols | |
|---|---|
| From | NSCoding |
| To | NSSecureCoding |
Modified NSColorList.allKeys
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *allKeys |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *allKeys |
Modified +[NSColorList availableColorLists]
| Declaration | |
|---|---|
| From | + (NSArray *)availableColorLists |
| To | + (NSArray<NSColorList *> * _Nonnull)availableColorLists |
Modified +[NSColorList colorListNamed:]
| Declaration | |
|---|---|
| From | + (NSColorList *)colorListNamed:(NSString *)name |
| To | + (NSColorList * _Nullable)colorListNamed:(NSString * _Nonnull)name |
Modified -[NSColorList colorWithKey:]
| Declaration | |
|---|---|
| From | - (NSColor *)colorWithKey:(NSString *)key |
| To | - (NSColor * _Nullable)colorWithKey:(NSString * _Nonnull)key |
Modified -[NSColorList initWithName:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name |
| To | - (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name fromFile:(NSString *)path |
| To | - (instancetype _Nullable)initWithName:(NSString * _Nonnull)name fromFile:(NSString * _Nullable)path |
| Declaration | |
|---|---|
| From | - (void)insertColor:(NSColor *)color key:(NSString *)key atIndex:(NSUInteger)loc |
| To | - (void)insertColor:(NSColor * _Nonnull)color key:(NSString * _Nonnull)key atIndex:(NSUInteger)loc |
Modified NSColorList.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nullable) NSString *name |
Modified -[NSColorList removeColorWithKey:]
| Declaration | |
|---|---|
| From | - (void)removeColorWithKey:(NSString *)key |
| To | - (void)removeColorWithKey:(NSString * _Nonnull)key |
Modified -[NSColorList setColor:forKey:]
| Declaration | |
|---|---|
| From | - (void)setColor:(NSColor *)color forKey:(NSString *)key |
| To | - (void)setColor:(NSColor * _Nonnull)color forKey:(NSString * _Nonnull)key |
Modified -[NSColorList writeToFile:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)path |
| To | - (BOOL)writeToFile:(NSString * _Nullable)path |
NSColorPanel.h
| Declaration | |
|---|---|
| From | - (void)orderFrontColorPanel:(id)sender |
| To | - (void)orderFrontColorPanel:(id _Nullable)sender |
Modified NSColorPanel.accessoryView
| Declaration | |
|---|---|
| From | @property(strong) NSView *accessoryView |
| To | @property(strong, nullable) NSView *accessoryView |
Modified -[NSColorPanel attachColorList:]
| Declaration | |
|---|---|
| From | - (void)attachColorList:(NSColorList *)colorList |
| To | - (void)attachColorList:(NSColorList * _Nonnull)colorList |
Modified NSColorPanel.color
| Declaration | |
|---|---|
| From | @property(copy) NSColor *color |
| To | @property(copy, nonnull) NSColor *color |
Modified -[NSColorPanel detachColorList:]
| Declaration | |
|---|---|
| From | - (void)detachColorList:(NSColorList *)colorList |
| To | - (void)detachColorList:(NSColorList * _Nonnull)colorList |
| Declaration | |
|---|---|
| From | + (BOOL)dragColor:(NSColor *)color withEvent:(NSEvent *)theEvent fromView:(NSView *)sourceView |
| To | + (BOOL)dragColor:(NSColor * _Nonnull)color withEvent:(NSEvent * _Nonnull)theEvent fromView:(NSView * _Nonnull)sourceView |
Modified -[NSColorPanel setAction:]
| Declaration | |
|---|---|
| From | - (void)setAction:(SEL)aSelector |
| To | - (void)setAction:(SEL _Nullable)aSelector |
Modified -[NSColorPanel setTarget:]
| Declaration | |
|---|---|
| From | - (void)setTarget:(id)anObject |
| To | - (void)setTarget:(id _Nullable)anObject |
Modified +[NSColorPanel sharedColorPanel]
| Declaration | |
|---|---|
| From | + (NSColorPanel *)sharedColorPanel |
| To | + (NSColorPanel * _Nonnull)sharedColorPanel |
Modified -[NSObject changeColor:]
| Declaration | |
|---|---|
| From | - (void)changeColor:(id)sender |
| To | - (void)changeColor:(id _Nullable)sender |
NSColorPicker.h
Modified -[NSColorPicker attachColorList:]
| Declaration | |
|---|---|
| From | - (void)attachColorList:(NSColorList *)colorList |
| To | - (void)attachColorList:(NSColorList * _Nonnull)colorList |
Modified NSColorPicker.buttonToolTip
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *buttonToolTip |
| To | @property(readonly, copy, nonnull) NSString *buttonToolTip |
Modified NSColorPicker.colorPanel
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSColorPanel *colorPanel |
| To | @property(readonly, strong, nonnull) NSColorPanel *colorPanel |
Modified -[NSColorPicker detachColorList:]
| Declaration | |
|---|---|
| From | - (void)detachColorList:(NSColorList *)colorList |
| To | - (void)detachColorList:(NSColorList * _Nonnull)colorList |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPickerMask:(NSUInteger)mask colorPanel:(NSColorPanel *)owningColorPanel |
| To | - (instancetype _Nullable)initWithPickerMask:(NSUInteger)mask colorPanel:(NSColorPanel * _Nonnull)owningColorPanel |
| Declaration | |
|---|---|
| From | - (void)insertNewButtonImage:(NSImage *)newButtonImage in:(NSButtonCell *)buttonCell |
| To | - (void)insertNewButtonImage:(NSImage * _Nonnull)newButtonImage in:(NSButtonCell * _Nonnull)buttonCell |
Modified NSColorPicker.provideNewButtonImage
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSImage *provideNewButtonImage |
| To | @property(readonly, strong, nonnull) NSImage *provideNewButtonImage |
Modified -[NSColorPicker viewSizeChanged:]
| Declaration | |
|---|---|
| From | - (void)viewSizeChanged:(id)sender |
| To | - (void)viewSizeChanged:(id _Nullable)sender |
NSColorPicking.h
| Declaration | |
|---|---|
| From | - (NSView *)provideNewView:(BOOL)initialRequest |
| To | - (NSView * _Nonnull)provideNewView:(BOOL)initialRequest |
Modified -[NSColorPickingCustom setColor:]
| Declaration | |
|---|---|
| From | - (void)setColor:(NSColor *)newColor |
| To | - (void)setColor:(NSColor * _Nonnull)newColor |
| Declaration | |
|---|---|
| From | - (void)alphaControlAddedOrRemoved:(id)sender |
| To | - (void)alphaControlAddedOrRemoved:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)attachColorList:(NSColorList *)colorList |
| To | - (void)attachColorList:(NSColorList * _Nonnull)colorList |
| Declaration | |
|---|---|
| From | - (NSString *)buttonToolTip |
| To | - (NSString * _Nonnull)buttonToolTip |
| Declaration | |
|---|---|
| From | - (void)detachColorList:(NSColorList *)colorList |
| To | - (void)detachColorList:(NSColorList * _Nonnull)colorList |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPickerMask:(NSUInteger)mask colorPanel:(NSColorPanel *)owningColorPanel |
| To | - (instancetype _Nullable)initWithPickerMask:(NSUInteger)mask colorPanel:(NSColorPanel * _Nonnull)owningColorPanel |
| Declaration | |
|---|---|
| From | - (void)insertNewButtonImage:(NSImage *)newButtonImage in:(NSButtonCell *)buttonCell |
| To | - (void)insertNewButtonImage:(NSImage * _Nonnull)newButtonImage in:(NSButtonCell * _Nonnull)buttonCell |
| Declaration | |
|---|---|
| From | - (NSImage *)provideNewButtonImage |
| To | - (NSImage * _Nonnull)provideNewButtonImage |
| Declaration | |
|---|---|
| From | - (void)viewSizeChanged:(id)sender |
| To | - (void)viewSizeChanged:(id _Nullable)sender |
NSColorSpace.h
| Declaration | |
|---|---|
| From | + (NSColorSpace *)adobeRGB1998ColorSpace |
| To | + (NSColorSpace * _Nonnull)adobeRGB1998ColorSpace |
| Declaration | |
|---|---|
| From | + (NSArray *)availableColorSpacesWithModel:(NSColorSpaceModel)model |
| To | + (NSArray<NSColorSpace *> * _Nonnull)availableColorSpacesWithModel:(NSColorSpaceModel)model |
Modified NSColorSpace.CGColorSpace
| Declaration | |
|---|---|
| From | @property(readonly) CGColorSpaceRef CGColorSpace |
| To | @property(readonly, nullable) CGColorSpaceRef CGColorSpace |
Modified NSColorSpace.colorSyncProfile
| Declaration | |
|---|---|
| From | @property(readonly) void *colorSyncProfile |
| To | @property(readonly, nullable) void *colorSyncProfile |
Modified +[NSColorSpace deviceCMYKColorSpace]
| Declaration | |
|---|---|
| From | + (NSColorSpace *)deviceCMYKColorSpace |
| To | + (NSColorSpace * _Nonnull)deviceCMYKColorSpace |
Modified +[NSColorSpace deviceGrayColorSpace]
| Declaration | |
|---|---|
| From | + (NSColorSpace *)deviceGrayColorSpace |
| To | + (NSColorSpace * _Nonnull)deviceGrayColorSpace |
Modified +[NSColorSpace deviceRGBColorSpace]
| Declaration | |
|---|---|
| From | + (NSColorSpace *)deviceRGBColorSpace |
| To | + (NSColorSpace * _Nonnull)deviceRGBColorSpace |
| Declaration | |
|---|---|
| From | + (NSColorSpace *)genericCMYKColorSpace |
| To | + (NSColorSpace * _Nonnull)genericCMYKColorSpace |
| Declaration | |
|---|---|
| From | + (NSColorSpace *)genericGamma22GrayColorSpace |
| To | + (NSColorSpace * _Nonnull)genericGamma22GrayColorSpace |
| Declaration | |
|---|---|
| From | + (NSColorSpace *)genericGrayColorSpace |
| To | + (NSColorSpace * _Nonnull)genericGrayColorSpace |
Modified +[NSColorSpace genericRGBColorSpace]
| Declaration | |
|---|---|
| From | + (NSColorSpace *)genericRGBColorSpace |
| To | + (NSColorSpace * _Nonnull)genericRGBColorSpace |
Modified NSColorSpace.ICCProfileData
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSData *ICCProfileData |
| To | @property(readonly, strong, nullable) NSData *ICCProfileData |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCGColorSpace:(CGColorSpaceRef)cgColorSpace |
| To | - (instancetype _Nullable)initWithCGColorSpace:(CGColorSpaceRef _Nonnull)cgColorSpace |
| Declaration | |
|---|---|
| From | - (instancetype)initWithColorSyncProfile:(void *)prof |
| To | - (instancetype _Nullable)initWithColorSyncProfile:(void * _Nonnull)prof |
| Declaration | |
|---|---|
| From | - (instancetype)initWithICCProfileData:(NSData *)iccData |
| To | - (instancetype _Nullable)initWithICCProfileData:(NSData * _Nonnull)iccData |
Modified NSColorSpace.localizedName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedName |
| To | @property(readonly, copy, nullable) NSString *localizedName |
Modified +[NSColorSpace sRGBColorSpace]
| Declaration | |
|---|---|
| From | + (NSColorSpace *)sRGBColorSpace |
| To | + (NSColorSpace * _Nonnull)sRGBColorSpace |
NSColorWell.h
Modified NSColorWell.color
| Declaration | |
|---|---|
| From | @property(copy) NSColor *color |
| To | @property(copy, nonnull) NSColor *color |
Modified -[NSColorWell takeColorFrom:]
| Declaration | |
|---|---|
| From | - (void)takeColorFrom:(id)sender |
| To | - (void)takeColorFrom:(id _Nullable)sender |
NSComboBox.h
| Declaration | |
|---|---|
| From | - (void)addItemsWithObjectValues:(NSArray *)objects |
| To | - (void)addItemsWithObjectValues:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (void)addItemWithObjectValue:(id)object |
| To | - (void)addItemWithObjectValue:(id _Nonnull)object |
Modified NSComboBox.dataSource
| Declaration | |
|---|---|
| From | @property(assign) id<NSComboBoxDataSource> dataSource |
| To | @property(assign, nullable) id<NSComboBoxDataSource> dataSource |
Modified -[NSComboBox delegate]
| Declaration | |
|---|---|
| From | - (id<NSComboBoxDelegate>)delegate |
| To | - (id<NSComboBoxDelegate> _Nullable)delegate |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithObjectValue:(id)object |
| To | - (NSInteger)indexOfItemWithObjectValue:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)insertItemWithObjectValue:(id)object atIndex:(NSInteger)index |
| To | - (void)insertItemWithObjectValue:(id _Nonnull)object atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (id)itemObjectValueAtIndex:(NSInteger)index |
| To | - (id _Nonnull)itemObjectValueAtIndex:(NSInteger)index |
Modified NSComboBox.objectValueOfSelectedItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) id objectValueOfSelectedItem |
| To | @property(readonly, strong, nullable) id objectValueOfSelectedItem |
Modified NSComboBox.objectValues
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *objectValues |
| To | @property(readonly, copy, nonnull) NSArray *objectValues |
| Declaration | |
|---|---|
| From | - (void)removeItemWithObjectValue:(id)object |
| To | - (void)removeItemWithObjectValue:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)selectItemWithObjectValue:(id)object |
| To | - (void)selectItemWithObjectValue:(id _Nullable)object |
Modified -[NSComboBox setDelegate:]
| Declaration | |
|---|---|
| From | - (void)setDelegate:(id<NSComboBoxDelegate>)anObject |
| To | - (void)setDelegate:(id<NSComboBoxDelegate> _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (NSString *)comboBox:(NSComboBox *)aComboBox completedString:(NSString *)string |
| To | - (NSString * _Nullable)comboBox:(NSComboBox * _Nonnull)aComboBox completedString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (NSUInteger)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)string |
| To | - (NSUInteger)comboBox:(NSComboBox * _Nonnull)aComboBox indexOfItemWithStringValue:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(NSInteger)index |
| To | - (id _Nonnull)comboBox:(NSComboBox * _Nonnull)aComboBox objectValueForItemAtIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (NSInteger)numberOfItemsInComboBox:(NSComboBox *)aComboBox |
| To | - (NSInteger)numberOfItemsInComboBox:(NSComboBox * _Nonnull)aComboBox |
| Declaration | |
|---|---|
| From | - (void)comboBoxSelectionDidChange:(NSNotification *)notification |
| To | - (void)comboBoxSelectionDidChange:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)comboBoxSelectionIsChanging:(NSNotification *)notification |
| To | - (void)comboBoxSelectionIsChanging:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)comboBoxWillDismiss:(NSNotification *)notification |
| To | - (void)comboBoxWillDismiss:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)comboBoxWillPopUp:(NSNotification *)notification |
| To | - (void)comboBoxWillPopUp:(NSNotification * _Nonnull)notification |
NSComboBoxCell.h
| Declaration | |
|---|---|
| From | - (void)addItemsWithObjectValues:(NSArray *)objects |
| To | - (void)addItemsWithObjectValues:(NSArray * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (void)addItemWithObjectValue:(id)object |
| To | - (void)addItemWithObjectValue:(id _Nonnull)object |
Modified -[NSComboBoxCell completedString:]
| Declaration | |
|---|---|
| From | - (NSString *)completedString:(NSString *)string |
| To | - (NSString * _Nullable)completedString:(NSString * _Nonnull)string |
Modified NSComboBoxCell.dataSource
| Declaration | |
|---|---|
| From | @property(assign) id<NSComboBoxCellDataSource> dataSource |
| To | @property(assign, nullable) id<NSComboBoxCellDataSource> dataSource |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithObjectValue:(id)object |
| To | - (NSInteger)indexOfItemWithObjectValue:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)insertItemWithObjectValue:(id)object atIndex:(NSInteger)index |
| To | - (void)insertItemWithObjectValue:(id _Nonnull)object atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (id)itemObjectValueAtIndex:(NSInteger)index |
| To | - (id _Nonnull)itemObjectValueAtIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | @property(readonly, strong) id objectValueOfSelectedItem |
| To | @property(readonly, strong, nullable) id objectValueOfSelectedItem |
Modified NSComboBoxCell.objectValues
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *objectValues |
| To | @property(readonly, copy, nonnull) NSArray *objectValues |
| Declaration | |
|---|---|
| From | - (void)removeItemWithObjectValue:(id)object |
| To | - (void)removeItemWithObjectValue:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)selectItemWithObjectValue:(id)object |
| To | - (void)selectItemWithObjectValue:(id _Nullable)object |
| Declaration | |
|---|---|
| From | - (NSString *)comboBoxCell:(NSComboBoxCell *)aComboBoxCell completedString:(NSString *)uncompletedString |
| To | - (NSString * _Nullable)comboBoxCell:(NSComboBoxCell * _Nonnull)aComboBoxCell completedString:(NSString * _Nonnull)uncompletedString |
| Declaration | |
|---|---|
| From | - (NSUInteger)comboBoxCell:(NSComboBoxCell *)aComboBoxCell indexOfItemWithStringValue:(NSString *)string |
| To | - (NSUInteger)comboBoxCell:(NSComboBoxCell * _Nonnull)aComboBoxCell indexOfItemWithStringValue:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (id)comboBoxCell:(NSComboBoxCell *)aComboBoxCell objectValueForItemAtIndex:(NSInteger)index |
| To | - (id _Nonnull)comboBoxCell:(NSComboBoxCell * _Nonnull)aComboBoxCell objectValueForItemAtIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (NSInteger)numberOfItemsInComboBoxCell:(NSComboBoxCell *)comboBoxCell |
| To | - (NSInteger)numberOfItemsInComboBoxCell:(NSComboBoxCell * _Nonnull)comboBoxCell |
NSControl.h
Removed -[NSControl setCell:]
Modified NSControl.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nullable) SEL action |
Modified NSControl.attributedStringValue
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedStringValue |
| To | @property(copy, nonnull) NSAttributedString *attributedStringValue |
Modified NSControl.cell
| Declaration | Deprecation | |
|---|---|---|
| From | - (id)cell | OS X 10.10 |
| To | @property(strong, nullable) __kindof NSCell *cell | OS X 10.11 |
Modified +[NSControl cellClass]
| Declaration | |
|---|---|
| From | + (Class)cellClass |
| To | + (Class _Nullable)cellClass |
Modified -[NSControl currentEditor]
| Declaration | |
|---|---|
| From | - (NSText *)currentEditor |
| To | - (NSText * _Nullable)currentEditor |
Modified -[NSControl drawCell:]
| Declaration | |
|---|---|
| From | - (void)drawCell:(NSCell *)aCell |
| To | - (void)drawCell:(NSCell * _Nonnull)aCell |
Modified -[NSControl drawCellInside:]
| Declaration | |
|---|---|
| From | - (void)drawCellInside:(NSCell *)aCell |
| To | - (void)drawCellInside:(NSCell * _Nonnull)aCell |
| Declaration | |
|---|---|
| From | - (void)drawWithExpansionFrame:(NSRect)contentFrame inView:(NSView *)view |
| To | - (void)drawWithExpansionFrame:(NSRect)contentFrame inView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (void)editWithFrame:(NSRect)aRect editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent |
| To | - (void)editWithFrame:(NSRect)aRect editor:(NSText * _Nonnull)textObj delegate:(id _Nullable)anObject event:(NSEvent * _Nonnull)theEvent |
Modified -[NSControl endEditing:]
| Declaration | |
|---|---|
| From | - (void)endEditing:(NSText *)textObj |
| To | - (void)endEditing:(NSText * _Nonnull)textObj |
Modified NSControl.font
| Declaration | |
|---|---|
| From | @property(copy) NSFont *font |
| To | @property(copy, nullable) NSFont *font |
Modified NSControl.formatter
| Declaration | |
|---|---|
| From | @property(strong) id formatter |
| To | @property(strong, nullable) __kindof NSFormatter *formatter |
Modified -[NSControl initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSControl initWithFrame:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect |
Modified -[NSControl mouseDown:]
| Declaration | |
|---|---|
| From | - (void)mouseDown:(NSEvent *)theEvent |
| To | - (void)mouseDown:(NSEvent * _Nonnull)theEvent |
Modified NSControl.objectValue
| Declaration | |
|---|---|
| From | @property(copy) id objectValue |
| To | @property(copy, nullable) id objectValue |
Modified -[NSControl performClick:]
| Declaration | |
|---|---|
| From | - (void)performClick:(id)sender |
| To | - (void)performClick:(id _Nullable)sender |
Modified -[NSControl selectCell:]
| Declaration | |
|---|---|
| From | - (void)selectCell:(NSCell *)aCell |
| To | - (void)selectCell:(NSCell * _Nonnull)aCell |
Modified -[NSControl selectedCell]
| Declaration | |
|---|---|
| From | - (id)selectedCell |
| To | - (__kindof NSCell * _Nullable)selectedCell |
| Declaration | |
|---|---|
| From | - (void)selectWithFrame:(NSRect)aRect editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart length:(NSInteger)selLength |
| To | - (void)selectWithFrame:(NSRect)aRect editor:(NSText * _Nonnull)textObj delegate:(id _Nullable)anObject start:(NSInteger)selStart length:(NSInteger)selLength |
Modified -[NSControl sendAction:to:]
| Declaration | |
|---|---|
| From | - (BOOL)sendAction:(SEL)theAction to:(id)theTarget |
| To | - (BOOL)sendAction:(SEL _Nonnull)theAction to:(id _Nullable)theTarget |
Modified +[NSControl setCellClass:]
| Declaration | |
|---|---|
| From | + (void)setCellClass:(Class)factoryId |
| To | + (void)setCellClass:(Class _Nullable)factoryId |
Modified NSControl.stringValue
| Declaration | |
|---|---|
| From | @property(copy) NSString *stringValue |
| To | @property(copy, nonnull) NSString *stringValue |
Modified -[NSControl takeDoubleValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeDoubleValueFrom:(id)sender |
| To | - (void)takeDoubleValueFrom:(id _Nullable)sender |
Modified -[NSControl takeFloatValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeFloatValueFrom:(id)sender |
| To | - (void)takeFloatValueFrom:(id _Nullable)sender |
Modified -[NSControl takeIntegerValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeIntegerValueFrom:(id)sender |
| To | - (void)takeIntegerValueFrom:(id _Nullable)sender |
Modified -[NSControl takeIntValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeIntValueFrom:(id)sender |
| To | - (void)takeIntValueFrom:(id _Nullable)sender |
Modified -[NSControl takeObjectValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeObjectValueFrom:(id)sender |
| To | - (void)takeObjectValueFrom:(id _Nullable)sender |
Modified -[NSControl takeStringValueFrom:]
| Declaration | |
|---|---|
| From | - (void)takeStringValueFrom:(id)sender |
| To | - (void)takeStringValueFrom:(id _Nullable)sender |
Modified NSControl.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
Modified -[NSControl updateCell:]
| Declaration | |
|---|---|
| From | - (void)updateCell:(NSCell *)aCell |
| To | - (void)updateCell:(NSCell * _Nonnull)aCell |
Modified -[NSControl updateCellInside:]
| Declaration | |
|---|---|
| From | - (void)updateCellInside:(NSCell *)aCell |
| To | - (void)updateCellInside:(NSCell * _Nonnull)aCell |
| Declaration | |
|---|---|
| From | - (BOOL)control:(NSControl *)control didFailToFormatString:(NSString *)string errorDescription:(NSString *)error |
| To | - (BOOL)control:(NSControl * _Nonnull)control didFailToFormatString:(NSString * _Nonnull)string errorDescription:(NSString * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)control:(NSControl *)control didFailToValidatePartialString:(NSString *)string errorDescription:(NSString *)error |
| To | - (void)control:(NSControl * _Nonnull)control didFailToValidatePartialString:(NSString * _Nonnull)string errorDescription:(NSString * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)control:(NSControl *)control isValidObject:(id)obj |
| To | - (BOOL)control:(NSControl * _Nonnull)control isValidObject:(id _Nonnull)obj |
| Declaration | |
|---|---|
| From | - (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor |
| To | - (BOOL)control:(NSControl * _Nonnull)control textShouldBeginEditing:(NSText * _Nonnull)fieldEditor |
| Declaration | |
|---|---|
| From | - (BOOL)control:(NSControl *)control textShouldEndEditing:(NSText *)fieldEditor |
| To | - (BOOL)control:(NSControl * _Nonnull)control textShouldEndEditing:(NSText * _Nonnull)fieldEditor |
| Declaration | |
|---|---|
| From | - (NSArray *)control:(NSControl *)control textView:(NSTextView *)textView completions:(NSArray *)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger *)index |
| To | - (NSArray<NSString *> * _Nonnull)control:(NSControl * _Nonnull)control textView:(NSTextView * _Nonnull)textView completions:(NSArray<NSString *> * _Nonnull)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger * _Nonnull)index |
| Declaration | |
|---|---|
| From | - (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)commandSelector |
| To | - (BOOL)control:(NSControl * _Nonnull)control textView:(NSTextView * _Nonnull)textView doCommandBySelector:(SEL _Nonnull)commandSelector |
| Declaration | |
|---|---|
| From | - (void)controlTextDidBeginEditing:(NSNotification *)obj |
| To | - (void)controlTextDidBeginEditing:(NSNotification * _Nonnull)obj |
Modified -[NSObject controlTextDidChange:]
| Declaration | |
|---|---|
| From | - (void)controlTextDidChange:(NSNotification *)obj |
| To | - (void)controlTextDidChange:(NSNotification * _Nonnull)obj |
| Declaration | |
|---|---|
| From | - (void)controlTextDidEndEditing:(NSNotification *)obj |
| To | - (void)controlTextDidEndEditing:(NSNotification * _Nonnull)obj |
NSController.h
| Declaration | |
|---|---|
| From | - (void)commitEditingWithDelegate:(id)delegate didCommitSelector:(SEL)didCommitSelector contextInfo:(void *)contextInfo |
| To | - (void)commitEditingWithDelegate:(id _Nullable)delegate didCommitSelector:(SEL _Nullable)didCommitSelector contextInfo:(void * _Nullable)contextInfo |
Modified -[NSController init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSController initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (void)objectDidBeginEditing:(id)editor |
| To | - (void)objectDidBeginEditing:(id _Nonnull)editor |
Modified -[NSController objectDidEndEditing:]
| Declaration | |
|---|---|
| From | - (void)objectDidEndEditing:(id)editor |
| To | - (void)objectDidEndEditing:(id _Nonnull)editor |
NSCursor.h
Modified +[NSCursor arrowCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)arrowCursor |
| To | + (NSCursor * _Nonnull)arrowCursor |
Modified +[NSCursor closedHandCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)closedHandCursor |
| To | + (NSCursor * _Nonnull)closedHandCursor |
Modified +[NSCursor contextualMenuCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)contextualMenuCursor |
| To | + (NSCursor * _Nonnull)contextualMenuCursor |
Modified +[NSCursor crosshairCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)crosshairCursor |
| To | + (NSCursor * _Nonnull)crosshairCursor |
Modified +[NSCursor currentCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)currentCursor |
| To | + (NSCursor * _Nonnull)currentCursor |
Modified +[NSCursor currentSystemCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)currentSystemCursor |
| To | + (NSCursor * _Nullable)currentSystemCursor |
Modified +[NSCursor disappearingItemCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)disappearingItemCursor |
| To | + (NSCursor * _Nonnull)disappearingItemCursor |
Modified +[NSCursor dragCopyCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)dragCopyCursor |
| To | + (NSCursor * _Nonnull)dragCopyCursor |
Modified +[NSCursor dragLinkCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)dragLinkCursor |
| To | + (NSCursor * _Nonnull)dragLinkCursor |
Modified +[NSCursor IBeamCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)IBeamCursor |
| To | + (NSCursor * _Nonnull)IBeamCursor |
| Declaration | |
|---|---|
| From | + (NSCursor *)IBeamCursorForVerticalLayout |
| To | + (NSCursor * _Nonnull)IBeamCursorForVerticalLayout |
Modified NSCursor.image
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSImage *image |
| To | @property(readonly, strong, nonnull) NSImage *image |
| Declaration | |
|---|---|
| From | - (instancetype)initWithImage:(NSImage *)newImage foregroundColorHint:(NSColor *)fg backgroundColorHint:(NSColor *)bg hotSpot:(NSPoint)hotSpot |
| To | - (instancetype _Nonnull)initWithImage:(NSImage * _Nonnull)newImage foregroundColorHint:(NSColor * _Nullable)fg backgroundColorHint:(NSColor * _Nullable)bg hotSpot:(NSPoint)hotSpot |
Modified -[NSCursor initWithImage:hotSpot:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithImage:(NSImage *)newImage hotSpot:(NSPoint)aPoint |
| To | - (instancetype _Nonnull)initWithImage:(NSImage * _Nonnull)newImage hotSpot:(NSPoint)aPoint |
Modified -[NSCursor mouseEntered:]
| Declaration | |
|---|---|
| From | - (void)mouseEntered:(NSEvent *)theEvent |
| To | - (void)mouseEntered:(NSEvent * _Nonnull)theEvent |
Modified -[NSCursor mouseExited:]
| Declaration | |
|---|---|
| From | - (void)mouseExited:(NSEvent *)theEvent |
| To | - (void)mouseExited:(NSEvent * _Nonnull)theEvent |
Modified +[NSCursor openHandCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)openHandCursor |
| To | + (NSCursor * _Nonnull)openHandCursor |
| Declaration | |
|---|---|
| From | + (NSCursor *)operationNotAllowedCursor |
| To | + (NSCursor * _Nonnull)operationNotAllowedCursor |
Modified +[NSCursor pointingHandCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)pointingHandCursor |
| To | + (NSCursor * _Nonnull)pointingHandCursor |
Modified +[NSCursor resizeDownCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)resizeDownCursor |
| To | + (NSCursor * _Nonnull)resizeDownCursor |
Modified +[NSCursor resizeLeftCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)resizeLeftCursor |
| To | + (NSCursor * _Nonnull)resizeLeftCursor |
Modified +[NSCursor resizeLeftRightCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)resizeLeftRightCursor |
| To | + (NSCursor * _Nonnull)resizeLeftRightCursor |
Modified +[NSCursor resizeRightCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)resizeRightCursor |
| To | + (NSCursor * _Nonnull)resizeRightCursor |
Modified +[NSCursor resizeUpCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)resizeUpCursor |
| To | + (NSCursor * _Nonnull)resizeUpCursor |
Modified +[NSCursor resizeUpDownCursor]
| Declaration | |
|---|---|
| From | + (NSCursor *)resizeUpDownCursor |
| To | + (NSCursor * _Nonnull)resizeUpDownCursor |
NSCustomImageRep.h
Modified NSCustomImageRep.delegate
| Declaration | |
|---|---|
| From | @property(readonly, assign) id delegate |
| To | @property(readonly, assign, nullable) id delegate |
Modified NSCustomImageRep.drawingHandler
| Declaration | |
|---|---|
| From | @property(readonly, copy) BOOL (^drawingHandler)(NSRect) |
| To | @property(readonly, copy, nullable) BOOL (^drawingHandler)(NSRect) |
Modified NSCustomImageRep.drawSelector
| Declaration | |
|---|---|
| From | @property(readonly) SEL drawSelector |
| To | @property(readonly, nullable) SEL drawSelector |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDrawSelector:(SEL)aMethod delegate:(id)anObject |
| To | - (instancetype _Nonnull)initWithDrawSelector:(SEL _Nonnull)aMethod delegate:(id _Nonnull)anObject |
| Declaration | |
|---|---|
| From | - (instancetype)initWithSize:(NSSize)size flipped:(BOOL)drawingHandlerShouldBeCalledWithFlippedContext drawingHandler:(BOOL (^)(NSRect dstRect))drawingHandler |
| To | - (instancetype _Nonnull)initWithSize:(NSSize)size flipped:(BOOL)drawingHandlerShouldBeCalledWithFlippedContext drawingHandler:(BOOL (^ _Nonnull)(NSRect dstRect))drawingHandler |
NSDataAsset.h (Added)
NSDatePicker.h
Modified NSDatePicker.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
Modified NSDatePicker.calendar
| Declaration | |
|---|---|
| From | @property(copy) NSCalendar *calendar |
| To | @property(copy, nullable) NSCalendar *calendar |
Modified NSDatePicker.dateValue
| Declaration | |
|---|---|
| From | @property(copy) NSDate *dateValue |
| To | @property(copy, nonnull) NSDate *dateValue |
Modified NSDatePicker.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSDatePickerCellDelegate> delegate |
| To | @property(assign, nullable) id<NSDatePickerCellDelegate> delegate |
Modified NSDatePicker.locale
| Declaration | |
|---|---|
| From | @property(copy) NSLocale *locale |
| To | @property(copy, nullable) NSLocale *locale |
Modified NSDatePicker.maxDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *maxDate |
| To | @property(copy, nullable) NSDate *maxDate |
Modified NSDatePicker.minDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *minDate |
| To | @property(copy, nullable) NSDate *minDate |
Modified NSDatePicker.textColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *textColor |
| To | @property(copy, nonnull) NSColor *textColor |
Modified NSDatePicker.timeZone
| Declaration | |
|---|---|
| From | @property(copy) NSTimeZone *timeZone |
| To | @property(copy, nullable) NSTimeZone *timeZone |
NSDatePickerCell.h
Modified NSDatePickerCell.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
Modified NSDatePickerCell.calendar
| Declaration | |
|---|---|
| From | @property(copy) NSCalendar *calendar |
| To | @property(copy, nullable) NSCalendar *calendar |
Modified NSDatePickerCell.dateValue
| Declaration | |
|---|---|
| From | @property(copy) NSDate *dateValue |
| To | @property(copy, nonnull) NSDate *dateValue |
Modified NSDatePickerCell.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSDatePickerCellDelegate> delegate |
| To | @property(assign, nullable) id<NSDatePickerCellDelegate> delegate |
Modified NSDatePickerCell.locale
| Declaration | |
|---|---|
| From | @property(copy) NSLocale *locale |
| To | @property(copy, nullable) NSLocale *locale |
Modified NSDatePickerCell.maxDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *maxDate |
| To | @property(copy, nullable) NSDate *maxDate |
Modified NSDatePickerCell.minDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *minDate |
| To | @property(copy, nullable) NSDate *minDate |
Modified NSDatePickerCell.textColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *textColor |
| To | @property(copy, nonnull) NSColor *textColor |
Modified NSDatePickerCell.timeZone
| Declaration | |
|---|---|
| From | @property(copy) NSTimeZone *timeZone |
| To | @property(copy, nullable) NSTimeZone *timeZone |
| Declaration | |
|---|---|
| From | - (void)datePickerCell:(NSDatePickerCell *)aDatePickerCell validateProposedDateValue:(NSDate **)proposedDateValue timeInterval:(NSTimeInterval *)proposedTimeInterval |
| To | - (void)datePickerCell:(NSDatePickerCell * _Nonnull)aDatePickerCell validateProposedDateValue:(NSDate * _Nonnull * _Nonnull)proposedDateValue timeInterval:(NSTimeInterval * _Nullable)proposedTimeInterval |
NSDictionaryController.h
Removed -[NSObject isExplicitlyIncluded]
Removed -[NSObject key]
Removed -[NSObject localizedKey]
Removed -[NSObject setKey:]
Removed -[NSObject setLocalizedKey:]
Removed -[NSObject setValue:]
Removed -[NSObject value]
Removed NSObject(NSDictionaryControllerKeyValuePair)
Modified NSDictionaryController.excludedKeys
| Declaration | |
|---|---|
| From | @property(copy) NSArray *excludedKeys |
| To | @property(copy, nonnull) NSArray<NSString *> *excludedKeys |
Modified NSDictionaryController.includedKeys
| Declaration | |
|---|---|
| From | @property(copy) NSArray *includedKeys |
| To | @property(copy, nonnull) NSArray<NSString *> *includedKeys |
Modified NSDictionaryController.initialKey
| Declaration | |
|---|---|
| From | @property(copy) NSString *initialKey |
| To | @property(copy, nonnull) NSString *initialKey |
Modified NSDictionaryController.initialValue
| Declaration | |
|---|---|
| From | @property(strong) id initialValue |
| To | @property(strong, nonnull) id initialValue |
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *localizedKeyDictionary |
| To | @property(copy, nonnull) NSDictionary<NSString *,NSString *> *localizedKeyDictionary |
| Declaration | |
|---|---|
| From | @property(copy) NSString *localizedKeyTable |
| To | @property(copy, nullable) NSString *localizedKeyTable |
Modified -[NSDictionaryController newObject]
| Declaration | |
|---|---|
| From | - (id)newObject |
| To | - (NSDictionaryControllerKeyValuePair * _Nonnull)newObject |
NSDockTile.h
Modified NSDockTile.badgeLabel
| Declaration | |
|---|---|
| From | @property(copy) NSString *badgeLabel |
| To | @property(copy, nullable) NSString *badgeLabel |
Modified NSDockTile.contentView
| Declaration | |
|---|---|
| From | @property(strong) NSView *contentView |
| To | @property(strong, nullable) NSView *contentView |
Modified NSDockTile.owner
| Declaration | |
|---|---|
| From | @property(readonly, assign) id owner |
| To | @property(readonly, assign, nonnull) id owner |
Modified -[NSDockTilePlugIn dockMenu]
| Declaration | |
|---|---|
| From | - (NSMenu *)dockMenu |
| To | - (NSMenu * _Nullable)dockMenu |
Modified -[NSDockTilePlugIn setDockTile:]
| Declaration | |
|---|---|
| From | - (void)setDockTile:(NSDockTile *)dockTile |
| To | - (void)setDockTile:(NSDockTile * _Nullable)dockTile |
NSDocument.h
Modified -[NSDocument addWindowController:]
| Declaration | |
|---|---|
| From | - (void)addWindowController:(NSWindowController *)windowController |
| To | - (void)addWindowController:(NSWindowController * _Nonnull)windowController |
Modified NSDocument.autosavedContentsFileURL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *autosavedContentsFileURL |
| To | @property(copy, nullable) NSURL *autosavedContentsFileURL |
| Declaration | |
|---|---|
| From | - (void)autosaveDocumentWithDelegate:(id)delegate didAutosaveSelector:(SEL)didAutosaveSelector contextInfo:(void *)contextInfo |
| To | - (void)autosaveDocumentWithDelegate:(id _Nullable)delegate didAutosaveSelector:(SEL _Nullable)didAutosaveSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)autosaveWithImplicitCancellability:(BOOL)autosavingIsImplicitlyCancellable completionHandler:(void (^)(NSError *errorOrNil))completionHandler |
| To | - (void)autosaveWithImplicitCancellability:(BOOL)autosavingIsImplicitlyCancellable completionHandler:(void (^ _Nonnull)(NSError * _Nullable errorOrNil))completionHandler |
Modified NSDocument.autosavingFileType
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *autosavingFileType |
| To | @property(readonly, copy, nullable) NSString *autosavingFileType |
Modified NSDocument.backupFileURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *backupFileURL |
| To | @property(readonly, copy, nullable) NSURL *backupFileURL |
| Declaration | |
|---|---|
| From | - (IBAction)browseDocumentVersions:(id)sender |
| To | - (IBAction)browseDocumentVersions:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)canAsynchronouslyWriteToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation |
| To | - (BOOL)canAsynchronouslyWriteToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation |
| Declaration | |
|---|---|
| From | - (void)canCloseDocumentWithDelegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *)contextInfo |
| To | - (void)canCloseDocumentWithDelegate:(id _Nonnull)delegate shouldCloseSelector:(SEL _Nullable)shouldCloseSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | + (BOOL)canConcurrentlyReadDocumentsOfType:(NSString *)typeName |
| To | + (BOOL)canConcurrentlyReadDocumentsOfType:(NSString * _Nonnull)typeName |
| Declaration | |
|---|---|
| From | - (id)changeCountTokenForSaveOperation:(NSSaveOperationType)saveOperation |
| To | - (id _Nonnull)changeCountTokenForSaveOperation:(NSSaveOperationType)saveOperation |
| Declaration | |
|---|---|
| From | - (BOOL)checkAutosavingSafetyAndReturnError:(NSError **)outError |
| To | - (BOOL)checkAutosavingSafetyAndReturnError:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (void)continueActivityUsingBlock:(void (^)(void))block |
| To | - (void)continueActivityUsingBlock:(void (^ _Nonnull)(void))block |
| Declaration | |
|---|---|
| From | - (void)continueAsynchronousWorkOnMainThreadUsingBlock:(void (^)(void))block |
| To | - (void)continueAsynchronousWorkOnMainThreadUsingBlock:(void (^ _Nonnull)(void))block |
Modified -[NSDocument dataOfType:error:]
| Declaration | |
|---|---|
| From | - (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError |
| To | - (NSData * _Nullable)dataOfType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (NSData *)dataRepresentationOfType:(NSString *)type |
| To | - (NSData * _Nullable)dataRepresentationOfType:(NSString * _Nonnull)type |
Modified -[NSDocument defaultDraftName]
| Declaration | |
|---|---|
| From | - (NSString *)defaultDraftName |
| To | - (NSString * _Nonnull)defaultDraftName |
Modified NSDocument.displayName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *displayName |
| To | @property(readonly, copy, nonnull) NSString *displayName |
| Declaration | |
|---|---|
| From | - (NSDocument *)duplicateAndReturnError:(NSError **)outError |
| To | - (__kindof NSDocument * _Nullable)duplicateAndReturnError:(NSError * _Nullable * _Nullable)outError |
Modified -[NSDocument duplicateDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)duplicateDocument:(id)sender |
| To | - (IBAction)duplicateDocument:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)duplicateDocumentWithDelegate:(id)delegate didDuplicateSelector:(SEL)didDuplicateSelector contextInfo:(void *)contextInfo |
| To | - (void)duplicateDocumentWithDelegate:(id _Nullable)delegate didDuplicateSelector:(SEL _Nullable)didDuplicateSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (NSDictionary *)fileAttributesToWriteToFile:(NSString *)fullDocumentPath ofType:(NSString *)documentTypeName saveOperation:(NSSaveOperationType)saveOperationType |
| To | - (NSDictionary * _Nullable)fileAttributesToWriteToFile:(NSString * _Nonnull)fullDocumentPath ofType:(NSString * _Nonnull)documentTypeName saveOperation:(NSSaveOperationType)saveOperationType |
Modified -[NSDocument fileAttributesToWriteToURL:ofType:forSaveOperation:originalContentsURL:error:]
| Declaration | |
|---|---|
| From | - (NSDictionary *)fileAttributesToWriteToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError |
| To | - (NSDictionary<NSString *,id> * _Nullable)fileAttributesToWriteToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL * _Nullable)absoluteOriginalContentsURL error:(NSError * _Nullable * _Nullable)outError |
Modified NSDocument.fileModificationDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *fileModificationDate |
| To | @property(copy, nullable) NSDate *fileModificationDate |
Modified -[NSDocument fileName]
| Declaration | |
|---|---|
| From | - (NSString *)fileName |
| To | - (NSString * _Nullable)fileName |
| Declaration | |
|---|---|
| From | - (NSString *)fileNameExtensionForType:(NSString *)typeName saveOperation:(NSSaveOperationType)saveOperation |
| To | - (NSString * _Nullable)fileNameExtensionForType:(NSString * _Nonnull)typeName saveOperation:(NSSaveOperationType)saveOperation |
Modified NSDocument.fileType
| Declaration | |
|---|---|
| From | @property(copy) NSString *fileType |
| To | @property(copy, nullable) NSString *fileType |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *fileTypeFromLastRunSavePanel |
| To | @property(readonly, copy, nullable) NSString *fileTypeFromLastRunSavePanel |
Modified NSDocument.fileURL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *fileURL |
| To | @property(copy, nullable) NSURL *fileURL |
| Declaration | |
|---|---|
| From | - (NSFileWrapper *)fileWrapperOfType:(NSString *)typeName error:(NSError **)outError |
| To | - (NSFileWrapper * _Nullable)fileWrapperOfType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (NSFileWrapper *)fileWrapperRepresentationOfType:(NSString *)type |
| To | - (NSFileWrapper * _Nullable)fileWrapperRepresentationOfType:(NSString * _Nonnull)type |
Modified -[NSDocument init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initForURL:(NSURL *)urlOrNil withContentsOfURL:(NSURL *)contentsURL ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (instancetype _Nullable)initForURL:(NSURL * _Nullable)urlOrNil withContentsOfURL:(NSURL * _Nonnull)contentsURL ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (id)initWithContentsOfFile:(NSString *)absolutePath ofType:(NSString *)typeName |
| To | - (id _Nullable)initWithContentsOfFile:(NSString * _Nonnull)absolutePath ofType:(NSString * _Nonnull)typeName |
| Declaration | |
|---|---|
| From | - (id)initWithContentsOfURL:(NSURL *)url ofType:(NSString *)typeName |
| To | - (id _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSDocument initWithType:error:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithType:(NSString *)typeName error:(NSError **)outError |
| To | - (instancetype _Nullable)initWithType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
Modified +[NSDocument isNativeType:]
| Declaration | |
|---|---|
| From | + (BOOL)isNativeType:(NSString *)type |
| To | + (BOOL)isNativeType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)loadDataRepresentation:(NSData *)data ofType:(NSString *)type |
| To | - (BOOL)loadDataRepresentation:(NSData * _Nonnull)data ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)loadFileWrapperRepresentation:(NSFileWrapper *)wrapper ofType:(NSString *)type |
| To | - (BOOL)loadFileWrapperRepresentation:(NSFileWrapper * _Nonnull)wrapper ofType:(NSString * _Nonnull)type |
Modified -[NSDocument lockDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)lockDocument:(id)sender |
| To | - (IBAction)lockDocument:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)lockDocumentWithCompletionHandler:(void (^)(BOOL didLock))completionHandler |
| To | - (void)lockDocumentWithCompletionHandler:(void (^ _Nullable)(BOOL didLock))completionHandler |
| Declaration | |
|---|---|
| From | - (void)lockWithCompletionHandler:(void (^)(NSError *))completionHandler |
| To | - (void)lockWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable))completionHandler |
Modified -[NSDocument moveDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)moveDocument:(id)sender |
| To | - (IBAction)moveDocument:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (IBAction)moveDocumentToUbiquityContainer:(id)sender |
| To | - (IBAction)moveDocumentToUbiquityContainer:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)moveDocumentWithCompletionHandler:(void (^)(BOOL didMove))completionHandler |
| To | - (void)moveDocumentWithCompletionHandler:(void (^ _Nullable)(BOOL didMove))completionHandler |
| Declaration | |
|---|---|
| From | - (void)moveToURL:(NSURL *)url completionHandler:(void (^)(NSError *))completionHandler |
| To | - (void)moveToURL:(NSURL * _Nonnull)url completionHandler:(void (^ _Nullable)(NSError * _Nullable))completionHandler |
Modified NSDocument.PDFPrintOperation
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSPrintOperation *PDFPrintOperation |
| To | @property(readonly, strong, nonnull) NSPrintOperation *PDFPrintOperation |
| Declaration | |
|---|---|
| From | - (void)performActivityWithSynchronousWaiting:(BOOL)waitSynchronously usingBlock:(void (^)(void (^activityCompletionHandler)(void)))block |
| To | - (void)performActivityWithSynchronousWaiting:(BOOL)waitSynchronously usingBlock:(void (^ _Nonnull)(void (^ _Nonnull)(void) activityCompletionHandler))block |
| Declaration | |
|---|---|
| From | - (void)performAsynchronousFileAccessUsingBlock:(void (^)(void (^fileAccessCompletionHandler)(void)))block |
| To | - (void)performAsynchronousFileAccessUsingBlock:(void (^ _Nonnull)(void (^ _Nonnull)(void) fileAccessCompletionHandler))block |
| Declaration | |
|---|---|
| From | - (void)performSynchronousFileAccessUsingBlock:(void (^)(void))block |
| To | - (void)performSynchronousFileAccessUsingBlock:(void (^ _Nonnull)(void))block |
Modified -[NSDocument preparePageLayout:]
| Declaration | |
|---|---|
| From | - (BOOL)preparePageLayout:(NSPageLayout *)pageLayout |
| To | - (BOOL)preparePageLayout:(NSPageLayout * _Nonnull)pageLayout |
Modified -[NSDocument prepareSavePanel:]
| Declaration | |
|---|---|
| From | - (BOOL)prepareSavePanel:(NSSavePanel *)savePanel |
| To | - (BOOL)prepareSavePanel:(NSSavePanel * _Nonnull)savePanel |
Modified -[NSDocument presentError:]
| Declaration | |
|---|---|
| From | - (BOOL)presentError:(NSError *)error |
| To | - (BOOL)presentError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)presentError:(NSError *)error modalForWindow:(NSWindow *)window delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void *)contextInfo |
| To | - (void)presentError:(NSError * _Nonnull)error modalForWindow:(NSWindow * _Nonnull)window delegate:(id _Nullable)delegate didPresentSelector:(SEL _Nullable)didPresentSelector contextInfo:(void * _Nullable)contextInfo |
Modified -[NSDocument printDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)printDocument:(id)sender |
| To | - (IBAction)printDocument:(id _Nullable)sender |
Modified -[NSDocument printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo:]
| Declaration | |
|---|---|
| From | - (void)printDocumentWithSettings:(NSDictionary *)printSettings showPrintPanel:(BOOL)showPrintPanel delegate:(id)delegate didPrintSelector:(SEL)didPrintSelector contextInfo:(void *)contextInfo |
| To | - (void)printDocumentWithSettings:(NSDictionary<NSString *,id> * _Nonnull)printSettings showPrintPanel:(BOOL)showPrintPanel delegate:(id _Nullable)delegate didPrintSelector:(SEL _Nullable)didPrintSelector contextInfo:(void * _Nullable)contextInfo |
Modified NSDocument.printInfo
| Declaration | |
|---|---|
| From | @property(copy) NSPrintInfo *printInfo |
| To | @property(copy, nonnull) NSPrintInfo *printInfo |
| Declaration | |
|---|---|
| From | - (NSPrintOperation *)printOperationWithSettings:(NSDictionary *)printSettings error:(NSError **)outError |
| To | - (NSPrintOperation * _Nullable)printOperationWithSettings:(NSDictionary<NSString *,id> * _Nonnull)printSettings error:(NSError * _Nullable * _Nullable)outError |
Modified +[NSDocument readableTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)readableTypes |
| To | + (NSArray<NSString *> * _Nonnull)readableTypes |
| Declaration | |
|---|---|
| From | - (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (BOOL)readFromData:(NSData * _Nonnull)data ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSDocument readFromFile:ofType:]
| Declaration | |
|---|---|
| From | - (BOOL)readFromFile:(NSString *)fileName ofType:(NSString *)type |
| To | - (BOOL)readFromFile:(NSString * _Nonnull)fileName ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)readFromFileWrapper:(NSFileWrapper *)fileWrapper ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (BOOL)readFromFileWrapper:(NSFileWrapper * _Nonnull)fileWrapper ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSDocument readFromURL:ofType:]
| Declaration | |
|---|---|
| From | - (BOOL)readFromURL:(NSURL *)url ofType:(NSString *)type |
| To | - (BOOL)readFromURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)readFromURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (BOOL)readFromURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (void)removeWindowController:(NSWindowController *)windowController |
| To | - (void)removeWindowController:(NSWindowController * _Nonnull)windowController |
Modified -[NSDocument renameDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)renameDocument:(id)sender |
| To | - (IBAction)renameDocument:(id _Nullable)sender |
Modified -[NSDocument revertDocumentToSaved:]
| Declaration | |
|---|---|
| From | - (IBAction)revertDocumentToSaved:(id)sender |
| To | - (IBAction)revertDocumentToSaved:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)revertToContentsOfURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (BOOL)revertToContentsOfURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (BOOL)revertToSavedFromFile:(NSString *)fileName ofType:(NSString *)type |
| To | - (BOOL)revertToSavedFromFile:(NSString * _Nonnull)fileName ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)revertToSavedFromURL:(NSURL *)url ofType:(NSString *)type |
| To | - (BOOL)revertToSavedFromURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (NSInteger)runModalPageLayoutWithPrintInfo:(NSPrintInfo *)printInfo |
| To | - (NSInteger)runModalPageLayoutWithPrintInfo:(NSPrintInfo * _Nonnull)printInfo |
| Declaration | |
|---|---|
| From | - (void)runModalPageLayoutWithPrintInfo:(NSPrintInfo *)printInfo delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void *)contextInfo |
| To | - (void)runModalPageLayoutWithPrintInfo:(NSPrintInfo * _Nonnull)printInfo delegate:(id _Nullable)delegate didRunSelector:(SEL _Nullable)didRunSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)runModalPrintOperation:(NSPrintOperation *)printOperation delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void *)contextInfo |
| To | - (void)runModalPrintOperation:(NSPrintOperation * _Nonnull)printOperation delegate:(id _Nullable)delegate didRunSelector:(SEL _Nullable)didRunSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)runModalSavePanelForSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo |
| To | - (void)runModalSavePanelForSaveOperation:(NSSaveOperationType)saveOperation delegate:(id _Nullable)delegate didSaveSelector:(SEL _Nullable)didSaveSelector contextInfo:(void * _Nullable)contextInfo |
Modified -[NSDocument runPageLayout:]
| Declaration | |
|---|---|
| From | - (IBAction)runPageLayout:(id)sender |
| To | - (IBAction)runPageLayout:(id _Nullable)sender |
Modified -[NSDocument saveDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)saveDocument:(id)sender |
| To | - (IBAction)saveDocument:(id _Nullable)sender |
Modified -[NSDocument saveDocumentAs:]
| Declaration | |
|---|---|
| From | - (IBAction)saveDocumentAs:(id)sender |
| To | - (IBAction)saveDocumentAs:(id _Nullable)sender |
Modified -[NSDocument saveDocumentTo:]
| Declaration | |
|---|---|
| From | - (IBAction)saveDocumentTo:(id)sender |
| To | - (IBAction)saveDocumentTo:(id _Nullable)sender |
Modified -[NSDocument saveDocumentToPDF:]
| Declaration | |
|---|---|
| From | - (IBAction)saveDocumentToPDF:(id)sender |
| To | - (IBAction)saveDocumentToPDF:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)saveDocumentWithDelegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo |
| To | - (void)saveDocumentWithDelegate:(id _Nullable)delegate didSaveSelector:(SEL _Nullable)didSaveSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)saveToFile:(NSString *)fileName saveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo |
| To | - (void)saveToFile:(NSString * _Nonnull)fileName saveOperation:(NSSaveOperationType)saveOperation delegate:(id _Nullable)delegate didSaveSelector:(SEL _Nullable)didSaveSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)saveToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation completionHandler:(void (^)(NSError *errorOrNil))completionHandler |
| To | - (void)saveToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation completionHandler:(void (^ _Nonnull)(NSError * _Nullable errorOrNil))completionHandler |
| Declaration | |
|---|---|
| From | - (void)saveToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo |
| To | - (void)saveToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id _Nullable)delegate didSaveSelector:(SEL _Nullable)didSaveSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (BOOL)saveToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError |
| To | - (BOOL)saveToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSDocument setDisplayName:]
| Declaration | |
|---|---|
| From | - (void)setDisplayName:(NSString *)displayNameOrNil |
| To | - (void)setDisplayName:(NSString * _Nullable)displayNameOrNil |
Modified -[NSDocument setFileName:]
| Declaration | |
|---|---|
| From | - (void)setFileName:(NSString *)fileName |
| To | - (void)setFileName:(NSString * _Nullable)fileName |
Modified -[NSDocument setWindow:]
| Declaration | |
|---|---|
| From | - (void)setWindow:(NSWindow *)window |
| To | - (void)setWindow:(NSWindow * _Nullable)window |
Modified -[NSDocument shouldChangePrintInfo:]
| Declaration | |
|---|---|
| From | - (BOOL)shouldChangePrintInfo:(NSPrintInfo *)newPrintInfo |
| To | - (BOOL)shouldChangePrintInfo:(NSPrintInfo * _Nonnull)newPrintInfo |
| Declaration | |
|---|---|
| From | - (void)shouldCloseWindowController:(NSWindowController *)windowController delegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *)contextInfo |
| To | - (void)shouldCloseWindowController:(NSWindowController * _Nonnull)windowController delegate:(id _Nullable)delegate shouldCloseSelector:(SEL _Nullable)shouldCloseSelector contextInfo:(void * _Nullable)contextInfo |
Modified NSDocument.undoManager
| Declaration | |
|---|---|
| From | @property(strong) NSUndoManager *undoManager |
| To | @property(strong, nullable) NSUndoManager *undoManager |
Modified -[NSDocument unlockDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)unlockDocument:(id)sender |
| To | - (IBAction)unlockDocument:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)unlockDocumentWithCompletionHandler:(void (^)(BOOL didUnlock))completionHandler |
| To | - (void)unlockDocumentWithCompletionHandler:(void (^ _Nullable)(BOOL didUnlock))completionHandler |
| Declaration | |
|---|---|
| From | - (void)unlockWithCompletionHandler:(void (^)(NSError *))completionHandler |
| To | - (void)unlockWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable))completionHandler |
| Declaration | |
|---|---|
| From | - (void)updateChangeCountWithToken:(id)changeCountToken forSaveOperation:(NSSaveOperationType)saveOperation |
| To | - (void)updateChangeCountWithToken:(id _Nonnull)changeCountToken forSaveOperation:(NSSaveOperationType)saveOperation |
| Declaration | |
|---|---|
| From | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)anItem |
| To | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem> _Nonnull)anItem |
Modified -[NSDocument willNotPresentError:]
| Declaration | |
|---|---|
| From | - (void)willNotPresentError:(NSError *)error |
| To | - (void)willNotPresentError:(NSError * _Nonnull)error |
Modified -[NSDocument willPresentError:]
| Declaration | |
|---|---|
| From | - (NSError *)willPresentError:(NSError *)error |
| To | - (NSError * _Nonnull)willPresentError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)windowControllerDidLoadNib:(NSWindowController *)windowController |
| To | - (void)windowControllerDidLoadNib:(NSWindowController * _Nonnull)windowController |
Modified NSDocument.windowControllers
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *windowControllers |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSWindowController *> *windowControllers |
| Declaration | |
|---|---|
| From | - (void)windowControllerWillLoadNib:(NSWindowController *)windowController |
| To | - (void)windowControllerWillLoadNib:(NSWindowController * _Nonnull)windowController |
Modified NSDocument.windowForSheet
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSWindow *windowForSheet |
| To | @property(readonly, strong, nullable) NSWindow *windowForSheet |
Modified NSDocument.windowNibName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *windowNibName |
| To | @property(readonly, copy, nullable) NSString *windowNibName |
Modified +[NSDocument writableTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)writableTypes |
| To | + (NSArray<NSString *> * _Nonnull)writableTypes |
| Declaration | |
|---|---|
| From | - (NSArray *)writableTypesForSaveOperation:(NSSaveOperationType)saveOperation |
| To | - (NSArray<NSString *> * _Nonnull)writableTypesForSaveOperation:(NSSaveOperationType)saveOperation |
| Declaration | |
|---|---|
| From | - (BOOL)writeSafelyToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError |
| To | - (BOOL)writeSafelyToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSDocument writeToFile:ofType:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)fileName ofType:(NSString *)type |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)fileName ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)fullDocumentPath ofType:(NSString *)documentTypeName originalFile:(NSString *)fullOriginalDocumentPath saveOperation:(NSSaveOperationType)saveOperationType |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)fullDocumentPath ofType:(NSString * _Nonnull)documentTypeName originalFile:(NSString * _Nullable)fullOriginalDocumentPath saveOperation:(NSSaveOperationType)saveOperationType |
Modified -[NSDocument writeToURL:ofType:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url ofType:(NSString *)type |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL * _Nullable)absoluteOriginalContentsURL error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (BOOL)writeWithBackupToFile:(NSString *)fullDocumentPath ofType:(NSString *)documentTypeName saveOperation:(NSSaveOperationType)saveOperationType |
| To | - (BOOL)writeWithBackupToFile:(NSString * _Nonnull)fullDocumentPath ofType:(NSString * _Nonnull)documentTypeName saveOperation:(NSSaveOperationType)saveOperationType |
NSDocumentController.h
Modified -[NSDocumentController addDocument:]
| Declaration | |
|---|---|
| From | - (void)addDocument:(NSDocument *)document |
| To | - (void)addDocument:(NSDocument * _Nonnull)document |
| Declaration | |
|---|---|
| From | - (void)beginOpenPanel:(NSOpenPanel *)openPanel forTypes:(NSArray *)inTypes completionHandler:(void (^)(NSInteger result))completionHandler |
| To | - (void)beginOpenPanel:(NSOpenPanel * _Nonnull)openPanel forTypes:(NSArray<NSString *> * _Nullable)inTypes completionHandler:(void (^ _Nonnull)(NSInteger result))completionHandler |
| Declaration | |
|---|---|
| From | - (void)beginOpenPanelWithCompletionHandler:(void (^)(NSArray *))completionHandler |
| To | - (void)beginOpenPanelWithCompletionHandler:(void (^ _Nonnull)(NSArray<NSURL *> * _Nullable))completionHandler |
| Declaration | |
|---|---|
| From | - (IBAction)clearRecentDocuments:(id)sender |
| To | - (IBAction)clearRecentDocuments:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)closeAllDocumentsWithDelegate:(id)delegate didCloseAllSelector:(SEL)didCloseAllSelector contextInfo:(void *)contextInfo |
| To | - (void)closeAllDocumentsWithDelegate:(id _Nullable)delegate didCloseAllSelector:(SEL _Nullable)didCloseAllSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *currentDirectory |
| To | @property(readonly, copy, nullable) NSString *currentDirectory |
Modified NSDocumentController.currentDocument
| Declaration | |
|---|---|
| From | @property(readonly, strong) id currentDocument |
| To | @property(readonly, strong, nullable) __kindof NSDocument *currentDocument |
Modified NSDocumentController.defaultType
| Declaration | |
|---|---|
| From | - (NSString *)defaultType |
| To | @property(readonly, nullable) NSString *defaultType |
| Declaration | |
|---|---|
| From | - (NSString *)displayNameForType:(NSString *)typeName |
| To | - (NSString * _Nullable)displayNameForType:(NSString * _Nonnull)typeName |
| Declaration | |
|---|---|
| From | - (Class)documentClassForType:(NSString *)typeName |
| To | - (Class _Nullable)documentClassForType:(NSString * _Nonnull)typeName |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *documentClassNames |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *documentClassNames |
| Declaration | |
|---|---|
| From | - (id)documentForFileName:(NSString *)fileName |
| To | - (id _Nullable)documentForFileName:(NSString * _Nonnull)fileName |
| Declaration | |
|---|---|
| From | - (id)documentForURL:(NSURL *)url |
| To | - (__kindof NSDocument * _Nullable)documentForURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (id)documentForWindow:(NSWindow *)window |
| To | - (__kindof NSDocument * _Nullable)documentForWindow:(NSWindow * _Nonnull)window |
Modified NSDocumentController.documents
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *documents |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSDocument *> *documents |
| Declaration | |
|---|---|
| From | - (NSDocument *)duplicateDocumentWithContentsOfURL:(NSURL *)url copying:(BOOL)duplicateByCopying displayName:(NSString *)displayNameOrNil error:(NSError **)outError |
| To | - (__kindof NSDocument * _Nullable)duplicateDocumentWithContentsOfURL:(NSURL * _Nonnull)url copying:(BOOL)duplicateByCopying displayName:(NSString * _Nullable)displayNameOrNil error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (NSArray *)fileExtensionsFromType:(NSString *)typeName |
| To | - (NSArray * _Nullable)fileExtensionsFromType:(NSString * _Nonnull)typeName |
| Declaration | |
|---|---|
| From | - (NSArray *)fileNamesFromRunningOpenPanel |
| To | - (NSArray * _Nullable)fileNamesFromRunningOpenPanel |
Modified -[NSDocumentController init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (id)makeDocumentForURL:(NSURL *)urlOrNil withContentsOfURL:(NSURL *)contentsURL ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (__kindof NSDocument * _Nullable)makeDocumentForURL:(NSURL * _Nullable)urlOrNil withContentsOfURL:(NSURL * _Nonnull)contentsURL ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (id)makeDocumentWithContentsOfFile:(NSString *)fileName ofType:(NSString *)type |
| To | - (id _Nullable)makeDocumentWithContentsOfFile:(NSString * _Nonnull)fileName ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (id)makeDocumentWithContentsOfURL:(NSURL *)url ofType:(NSString *)type |
| To | - (id _Nullable)makeDocumentWithContentsOfURL:(NSURL * _Nonnull)url ofType:(NSString * _Null_unspecified)type |
| Declaration | |
|---|---|
| From | - (id)makeDocumentWithContentsOfURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError |
| To | - (__kindof NSDocument * _Nullable)makeDocumentWithContentsOfURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (id)makeUntitledDocumentOfType:(NSString *)type |
| To | - (id _Nullable)makeUntitledDocumentOfType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (id)makeUntitledDocumentOfType:(NSString *)typeName error:(NSError **)outError |
| To | - (__kindof NSDocument * _Nullable)makeUntitledDocumentOfType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSDocumentController newDocument:]
| Declaration | |
|---|---|
| From | - (IBAction)newDocument:(id)sender |
| To | - (IBAction)newDocument:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)noteNewRecentDocument:(NSDocument *)document |
| To | - (void)noteNewRecentDocument:(NSDocument * _Nonnull)document |
| Declaration | |
|---|---|
| From | - (void)noteNewRecentDocumentURL:(NSURL *)url |
| To | - (void)noteNewRecentDocumentURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (IBAction)openDocument:(id)sender |
| To | - (IBAction)openDocument:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (id)openDocumentWithContentsOfFile:(NSString *)fileName display:(BOOL)display |
| To | - (id _Nullable)openDocumentWithContentsOfFile:(NSString * _Nonnull)fileName display:(BOOL)display |
| Declaration | |
|---|---|
| From | - (id)openDocumentWithContentsOfURL:(NSURL *)url display:(BOOL)display |
| To | - (id _Nullable)openDocumentWithContentsOfURL:(NSURL * _Nonnull)url display:(BOOL)display |
| Declaration | |
|---|---|
| From | - (void)openDocumentWithContentsOfURL:(NSURL *)url display:(BOOL)displayDocument completionHandler:(void (^)(NSDocument *document, BOOL documentWasAlreadyOpen, NSError *error))completionHandler |
| To | - (void)openDocumentWithContentsOfURL:(NSURL * _Nonnull)url display:(BOOL)displayDocument completionHandler:(void (^ _Nonnull)(NSDocument * _Nullable document, BOOL documentWasAlreadyOpen, NSError * _Nullable error))completionHandler |
| Declaration | |
|---|---|
| From | - (id)openDocumentWithContentsOfURL:(NSURL *)url display:(BOOL)displayDocument error:(NSError **)outError |
| To | - (id _Nullable)openDocumentWithContentsOfURL:(NSURL * _Nonnull)url display:(BOOL)displayDocument error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (id)openUntitledDocumentAndDisplay:(BOOL)displayDocument error:(NSError **)outError |
| To | - (__kindof NSDocument * _Nullable)openUntitledDocumentAndDisplay:(BOOL)displayDocument error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (id)openUntitledDocumentOfType:(NSString *)type display:(BOOL)display |
| To | - (id _Nullable)openUntitledDocumentOfType:(NSString * _Nonnull)type display:(BOOL)display |
| Declaration | |
|---|---|
| From | - (BOOL)presentError:(NSError *)error |
| To | - (BOOL)presentError:(NSError * _Nonnull)error |
Modified -[NSDocumentController presentError:modalForWindow:delegate:didPresentSelector:contextInfo:]
| Declaration | |
|---|---|
| From | - (void)presentError:(NSError *)error modalForWindow:(NSWindow *)window delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void *)contextInfo |
| To | - (void)presentError:(NSError * _Nonnull)error modalForWindow:(NSWindow * _Nonnull)window delegate:(id _Nullable)delegate didPresentSelector:(SEL _Nullable)didPresentSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *recentDocumentURLs |
| To | @property(readonly, copy, nonnull) NSArray<NSURL *> *recentDocumentURLs |
| Declaration | |
|---|---|
| From | - (void)removeDocument:(NSDocument *)document |
| To | - (void)removeDocument:(NSDocument * _Nonnull)document |
| Declaration | |
|---|---|
| From | - (void)reopenDocumentForURL:(NSURL *)urlOrNil withContentsOfURL:(NSURL *)contentsURL display:(BOOL)displayDocument completionHandler:(void (^)(NSDocument *document, BOOL documentWasAlreadyOpen, NSError *error))completionHandler |
| To | - (void)reopenDocumentForURL:(NSURL * _Nullable)urlOrNil withContentsOfURL:(NSURL * _Nonnull)contentsURL display:(BOOL)displayDocument completionHandler:(void (^ _Nonnull)(NSDocument * _Nullable document, BOOL documentWasAlreadyOpen, NSError * _Nullable error))completionHandler |
| Declaration | |
|---|---|
| From | - (BOOL)reopenDocumentForURL:(NSURL *)url withContentsOfURL:(NSURL *)contentsURL error:(NSError **)outError |
| To | - (BOOL)reopenDocumentForURL:(NSURL * _Nullable)url withContentsOfURL:(NSURL * _Nonnull)contentsURL error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (void)reviewUnsavedDocumentsWithAlertTitle:(NSString *)title cancellable:(BOOL)cancellable delegate:(id)delegate didReviewAllSelector:(SEL)didReviewAllSelector contextInfo:(void *)contextInfo |
| To | - (void)reviewUnsavedDocumentsWithAlertTitle:(NSString * _Nullable)title cancellable:(BOOL)cancellable delegate:(id _Nullable)delegate didReviewAllSelector:(SEL _Nullable)didReviewAllSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (NSInteger)runModalOpenPanel:(NSOpenPanel *)openPanel forTypes:(NSArray *)types |
| To | - (NSInteger)runModalOpenPanel:(NSOpenPanel * _Nonnull)openPanel forTypes:(NSArray<NSString *> * _Nullable)types |
| Declaration | |
|---|---|
| From | - (IBAction)saveAllDocuments:(id)sender |
| To | - (IBAction)saveAllDocuments:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | + (id)sharedDocumentController |
| To | + (__kindof NSDocumentController * _Nonnull)sharedDocumentController |
| Declaration | |
|---|---|
| From | - (NSString *)typeForContentsOfURL:(NSURL *)url error:(NSError **)outError |
| To | - (NSString * _Nullable)typeForContentsOfURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (NSString *)typeFromFileExtension:(NSString *)fileNameExtensionOrHFSFileType |
| To | - (NSString * _Nullable)typeFromFileExtension:(NSString * _Nonnull)fileNameExtensionOrHFSFileType |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *URLsFromRunningOpenPanel |
| To | - (NSArray<NSURL *> * _Nullable)URLsFromRunningOpenPanel |
| Declaration | |
|---|---|
| From | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)anItem |
| To | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem> _Nonnull)anItem |
| Declaration | |
|---|---|
| From | - (NSError *)willPresentError:(NSError *)error |
| To | - (NSError * _Nonnull)willPresentError:(NSError * _Nonnull)error |
NSDocumentScripting.h
| Declaration | |
|---|---|
| From | - (id)handleCloseScriptCommand:(NSCloseCommand *)command |
| To | - (id _Nullable)handleCloseScriptCommand:(NSCloseCommand * _Nonnull)command |
| Declaration | |
|---|---|
| From | - (id)handlePrintScriptCommand:(NSScriptCommand *)command |
| To | - (id _Nullable)handlePrintScriptCommand:(NSScriptCommand * _Nonnull)command |
| Declaration | |
|---|---|
| From | - (id)handleSaveScriptCommand:(NSScriptCommand *)command |
| To | - (id _Nullable)handleSaveScriptCommand:(NSScriptCommand * _Nonnull)command |
Modified NSDocument.lastComponentOfFileName
| Declaration | |
|---|---|
| From | @property(copy) NSString *lastComponentOfFileName |
| To | @property(copy, nonnull) NSString *lastComponentOfFileName |
Modified NSDocument.objectSpecifier
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSScriptObjectSpecifier *objectSpecifier |
| To | @property(readonly, strong, nonnull) NSScriptObjectSpecifier *objectSpecifier |
NSDragging.h
Added NSSpringLoadingDisabled
Added NSSpringLoadingEnabled
Added NSSpringLoadingHighlight
Added NSSpringLoadingNoHover
Added NSSpringLoadingOptions
| Declaration | |
|---|---|
| From | - (void)concludeDragOperation:(id<NSDraggingInfo>)sender |
| To | - (void)concludeDragOperation:(id<NSDraggingInfo> _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)draggingEnded:(id<NSDraggingInfo>)sender |
| To | - (void)draggingEnded:(id<NSDraggingInfo> _Nullable)sender |
| Declaration | |
|---|---|
| From | - (NSDragOperation)draggingEntered:(id<NSDraggingInfo>)sender |
| To | - (NSDragOperation)draggingEntered:(id<NSDraggingInfo> _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)draggingExited:(id<NSDraggingInfo>)sender |
| To | - (void)draggingExited:(id<NSDraggingInfo> _Nullable)sender |
| Declaration | |
|---|---|
| From | - (NSDragOperation)draggingUpdated:(id<NSDraggingInfo>)sender |
| To | - (NSDragOperation)draggingUpdated:(id<NSDraggingInfo> _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender |
| To | - (BOOL)performDragOperation:(id<NSDraggingInfo> _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (BOOL)prepareForDragOperation:(id<NSDraggingInfo>)sender |
| To | - (BOOL)prepareForDragOperation:(id<NSDraggingInfo> _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)updateDraggingItemsForDrag:(id<NSDraggingInfo>)sender |
| To | - (void)updateDraggingItemsForDrag:(id<NSDraggingInfo> _Nullable)sender |
Modified -[NSDraggingInfo draggedImage]
| Declaration | |
|---|---|
| From | - (NSImage *)draggedImage |
| To | - (NSImage * _Nullable)draggedImage |
| Declaration | |
|---|---|
| From | - (NSWindow *)draggingDestinationWindow |
| To | - (NSWindow * _Nullable)draggingDestinationWindow |
Modified -[NSDraggingInfo draggingPasteboard]
| Declaration | |
|---|---|
| From | - (NSPasteboard *)draggingPasteboard |
| To | - (NSPasteboard * _Nonnull)draggingPasteboard |
Modified -[NSDraggingInfo draggingSource]
| Declaration | |
|---|---|
| From | - (id)draggingSource |
| To | - (id _Nullable)draggingSource |
Modified -[NSDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]
| Declaration | |
|---|---|
| From | - (void)enumerateDraggingItemsWithOptions:(NSDraggingItemEnumerationOptions)enumOpts forView:(NSView *)view classes:(NSArray *)classArray searchOptions:(NSDictionary *)searchOptions usingBlock:(void (^)(NSDraggingItem *draggingItem, NSInteger idx, BOOL *stop))block |
| To | - (void)enumerateDraggingItemsWithOptions:(NSDraggingItemEnumerationOptions)enumOpts forView:(NSView * _Nonnull)view classes:(NSArray<Class> * _Nonnull)classArray searchOptions:(NSDictionary<NSString *,id> * _Nonnull)searchOptions usingBlock:(void (^ _Nonnull)(NSDraggingItem * _Nonnull draggingItem, NSInteger idx, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (NSArray *)namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination |
| To | - (NSArray<NSString *> * _Nullable)namesOfPromisedFilesDroppedAtDestination:(NSURL * _Nonnull)dropDestination |
| Declaration | |
|---|---|
| From | - (void)draggingSession:(NSDraggingSession *)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation |
| To | - (void)draggingSession:(NSDraggingSession * _Nonnull)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation |
| Declaration | |
|---|---|
| From | - (void)draggingSession:(NSDraggingSession *)session movedToPoint:(NSPoint)screenPoint |
| To | - (void)draggingSession:(NSDraggingSession * _Nonnull)session movedToPoint:(NSPoint)screenPoint |
| Declaration | |
|---|---|
| From | - (NSDragOperation)draggingSession:(NSDraggingSession *)session sourceOperationMaskForDraggingContext:(NSDraggingContext)context |
| To | - (NSDragOperation)draggingSession:(NSDraggingSession * _Nonnull)session sourceOperationMaskForDraggingContext:(NSDraggingContext)context |
| Declaration | |
|---|---|
| From | - (void)draggingSession:(NSDraggingSession *)session willBeginAtPoint:(NSPoint)screenPoint |
| To | - (void)draggingSession:(NSDraggingSession * _Nonnull)session willBeginAtPoint:(NSPoint)screenPoint |
| Declaration | |
|---|---|
| From | - (BOOL)ignoreModifierKeysForDraggingSession:(NSDraggingSession *)session |
| To | - (BOOL)ignoreModifierKeysForDraggingSession:(NSDraggingSession * _Nonnull)session |
Modified -[NSObject draggedImage:beganAt:]
| Declaration | |
|---|---|
| From | - (void)draggedImage:(NSImage *)image beganAt:(NSPoint)screenPoint |
| To | - (void)draggedImage:(NSImage * _Null_unspecified)image beganAt:(NSPoint)screenPoint |
| Declaration | |
|---|---|
| From | - (void)draggedImage:(NSImage *)image endedAt:(NSPoint)screenPoint deposited:(BOOL)flag |
| To | - (void)draggedImage:(NSImage * _Null_unspecified)image endedAt:(NSPoint)screenPoint deposited:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (void)draggedImage:(NSImage *)image endedAt:(NSPoint)screenPoint operation:(NSDragOperation)operation |
| To | - (void)draggedImage:(NSImage * _Null_unspecified)image endedAt:(NSPoint)screenPoint operation:(NSDragOperation)operation |
Modified -[NSObject draggedImage:movedTo:]
| Declaration | |
|---|---|
| From | - (void)draggedImage:(NSImage *)image movedTo:(NSPoint)screenPoint |
| To | - (void)draggedImage:(NSImage * _Null_unspecified)image movedTo:(NSPoint)screenPoint |
| Declaration | |
|---|---|
| From | - (NSArray *)namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination |
| To | - (NSArray<NSString *> * _Nullable)namesOfPromisedFilesDroppedAtDestination:(NSURL * _Nonnull)dropDestination |
NSDraggingItem.h
Modified NSDraggingImageComponent.contents
| Declaration | |
|---|---|
| From | @property(strong) id contents |
| To | @property(strong, nullable) id contents |
| Declaration | |
|---|---|
| From | + (NSDraggingImageComponent *)draggingImageComponentWithKey:(NSString *)key |
| To | + (NSDraggingImageComponent * _Nonnull)draggingImageComponentWithKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKey:(NSString *)key |
| To | - (instancetype _Nonnull)initWithKey:(NSString * _Nonnull)key |
Modified NSDraggingImageComponent.key
| Declaration | |
|---|---|
| From | @property(copy) NSString *key |
| To | @property(copy, nonnull) NSString *key |
Modified NSDraggingItem.imageComponents
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *imageComponents |
| To | @property(readonly, copy, nullable) NSArray<NSDraggingImageComponent *> *imageComponents |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *(^imageComponentsProvider)(void) |
| To | @property(copy, nonnull) NSArray<NSDraggingImageComponent *> * (^ _Nullable)(void) imageComponentsProvider |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPasteboardWriter:(id<NSPasteboardWriting>)pasteboardWriter |
| To | - (instancetype _Nonnull)initWithPasteboardWriter:(id<NSPasteboardWriting> _Nonnull)pasteboardWriter |
Modified NSDraggingItem.item
| Declaration | |
|---|---|
| From | @property(readonly, strong) id item |
| To | @property(readonly, strong, nonnull) id item |
| Declaration | |
|---|---|
| From | - (void)setDraggingFrame:(NSRect)frame contents:(id)contents |
| To | - (void)setDraggingFrame:(NSRect)frame contents:(id _Nonnull)contents |
NSDraggingSession.h
Modified NSDraggingSession.draggingPasteboard
| Declaration | |
|---|---|
| From | @property(readonly) NSPasteboard *draggingPasteboard |
| To | @property(readonly, nonnull) NSPasteboard *draggingPasteboard |
Modified -[NSDraggingSession enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]
| Declaration | |
|---|---|
| From | - (void)enumerateDraggingItemsWithOptions:(NSDraggingItemEnumerationOptions)enumOpts forView:(NSView *)view classes:(NSArray *)classArray searchOptions:(NSDictionary *)searchOptions usingBlock:(void (^)(NSDraggingItem *draggingItem, NSInteger idx, BOOL *stop))block |
| To | - (void)enumerateDraggingItemsWithOptions:(NSDraggingItemEnumerationOptions)enumOpts forView:(NSView * _Nullable)view classes:(NSArray<Class> * _Nonnull)classArray searchOptions:(NSDictionary<NSString *,id> * _Nonnull)searchOptions usingBlock:(void (^ _Nonnull)(NSDraggingItem * _Nonnull draggingItem, NSInteger idx, BOOL * _Nonnull stop))block |
NSDrawer.h
Modified -[NSDrawer close:]
| Declaration | |
|---|---|
| From | - (void)close:(id)sender |
| To | - (void)close:(id _Nullable)sender |
Modified NSDrawer.contentView
| Declaration | |
|---|---|
| From | @property(strong) NSView *contentView |
| To | @property(strong, nullable) NSView *contentView |
Modified NSDrawer.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSDrawerDelegate> delegate |
| To | @property(assign, nullable) id<NSDrawerDelegate> delegate |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentSize:(NSSize)contentSize preferredEdge:(NSRectEdge)edge |
| To | - (instancetype _Nonnull)initWithContentSize:(NSSize)contentSize preferredEdge:(NSRectEdge)edge |
Modified -[NSDrawer open:]
| Declaration | |
|---|---|
| From | - (void)open:(id)sender |
| To | - (void)open:(id _Nullable)sender |
Modified NSDrawer.parentWindow
| Declaration | |
|---|---|
| From | @property(assign) NSWindow *parentWindow |
| To | @property(assign, nullable) NSWindow *parentWindow |
Modified -[NSDrawer toggle:]
| Declaration | |
|---|---|
| From | - (void)toggle:(id)sender |
| To | - (void)toggle:(id _Nullable)sender |
Modified -[NSDrawerDelegate drawerDidClose:]
| Declaration | |
|---|---|
| From | - (void)drawerDidClose:(NSNotification *)notification |
| To | - (void)drawerDidClose:(NSNotification * _Nonnull)notification |
Modified -[NSDrawerDelegate drawerDidOpen:]
| Declaration | |
|---|---|
| From | - (void)drawerDidOpen:(NSNotification *)notification |
| To | - (void)drawerDidOpen:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)drawerShouldClose:(NSDrawer *)sender |
| To | - (BOOL)drawerShouldClose:(NSDrawer * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (BOOL)drawerShouldOpen:(NSDrawer *)sender |
| To | - (BOOL)drawerShouldOpen:(NSDrawer * _Nonnull)sender |
Modified -[NSDrawerDelegate drawerWillClose:]
| Declaration | |
|---|---|
| From | - (void)drawerWillClose:(NSNotification *)notification |
| To | - (void)drawerWillClose:(NSNotification * _Nonnull)notification |
Modified -[NSDrawerDelegate drawerWillOpen:]
| Declaration | |
|---|---|
| From | - (void)drawerWillOpen:(NSNotification *)notification |
| To | - (void)drawerWillOpen:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (NSSize)drawerWillResizeContents:(NSDrawer *)sender toSize:(NSSize)contentSize |
| To | - (NSSize)drawerWillResizeContents:(NSDrawer * _Nonnull)sender toSize:(NSSize)contentSize |
Modified NSWindow.drawers
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *drawers |
| To | @property(readonly, copy, nullable) NSArray<NSDrawer *> *drawers |
NSEPSImageRep.h
Modified NSEPSImageRep.EPSRepresentation
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *EPSRepresentation |
| To | @property(readonly, copy, nonnull) NSData *EPSRepresentation |
Modified +[NSEPSImageRep imageRepWithData:]
| Declaration | |
|---|---|
| From | + (instancetype)imageRepWithData:(NSData *)epsData |
| To | + (instancetype _Nullable)imageRepWithData:(NSData * _Nonnull)epsData |
Modified -[NSEPSImageRep initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)epsData |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)epsData |
NSErrors.h
NSEvent.h
Added NSEvent.pressureBehavior
Added NSPressureBehavior
| Declaration | |
|---|---|
| From | + (id)addGlobalMonitorForEventsMatchingMask:(NSEventMask)mask handler:(void (^)(NSEvent *))block |
| To | + (id _Nullable)addGlobalMonitorForEventsMatchingMask:(NSEventMask)mask handler:(void (^ _Nonnull)(NSEvent * _Nonnull))block |
| Declaration | |
|---|---|
| From | + (id)addLocalMonitorForEventsMatchingMask:(NSEventMask)mask handler:(NSEvent *(^)(NSEvent *))block |
| To | + (id _Nullable)addLocalMonitorForEventsMatchingMask:(NSEventMask)mask handler:(NSEvent * _Nullable (^ _Nonnull)(NSEvent * _Nonnull))block |
Modified NSEvent.CGEvent
| Declaration | |
|---|---|
| From | @property(readonly) CGEventRef CGEvent |
| To | @property(readonly, nullable) CGEventRef CGEvent |
Modified NSEvent.characters
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *characters |
| To | @property(readonly, copy, nullable) NSString *characters |
Modified NSEvent.charactersIgnoringModifiers
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *charactersIgnoringModifiers |
| To | @property(readonly, copy, nullable) NSString *charactersIgnoringModifiers |
Modified NSEvent.context
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSGraphicsContext *context |
| To | @property(readonly, strong, nullable) NSGraphicsContext *context |
| Declaration | |
|---|---|
| From | + (NSEvent *)enterExitEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)context eventNumber:(NSInteger)eNum trackingNumber:(NSInteger)tNum userData:(void *)data |
| To | + (NSEvent * _Nullable)enterExitEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext * _Nullable)context eventNumber:(NSInteger)eNum trackingNumber:(NSInteger)tNum userData:(void * _Nullable)data |
Modified NSEvent.eventRef
| Declaration | |
|---|---|
| From | @property(readonly) const void *eventRef |
| To | @property(readonly, nullable) const void *eventRef |
Modified +[NSEvent eventWithCGEvent:]
| Declaration | |
|---|---|
| From | + (NSEvent *)eventWithCGEvent:(CGEventRef)cgEvent |
| To | + (NSEvent * _Nullable)eventWithCGEvent:(CGEventRef _Nonnull)cgEvent |
Modified +[NSEvent eventWithEventRef:]
| Declaration | |
|---|---|
| From | + (NSEvent *)eventWithEventRef:(const void *)eventRef |
| To | + (NSEvent * _Nullable)eventWithEventRef:(const void * _Nonnull)eventRef |
| Declaration | |
|---|---|
| From | + (NSEvent *)keyEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)context characters:(NSString *)keys charactersIgnoringModifiers:(NSString *)ukeys isARepeat:(BOOL)flag keyCode:(unsigned short)code |
| To | + (NSEvent * _Nullable)keyEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext * _Nullable)context characters:(NSString * _Nonnull)keys charactersIgnoringModifiers:(NSString * _Nonnull)ukeys isARepeat:(BOOL)flag keyCode:(unsigned short)code |
| Declaration | |
|---|---|
| From | + (NSEvent *)mouseEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)context eventNumber:(NSInteger)eNum clickCount:(NSInteger)cNum pressure:(float)pressure |
| To | + (NSEvent * _Nullable)mouseEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext * _Nullable)context eventNumber:(NSInteger)eNum clickCount:(NSInteger)cNum pressure:(float)pressure |
| Declaration | |
|---|---|
| From | + (NSEvent *)otherEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)context subtype:(short)subtype data1:(NSInteger)d1 data2:(NSInteger)d2 |
| To | + (NSEvent * _Nullable)otherEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext * _Nullable)context subtype:(short)subtype data1:(NSInteger)d1 data2:(NSInteger)d2 |
Modified +[NSEvent removeMonitor:]
| Declaration | |
|---|---|
| From | + (void)removeMonitor:(id)eventMonitor |
| To | + (void)removeMonitor:(id _Nonnull)eventMonitor |
| Declaration | |
|---|---|
| From | - (NSSet *)touchesMatchingPhase:(NSTouchPhase)phase inView:(NSView *)view |
| To | - (NSSet<NSTouch *> * _Nonnull)touchesMatchingPhase:(NSTouchPhase)phase inView:(NSView * _Nullable)view |
Modified NSEvent.trackingArea
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSTrackingArea *trackingArea |
| To | @property(readonly, strong, nullable) NSTrackingArea *trackingArea |
| Declaration | |
|---|---|
| From | - (void)trackSwipeEventWithOptions:(NSEventSwipeTrackingOptions)options dampenAmountThresholdMin:(CGFloat)minDampenThreshold max:(CGFloat)maxDampenThreshold usingHandler:(void (^)(CGFloat gestureAmount, NSEventPhase phase, BOOL isComplete, BOOL *stop))trackingHandler |
| To | - (void)trackSwipeEventWithOptions:(NSEventSwipeTrackingOptions)options dampenAmountThresholdMin:(CGFloat)minDampenThreshold max:(CGFloat)maxDampenThreshold usingHandler:(void (^ _Nonnull)(CGFloat gestureAmount, NSEventPhase phase, BOOL isComplete, BOOL * _Nonnull stop))trackingHandler |
Modified NSEvent.userData
| Declaration | |
|---|---|
| From | @property(readonly) void *userData |
| To | @property(readonly, nullable) void *userData |
Modified NSEvent.vendorDefined
| Declaration | |
|---|---|
| From | @property(readonly, strong) id vendorDefined |
| To | @property(readonly, strong, nonnull) id vendorDefined |
Modified NSEvent.window
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSWindow *window |
| To | @property(readonly, assign, nullable) NSWindow *window |
NSFileWrapperExtensions.h
Modified NSFileWrapper.icon
| Declaration | |
|---|---|
| From | @property(strong) NSImage *icon |
| To | @property(strong, nullable) NSImage *icon |
NSFont.h
Modified -[NSFont afmDictionary]
| Declaration | |
|---|---|
| From | - (NSDictionary *)afmDictionary |
| To | - (NSDictionary * _Null_unspecified)afmDictionary |
Modified +[NSFont boldSystemFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)boldSystemFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)boldSystemFontOfSize:(CGFloat)fontSize |
Modified +[NSFont controlContentFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)controlContentFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)controlContentFontOfSize:(CGFloat)fontSize |
Modified NSFont.coveredCharacterSet
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSCharacterSet *coveredCharacterSet |
| To | @property(readonly, strong, nonnull) NSCharacterSet *coveredCharacterSet |
Modified NSFont.displayName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *displayName |
| To | @property(readonly, copy, nullable) NSString *displayName |
Modified -[NSFont encodingScheme]
| Declaration | |
|---|---|
| From | - (NSString *)encodingScheme |
| To | - (NSString * _Null_unspecified)encodingScheme |
Modified NSFont.familyName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *familyName |
| To | @property(readonly, copy, nullable) NSString *familyName |
Modified NSFont.fontDescriptor
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSFontDescriptor *fontDescriptor |
| To | @property(readonly, strong, nonnull) NSFontDescriptor *fontDescriptor |
Modified NSFont.fontName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *fontName |
| To | @property(readonly, copy, nonnull) NSString *fontName |
Modified +[NSFont fontWithDescriptor:size:]
| Declaration | |
|---|---|
| From | + (NSFont *)fontWithDescriptor:(NSFontDescriptor *)fontDescriptor size:(CGFloat)fontSize |
| To | + (NSFont * _Nullable)fontWithDescriptor:(NSFontDescriptor * _Nonnull)fontDescriptor size:(CGFloat)fontSize |
| Declaration | |
|---|---|
| From | + (NSFont *)fontWithDescriptor:(NSFontDescriptor *)fontDescriptor textTransform:(NSAffineTransform *)textTransform |
| To | + (NSFont * _Nullable)fontWithDescriptor:(NSFontDescriptor * _Nonnull)fontDescriptor textTransform:(NSAffineTransform * _Nullable)textTransform |
Modified +[NSFont fontWithName:matrix:]
| Declaration | |
|---|---|
| From | + (NSFont *)fontWithName:(NSString *)fontName matrix:(const CGFloat *)fontMatrix |
| To | + (NSFont * _Nullable)fontWithName:(NSString * _Nonnull)fontName matrix:(const CGFloat * _Nonnull)fontMatrix |
Modified +[NSFont fontWithName:size:]
| Declaration | |
|---|---|
| From | + (NSFont *)fontWithName:(NSString *)fontName size:(CGFloat)fontSize |
| To | + (NSFont * _Nullable)fontWithName:(NSString * _Nonnull)fontName size:(CGFloat)fontSize |
| Declaration | |
|---|---|
| From | - (void)getAdvancements:(NSSizeArray)advancements forGlyphs:(const NSGlyph *)glyphs count:(NSUInteger)glyphCount |
| To | - (void)getAdvancements:(NSSizeArray _Nonnull)advancements forGlyphs:(const NSGlyph * _Nonnull)glyphs count:(NSUInteger)glyphCount |
| Declaration | |
|---|---|
| From | - (void)getAdvancements:(NSSizeArray)advancements forPackedGlyphs:(const void *)packedGlyphs length:(NSUInteger)length |
| To | - (void)getAdvancements:(NSSizeArray _Nonnull)advancements forPackedGlyphs:(const void * _Nonnull)packedGlyphs length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | - (void)getBoundingRects:(NSRectArray)bounds forGlyphs:(const NSGlyph *)glyphs count:(NSUInteger)glyphCount |
| To | - (void)getBoundingRects:(NSRectArray _Nonnull)bounds forGlyphs:(const NSGlyph * _Nonnull)glyphs count:(NSUInteger)glyphCount |
Modified -[NSFont glyphWithName:]
| Declaration | |
|---|---|
| From | - (NSGlyph)glyphWithName:(NSString *)aName |
| To | - (NSGlyph)glyphWithName:(NSString * _Nonnull)aName |
Modified +[NSFont labelFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)labelFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)labelFontOfSize:(CGFloat)fontSize |
Modified NSFont.matrix
| Declaration | |
|---|---|
| From | @property(readonly) const CGFloat *matrix |
| To | @property(readonly, nonnull) const CGFloat *matrix |
Modified +[NSFont menuBarFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)menuBarFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)menuBarFontOfSize:(CGFloat)fontSize |
Modified +[NSFont menuFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)menuFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)menuFontOfSize:(CGFloat)fontSize |
Modified +[NSFont messageFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)messageFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)messageFontOfSize:(CGFloat)fontSize |
Modified +[NSFont paletteFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)paletteFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)paletteFontOfSize:(CGFloat)fontSize |
Modified -[NSFont positionOfGlyph:precededByGlyph:isNominal:]
| Declaration | |
|---|---|
| From | - (NSPoint)positionOfGlyph:(NSGlyph)curGlyph precededByGlyph:(NSGlyph)prevGlyph isNominal:(BOOL *)nominal |
| To | - (NSPoint)positionOfGlyph:(NSGlyph)curGlyph precededByGlyph:(NSGlyph)prevGlyph isNominal:(BOOL * _Null_unspecified)nominal |
Modified -[NSFont positionOfGlyph:struckOverGlyph:metricsExist:]
| Declaration | |
|---|---|
| From | - (NSPoint)positionOfGlyph:(NSGlyph)curGlyph struckOverGlyph:(NSGlyph)prevGlyph metricsExist:(BOOL *)exist |
| To | - (NSPoint)positionOfGlyph:(NSGlyph)curGlyph struckOverGlyph:(NSGlyph)prevGlyph metricsExist:(BOOL * _Null_unspecified)exist |
Modified -[NSFont positionOfGlyph:struckOverRect:metricsExist:]
| Declaration | |
|---|---|
| From | - (NSPoint)positionOfGlyph:(NSGlyph)aGlyph struckOverRect:(NSRect)aRect metricsExist:(BOOL *)exist |
| To | - (NSPoint)positionOfGlyph:(NSGlyph)aGlyph struckOverRect:(NSRect)aRect metricsExist:(BOOL * _Null_unspecified)exist |
Modified -[NSFont positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:]
| Declaration | |
|---|---|
| From | - (NSPoint)positionOfGlyph:(NSGlyph)thisGlyph withRelation:(NSGlyphRelation)rel toBaseGlyph:(NSGlyph)baseGlyph totalAdvancement:(NSSizePointer)adv metricsExist:(BOOL *)exist |
| To | - (NSPoint)positionOfGlyph:(NSGlyph)thisGlyph withRelation:(NSGlyphRelation)rel toBaseGlyph:(NSGlyph)baseGlyph totalAdvancement:(NSSizePointer _Nonnull)adv metricsExist:(BOOL * _Null_unspecified)exist |
Modified -[NSFont positionsForCompositeSequence:numberOfGlyphs:pointArray:]
| Declaration | |
|---|---|
| From | - (NSInteger)positionsForCompositeSequence:(NSGlyph *)someGlyphs numberOfGlyphs:(NSInteger)numGlyphs pointArray:(NSPointArray)points |
| To | - (NSInteger)positionsForCompositeSequence:(NSGlyph * _Null_unspecified)someGlyphs numberOfGlyphs:(NSInteger)numGlyphs pointArray:(NSPointArray _Nonnull)points |
Modified +[NSFont preferredFontNames]
| Declaration | |
|---|---|
| From | + (NSArray *)preferredFontNames |
| To | + (NSArray * _Null_unspecified)preferredFontNames |
Modified NSFont.printerFont
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSFont *printerFont |
| To | @property(readonly, copy, nonnull) NSFont *printerFont |
Modified NSFont.screenFont
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSFont *screenFont |
| To | @property(readonly, copy, nonnull) NSFont *screenFont |
| Declaration | |
|---|---|
| From | - (NSFont *)screenFontWithRenderingMode:(NSFontRenderingMode)renderingMode |
| To | - (NSFont * _Nonnull)screenFontWithRenderingMode:(NSFontRenderingMode)renderingMode |
Modified -[NSFont setInContext:]
| Declaration | |
|---|---|
| From | - (void)setInContext:(NSGraphicsContext *)graphicsContext |
| To | - (void)setInContext:(NSGraphicsContext * _Nonnull)graphicsContext |
Modified +[NSFont setPreferredFontNames:]
| Declaration | |
|---|---|
| From | + (void)setPreferredFontNames:(NSArray *)fontNameArray |
| To | + (void)setPreferredFontNames:(NSArray * _Null_unspecified)fontNameArray |
Modified +[NSFont setUserFixedPitchFont:]
| Declaration | |
|---|---|
| From | + (void)setUserFixedPitchFont:(NSFont *)aFont |
| To | + (void)setUserFixedPitchFont:(NSFont * _Nullable)aFont |
Modified +[NSFont setUserFont:]
| Declaration | |
|---|---|
| From | + (void)setUserFont:(NSFont *)aFont |
| To | + (void)setUserFont:(NSFont * _Nullable)aFont |
Modified +[NSFont systemFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)systemFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)systemFontOfSize:(CGFloat)fontSize |
Modified NSFont.textTransform
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSAffineTransform *textTransform |
| To | @property(readonly, copy, nonnull) NSAffineTransform *textTransform |
Modified +[NSFont titleBarFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)titleBarFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)titleBarFontOfSize:(CGFloat)fontSize |
Modified +[NSFont toolTipsFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)toolTipsFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nonnull)toolTipsFontOfSize:(CGFloat)fontSize |
Modified +[NSFont useFont:]
| Declaration | |
|---|---|
| From | + (void)useFont:(NSString *)fontName |
| To | + (void)useFont:(NSString * _Null_unspecified)fontName |
Modified +[NSFont userFixedPitchFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)userFixedPitchFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nullable)userFixedPitchFontOfSize:(CGFloat)fontSize |
Modified +[NSFont userFontOfSize:]
| Declaration | |
|---|---|
| From | + (NSFont *)userFontOfSize:(CGFloat)fontSize |
| To | + (NSFont * _Nullable)userFontOfSize:(CGFloat)fontSize |
Modified NSFont.verticalFont
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSFont *verticalFont |
| To | @property(readonly, copy, nonnull) NSFont *verticalFont |
Modified -[NSFont widthOfString:]
| Declaration | |
|---|---|
| From | - (CGFloat)widthOfString:(NSString *)string |
| To | - (CGFloat)widthOfString:(NSString * _Null_unspecified)string |
Modified NSConvertGlyphsToPackedGlyphs()
| Declaration | |
|---|---|
| From | NSInteger NSConvertGlyphsToPackedGlyphs (
NSGlyph *glBuf,
NSInteger count,
NSMultibyteGlyphPacking packing,
char *packedGlyphs
);
|
| To | NSInteger NSConvertGlyphsToPackedGlyphs (
NSGlyph * _Nonnull glBuf,
NSInteger count,
NSMultibyteGlyphPacking packing,
char * _Nonnull packedGlyphs
);
|
NSFontCollection.h
| Declaration | |
|---|---|
| From | + (NSArray *)allFontCollectionNames |
| To | + (NSArray<NSString *> * _Nonnull)allFontCollectionNames |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *exclusionDescriptors |
| To | @property(readonly, copy, nullable) NSArray<NSFontDescriptor *> *exclusionDescriptors |
| Declaration | |
|---|---|
| From | + (NSFontCollection *)fontCollectionWithAllAvailableDescriptors |
| To | + (NSFontCollection * _Nonnull)fontCollectionWithAllAvailableDescriptors |
| Declaration | |
|---|---|
| From | + (NSFontCollection *)fontCollectionWithDescriptors:(NSArray *)queryDescriptors |
| To | + (NSFontCollection * _Nonnull)fontCollectionWithDescriptors:(NSArray<NSFontDescriptor *> * _Nonnull)queryDescriptors |
| Declaration | |
|---|---|
| From | + (NSFontCollection *)fontCollectionWithLocale:(NSLocale *)locale |
| To | + (NSFontCollection * _Nullable)fontCollectionWithLocale:(NSLocale * _Nonnull)locale |
| Declaration | |
|---|---|
| From | + (NSFontCollection *)fontCollectionWithName:(NSString *)name |
| To | + (NSFontCollection * _Nullable)fontCollectionWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (NSFontCollection *)fontCollectionWithName:(NSString *)name visibility:(NSFontCollectionVisibility)visibility |
| To | + (NSFontCollection * _Nullable)fontCollectionWithName:(NSString * _Nonnull)name visibility:(NSFontCollectionVisibility)visibility |
| Declaration | |
|---|---|
| From | + (BOOL)hideFontCollectionWithName:(NSString *)name visibility:(NSFontCollectionVisibility)visibility error:(NSError **)error |
| To | + (BOOL)hideFontCollectionWithName:(NSString * _Nonnull)name visibility:(NSFontCollectionVisibility)visibility error:(NSError * _Nullable * _Nullable)error |
Modified NSFontCollection.matchingDescriptors
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *matchingDescriptors |
| To | @property(readonly, copy, nullable) NSArray<NSFontDescriptor *> *matchingDescriptors |
| Declaration | |
|---|---|
| From | - (NSArray *)matchingDescriptorsForFamily:(NSString *)family |
| To | - (NSArray<NSFontDescriptor *> * _Nullable)matchingDescriptorsForFamily:(NSString * _Nonnull)family |
| Declaration | |
|---|---|
| From | - (NSArray *)matchingDescriptorsForFamily:(NSString *)family options:(NSDictionary *)options |
| To | - (NSArray<NSFontDescriptor *> * _Nullable)matchingDescriptorsForFamily:(NSString * _Nonnull)family options:(NSDictionary<NSString *,NSNumber *> * _Nullable)options |
| Declaration | |
|---|---|
| From | - (NSArray *)matchingDescriptorsWithOptions:(NSDictionary *)options |
| To | - (NSArray<NSFontDescriptor *> * _Nullable)matchingDescriptorsWithOptions:(NSDictionary<NSString *,NSNumber *> * _Nullable)options |
Modified NSFontCollection.queryDescriptors
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *queryDescriptors |
| To | @property(readonly, copy, nullable) NSArray<NSFontDescriptor *> *queryDescriptors |
| Declaration | |
|---|---|
| From | + (BOOL)renameFontCollectionWithName:(NSString *)name visibility:(NSFontCollectionVisibility)visibility toName:(NSString *)name error:(NSError **)error |
| To | + (BOOL)renameFontCollectionWithName:(NSString * _Nonnull)name visibility:(NSFontCollectionVisibility)visibility toName:(NSString * _Nonnull)name error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (BOOL)showFontCollection:(NSFontCollection *)collection withName:(NSString *)name visibility:(NSFontCollectionVisibility)visibility error:(NSError **)error |
| To | + (BOOL)showFontCollection:(NSFontCollection * _Nonnull)collection withName:(NSString * _Nonnull)name visibility:(NSFontCollectionVisibility)visibility error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)addQueryForDescriptors:(NSArray *)descriptors |
| To | - (void)addQueryForDescriptors:(NSArray<NSFontDescriptor *> * _Nonnull)descriptors |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *exclusionDescriptors |
| To | @property(copy, nullable) NSArray<NSFontDescriptor *> *exclusionDescriptors |
| Declaration | |
|---|---|
| From | + (NSMutableFontCollection *)fontCollectionWithAllAvailableDescriptors |
| To | + (NSMutableFontCollection * _Nonnull)fontCollectionWithAllAvailableDescriptors |
| Declaration | |
|---|---|
| From | + (NSMutableFontCollection *)fontCollectionWithDescriptors:(NSArray *)queryDescriptors |
| To | + (NSMutableFontCollection * _Nonnull)fontCollectionWithDescriptors:(NSArray<NSFontDescriptor *> * _Nonnull)queryDescriptors |
| Declaration | |
|---|---|
| From | + (NSMutableFontCollection *)fontCollectionWithLocale:(NSLocale *)locale |
| To | + (NSMutableFontCollection * _Nonnull)fontCollectionWithLocale:(NSLocale * _Nonnull)locale |
| Declaration | |
|---|---|
| From | + (NSMutableFontCollection *)fontCollectionWithName:(NSString *)name |
| To | + (NSMutableFontCollection * _Nullable)fontCollectionWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (NSMutableFontCollection *)fontCollectionWithName:(NSString *)name visibility:(NSFontCollectionVisibility)visibility |
| To | + (NSMutableFontCollection * _Nullable)fontCollectionWithName:(NSString * _Nonnull)name visibility:(NSFontCollectionVisibility)visibility |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *queryDescriptors |
| To | @property(copy, nullable) NSArray<NSFontDescriptor *> *queryDescriptors |
| Declaration | |
|---|---|
| From | - (void)removeQueryForDescriptors:(NSArray *)descriptors |
| To | - (void)removeQueryForDescriptors:(NSArray<NSFontDescriptor *> * _Nonnull)descriptors |
NSFontDescriptor.h
Added NSFontWeightBlack
Added NSFontWeightBold
Added NSFontWeightHeavy
Added NSFontWeightLight
Added NSFontWeightMedium
Added NSFontWeightRegular
Added NSFontWeightSemibold
Added NSFontWeightThin
Added NSFontWeightUltraLight
Modified NSFontDescriptor.fontAttributes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *fontAttributes |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *fontAttributes |
| Declaration | |
|---|---|
| From | - (NSFontDescriptor *)fontDescriptorByAddingAttributes:(NSDictionary *)attributes |
| To | - (NSFontDescriptor * _Nonnull)fontDescriptorByAddingAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes |
| Declaration | |
|---|---|
| From | - (NSFontDescriptor *)fontDescriptorWithFace:(NSString *)newFace |
| To | - (NSFontDescriptor * _Nonnull)fontDescriptorWithFace:(NSString * _Nonnull)newFace |
| Declaration | |
|---|---|
| From | - (NSFontDescriptor *)fontDescriptorWithFamily:(NSString *)newFamily |
| To | - (NSFontDescriptor * _Nonnull)fontDescriptorWithFamily:(NSString * _Nonnull)newFamily |
| Declaration | |
|---|---|
| From | + (NSFontDescriptor *)fontDescriptorWithFontAttributes:(NSDictionary *)attributes |
| To | + (NSFontDescriptor * _Nonnull)fontDescriptorWithFontAttributes:(NSDictionary<NSString *,id> * _Nullable)attributes |
| Declaration | |
|---|---|
| From | - (NSFontDescriptor *)fontDescriptorWithMatrix:(NSAffineTransform *)matrix |
| To | - (NSFontDescriptor * _Nonnull)fontDescriptorWithMatrix:(NSAffineTransform * _Nonnull)matrix |
| Declaration | |
|---|---|
| From | + (NSFontDescriptor *)fontDescriptorWithName:(NSString *)fontName matrix:(NSAffineTransform *)matrix |
| To | + (NSFontDescriptor * _Nonnull)fontDescriptorWithName:(NSString * _Nonnull)fontName matrix:(NSAffineTransform * _Nonnull)matrix |
| Declaration | |
|---|---|
| From | + (NSFontDescriptor *)fontDescriptorWithName:(NSString *)fontName size:(CGFloat)size |
| To | + (NSFontDescriptor * _Nonnull)fontDescriptorWithName:(NSString * _Nonnull)fontName size:(CGFloat)size |
| Declaration | |
|---|---|
| From | - (NSFontDescriptor *)fontDescriptorWithSize:(CGFloat)newPointSize |
| To | - (NSFontDescriptor * _Nonnull)fontDescriptorWithSize:(CGFloat)newPointSize |
| Declaration | |
|---|---|
| From | - (NSFontDescriptor *)fontDescriptorWithSymbolicTraits:(NSFontSymbolicTraits)symbolicTraits |
| To | - (NSFontDescriptor * _Nonnull)fontDescriptorWithSymbolicTraits:(NSFontSymbolicTraits)symbolicTraits |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFontAttributes:(NSDictionary *)attributes |
| To | - (instancetype _Nonnull)initWithFontAttributes:(NSDictionary<NSString *,id> * _Nullable)attributes |
| Declaration | |
|---|---|
| From | - (NSArray *)matchingFontDescriptorsWithMandatoryKeys:(NSSet *)mandatoryKeys |
| To | - (NSArray<NSFontDescriptor *> * _Nonnull)matchingFontDescriptorsWithMandatoryKeys:(NSSet<NSString *> * _Nullable)mandatoryKeys |
| Declaration | |
|---|---|
| From | - (NSFontDescriptor *)matchingFontDescriptorWithMandatoryKeys:(NSSet *)mandatoryKeys |
| To | - (NSFontDescriptor * _Nullable)matchingFontDescriptorWithMandatoryKeys:(NSSet<NSString *> * _Nullable)mandatoryKeys |
Modified NSFontDescriptor.matrix
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSAffineTransform *matrix |
| To | @property(readonly, copy, nullable) NSAffineTransform *matrix |
Modified -[NSFontDescriptor objectForKey:]
| Declaration | |
|---|---|
| From | - (id)objectForKey:(NSString *)anAttribute |
| To | - (id _Nullable)objectForKey:(NSString * _Nonnull)anAttribute |
Modified NSFontDescriptor.postscriptName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *postscriptName |
| To | @property(readonly, copy, nullable) NSString *postscriptName |
NSFontManager.h
Modified NSFontManager.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nonnull) SEL action |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (BOOL)addCollection:(NSString *)collectionName options:(NSFontCollectionOptions)collectionOptions | OS X 10.3 | -- |
| To | - (BOOL)addCollection:(NSString * _Nonnull)collectionName options:(NSFontCollectionOptions)collectionOptions | OS X 10.0 | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (void)addFontDescriptors:(NSArray *)descriptors toCollection:(NSString *)collectionName | OS X 10.3 | -- |
| To | - (void)addFontDescriptors:(NSArray * _Nonnull)descriptors toCollection:(NSString * _Nonnull)collectionName | OS X 10.0 | OS X 10.11 |
Modified -[NSFontManager addFontTrait:]
| Declaration | |
|---|---|
| From | - (void)addFontTrait:(id)sender |
| To | - (void)addFontTrait:(id _Nullable)sender |
Modified NSFontManager.availableFontFamilies
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *availableFontFamilies |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *availableFontFamilies |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (NSArray *)availableFontNamesMatchingFontDescriptor:(NSFontDescriptor *)descriptor | OS X 10.3 | -- |
| To | - (NSArray * _Nullable)availableFontNamesMatchingFontDescriptor:(NSFontDescriptor * _Nonnull)descriptor | OS X 10.0 | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSArray *)availableFontNamesWithTraits:(NSFontTraitMask)someTraits |
| To | - (NSArray<NSString *> * _Nullable)availableFontNamesWithTraits:(NSFontTraitMask)someTraits |
Modified NSFontManager.availableFonts
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *availableFonts |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *availableFonts |
| Declaration | |
|---|---|
| From | - (NSArray *)availableMembersOfFontFamily:(NSString *)fam |
| To | - (NSArray<NSArray *> * _Nullable)availableMembersOfFontFamily:(NSString * _Nonnull)fam |
Modified NSFontManager.collectionNames
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | @property(readonly, copy) NSArray *collectionNames | OS X 10.3 | -- |
| To | @property(readonly, copy, nonnull) NSArray *collectionNames | OS X 10.0 | OS X 10.11 |
Modified -[NSFontManager convertAttributes:]
| Declaration | |
|---|---|
| From | - (NSDictionary *)convertAttributes:(NSDictionary *)attributes |
| To | - (NSDictionary<NSString *,id> * _Nonnull)convertAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes |
Modified -[NSFontManager convertFont:]
| Declaration | |
|---|---|
| From | - (NSFont *)convertFont:(NSFont *)fontObj |
| To | - (NSFont * _Nonnull)convertFont:(NSFont * _Nonnull)fontObj |
Modified -[NSFontManager convertFont:toFace:]
| Declaration | |
|---|---|
| From | - (NSFont *)convertFont:(NSFont *)fontObj toFace:(NSString *)typeface |
| To | - (NSFont * _Nullable)convertFont:(NSFont * _Nonnull)fontObj toFace:(NSString * _Nonnull)typeface |
| Declaration | |
|---|---|
| From | - (NSFont *)convertFont:(NSFont *)fontObj toFamily:(NSString *)family |
| To | - (NSFont * _Nonnull)convertFont:(NSFont * _Nonnull)fontObj toFamily:(NSString * _Nonnull)family |
| Declaration | |
|---|---|
| From | - (NSFont *)convertFont:(NSFont *)fontObj toHaveTrait:(NSFontTraitMask)trait |
| To | - (NSFont * _Nonnull)convertFont:(NSFont * _Nonnull)fontObj toHaveTrait:(NSFontTraitMask)trait |
| Declaration | |
|---|---|
| From | - (NSFont *)convertFont:(NSFont *)fontObj toNotHaveTrait:(NSFontTraitMask)trait |
| To | - (NSFont * _Nonnull)convertFont:(NSFont * _Nonnull)fontObj toNotHaveTrait:(NSFontTraitMask)trait |
Modified -[NSFontManager convertFont:toSize:]
| Declaration | |
|---|---|
| From | - (NSFont *)convertFont:(NSFont *)fontObj toSize:(CGFloat)size |
| To | - (NSFont * _Nonnull)convertFont:(NSFont * _Nonnull)fontObj toSize:(CGFloat)size |
| Declaration | |
|---|---|
| From | - (NSFont *)convertWeight:(BOOL)upFlag ofFont:(NSFont *)fontObj |
| To | - (NSFont * _Nonnull)convertWeight:(BOOL)upFlag ofFont:(NSFont * _Nonnull)fontObj |
Modified NSFontManager.delegate
| Declaration | Deprecation | |
|---|---|---|
| From | @property(assign) id delegate | -- |
| To | @property(assign, nullable) id delegate | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (NSArray *)fontDescriptorsInCollection:(NSString *)collectionNames | OS X 10.3 | -- |
| To | - (NSArray * _Nullable)fontDescriptorsInCollection:(NSString * _Nonnull)collectionNames | OS X 10.0 | OS X 10.11 |
Modified -[NSFontManager fontMenu:]
| Declaration | |
|---|---|
| From | - (NSMenu *)fontMenu:(BOOL)create |
| To | - (NSMenu * _Nullable)fontMenu:(BOOL)create |
| Declaration | |
|---|---|
| From | - (BOOL)fontNamed:(NSString *)fName hasTraits:(NSFontTraitMask)someTraits |
| To | - (BOOL)fontNamed:(NSString * _Nonnull)fName hasTraits:(NSFontTraitMask)someTraits |
Modified -[NSFontManager fontPanel:]
| Declaration | |
|---|---|
| From | - (NSFontPanel *)fontPanel:(BOOL)create |
| To | - (NSFontPanel * _Nullable)fontPanel:(BOOL)create |
| Declaration | |
|---|---|
| From | - (NSFont *)fontWithFamily:(NSString *)family traits:(NSFontTraitMask)traits weight:(NSInteger)weight size:(CGFloat)size |
| To | - (NSFont * _Nullable)fontWithFamily:(NSString * _Nonnull)family traits:(NSFontTraitMask)traits weight:(NSInteger)weight size:(CGFloat)size |
| Declaration | |
|---|---|
| From | - (NSString *)localizedNameForFamily:(NSString *)family face:(NSString *)faceKey |
| To | - (NSString * _Nonnull)localizedNameForFamily:(NSString * _Nonnull)family face:(NSString * _Nullable)faceKey |
Modified -[NSFontManager modifyFont:]
| Declaration | |
|---|---|
| From | - (void)modifyFont:(id)sender |
| To | - (void)modifyFont:(id _Nullable)sender |
Modified -[NSFontManager modifyFontViaPanel:]
| Declaration | |
|---|---|
| From | - (void)modifyFontViaPanel:(id)sender |
| To | - (void)modifyFontViaPanel:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)orderFrontFontPanel:(id)sender |
| To | - (void)orderFrontFontPanel:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)orderFrontStylesPanel:(id)sender |
| To | - (void)orderFrontStylesPanel:(id _Nullable)sender |
Modified -[NSFontManager removeCollection:]
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (BOOL)removeCollection:(NSString *)collectionName | OS X 10.3 | -- |
| To | - (BOOL)removeCollection:(NSString * _Nonnull)collectionName | OS X 10.0 | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (void)removeFontDescriptor:(NSFontDescriptor *)descriptor fromCollection:(NSString *)collection | OS X 10.3 | -- |
| To | - (void)removeFontDescriptor:(NSFontDescriptor * _Nonnull)descriptor fromCollection:(NSString * _Nonnull)collection | OS X 10.0 | OS X 10.11 |
Modified -[NSFontManager removeFontTrait:]
| Declaration | |
|---|---|
| From | - (void)removeFontTrait:(id)sender |
| To | - (void)removeFontTrait:(id _Nullable)sender |
Modified NSFontManager.selectedFont
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSFont *selectedFont |
| To | @property(readonly, strong, nullable) NSFont *selectedFont |
Modified -[NSFontManager sendAction]
| Declaration | |
|---|---|
| From | @property(readonly) BOOL sendAction |
| To | - (BOOL)sendAction |
| Declaration | |
|---|---|
| From | + (void)setFontManagerFactory:(Class)factoryId |
| To | + (void)setFontManagerFactory:(Class _Nullable)factoryId |
Modified -[NSFontManager setFontMenu:]
| Declaration | |
|---|---|
| From | - (void)setFontMenu:(NSMenu *)newMenu |
| To | - (void)setFontMenu:(NSMenu * _Nonnull)newMenu |
| Declaration | |
|---|---|
| From | + (void)setFontPanelFactory:(Class)factoryId |
| To | + (void)setFontPanelFactory:(Class _Nullable)factoryId |
| Declaration | |
|---|---|
| From | - (void)setSelectedAttributes:(NSDictionary *)attributes isMultiple:(BOOL)flag |
| To | - (void)setSelectedAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes isMultiple:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (void)setSelectedFont:(NSFont *)fontObj isMultiple:(BOOL)flag |
| To | - (void)setSelectedFont:(NSFont * _Nonnull)fontObj isMultiple:(BOOL)flag |
Modified +[NSFontManager sharedFontManager]
| Declaration | |
|---|---|
| From | + (NSFontManager *)sharedFontManager |
| To | + (NSFontManager * _Nonnull)sharedFontManager |
Modified NSFontManager.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
Modified -[NSFontManager traitsOfFont:]
| Declaration | |
|---|---|
| From | - (NSFontTraitMask)traitsOfFont:(NSFont *)fontObj |
| To | - (NSFontTraitMask)traitsOfFont:(NSFont * _Nonnull)fontObj |
Modified -[NSFontManager weightOfFont:]
| Declaration | |
|---|---|
| From | - (NSInteger)weightOfFont:(NSFont *)fontObj |
| To | - (NSInteger)weightOfFont:(NSFont * _Nonnull)fontObj |
Modified -[NSObject changeFont:]
| Declaration | |
|---|---|
| From | - (void)changeFont:(id)sender |
| To | - (void)changeFont:(id _Nullable)sender |
| Declaration | Deprecation | |
|---|---|---|
| From | - (BOOL)fontManager:(id)sender willIncludeFont:(NSString *)fontName | -- |
| To | - (BOOL)fontManager:(id _Nonnull)sender willIncludeFont:(NSString * _Nonnull)fontName | OS X 10.11 |
NSFontPanel.h
Modified NSFontPanel.accessoryView
| Declaration | |
|---|---|
| From | @property(strong) NSView *accessoryView |
| To | @property(strong, nullable) NSView *accessoryView |
Modified -[NSFontPanel panelConvertFont:]
| Declaration | |
|---|---|
| From | - (NSFont *)panelConvertFont:(NSFont *)fontObj |
| To | - (NSFont * _Nonnull)panelConvertFont:(NSFont * _Nonnull)fontObj |
| Declaration | |
|---|---|
| From | - (void)setPanelFont:(NSFont *)fontObj isMultiple:(BOOL)flag |
| To | - (void)setPanelFont:(NSFont * _Nonnull)fontObj isMultiple:(BOOL)flag |
Modified +[NSFontPanel sharedFontPanel]
| Declaration | |
|---|---|
| From | + (NSFontPanel *)sharedFontPanel |
| To | + (NSFontPanel * _Nonnull)sharedFontPanel |
Modified -[NSObject validModesForFontPanel:]
| Declaration | |
|---|---|
| From | - (NSUInteger)validModesForFontPanel:(NSFontPanel *)fontPanel |
| To | - (NSUInteger)validModesForFontPanel:(NSFontPanel * _Nonnull)fontPanel |
NSForm.h
Modified -[NSForm addEntry:]
| Declaration | |
|---|---|
| From | - (NSFormCell *)addEntry:(NSString *)title |
| To | - (NSFormCell * _Nonnull)addEntry:(NSString * _Nonnull)title |
Modified -[NSForm cellAtIndex:]
| Declaration | |
|---|---|
| From | - (id)cellAtIndex:(NSInteger)index |
| To | - (id _Null_unspecified)cellAtIndex:(NSInteger)index |
Modified -[NSForm insertEntry:atIndex:]
| Declaration | |
|---|---|
| From | - (NSFormCell *)insertEntry:(NSString *)title atIndex:(NSInteger)index |
| To | - (NSFormCell * _Null_unspecified)insertEntry:(NSString * _Nonnull)title atIndex:(NSInteger)index |
Modified -[NSForm setTextFont:]
| Declaration | |
|---|---|
| From | - (void)setTextFont:(NSFont *)fontObj |
| To | - (void)setTextFont:(NSFont * _Nonnull)fontObj |
Modified -[NSForm setTitleFont:]
| Declaration | |
|---|---|
| From | - (void)setTitleFont:(NSFont *)fontObj |
| To | - (void)setTitleFont:(NSFont * _Nonnull)fontObj |
NSFormCell.h
Modified NSFormCell.attributedTitle
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedTitle |
| To | @property(copy, nonnull) NSAttributedString *attributedTitle |
Modified -[NSFormCell initTextCell:]
| Declaration | |
|---|---|
| From | - (instancetype)initTextCell:(NSString *)aString |
| To | - (instancetype _Nonnull)initTextCell:(NSString * _Nullable)aString |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *placeholderAttributedString |
| To | @property(copy, nullable) NSAttributedString *placeholderAttributedString |
Modified NSFormCell.placeholderString
| Declaration | |
|---|---|
| From | @property(copy) NSString *placeholderString |
| To | @property(copy, nullable) NSString *placeholderString |
Modified -[NSFormCell setTitleWithMnemonic:]
| Declaration | |
|---|---|
| From | - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setTitleWithMnemonic:(NSString * _Null_unspecified)stringWithAmpersand |
Modified NSFormCell.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
Modified NSFormCell.titleFont
| Declaration | |
|---|---|
| From | @property(strong) NSFont *titleFont |
| To | @property(strong, nonnull) NSFont *titleFont |
NSGestureRecognizer.h
Modified NSGestureRecognizer.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nullable) SEL action |
| Declaration | |
|---|---|
| From | - (BOOL)canBePreventedByGestureRecognizer:(NSGestureRecognizer *)preventingGestureRecognizer |
| To | - (BOOL)canBePreventedByGestureRecognizer:(NSGestureRecognizer * _Nonnull)preventingGestureRecognizer |
| Declaration | |
|---|---|
| From | - (BOOL)canPreventGestureRecognizer:(NSGestureRecognizer *)preventedGestureRecognizer |
| To | - (BOOL)canPreventGestureRecognizer:(NSGestureRecognizer * _Nonnull)preventedGestureRecognizer |
Modified NSGestureRecognizer.delegate
| Declaration | |
|---|---|
| From | @property(weak) id<NSGestureRecognizerDelegate> delegate |
| To | @property(weak, nullable) id<NSGestureRecognizerDelegate> delegate |
Modified -[NSGestureRecognizer flagsChanged:]
| Declaration | |
|---|---|
| From | - (void)flagsChanged:(NSEvent *)event |
| To | - (void)flagsChanged:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTarget:(id)target action:(SEL)action |
| To | - (instancetype _Nonnull)initWithTarget:(id _Nonnull)target action:(SEL _Nullable)action |
Modified -[NSGestureRecognizer keyDown:]
| Declaration | |
|---|---|
| From | - (void)keyDown:(NSEvent *)event |
| To | - (void)keyDown:(NSEvent * _Nonnull)event |
Modified -[NSGestureRecognizer keyUp:]
| Declaration | |
|---|---|
| From | - (void)keyUp:(NSEvent *)event |
| To | - (void)keyUp:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (NSPoint)locationInView:(NSView *)view |
| To | - (NSPoint)locationInView:(NSView * _Nullable)view |
| Declaration | |
|---|---|
| From | - (void)magnifyWithEvent:(NSEvent *)event |
| To | - (void)magnifyWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSGestureRecognizer mouseDown:]
| Declaration | |
|---|---|
| From | - (void)mouseDown:(NSEvent *)event |
| To | - (void)mouseDown:(NSEvent * _Nonnull)event |
Modified -[NSGestureRecognizer mouseDragged:]
| Declaration | |
|---|---|
| From | - (void)mouseDragged:(NSEvent *)event |
| To | - (void)mouseDragged:(NSEvent * _Nonnull)event |
Modified -[NSGestureRecognizer mouseUp:]
| Declaration | |
|---|---|
| From | - (void)mouseUp:(NSEvent *)event |
| To | - (void)mouseUp:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)otherMouseDown:(NSEvent *)event |
| To | - (void)otherMouseDown:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)otherMouseDragged:(NSEvent *)event |
| To | - (void)otherMouseDragged:(NSEvent * _Nonnull)event |
Modified -[NSGestureRecognizer otherMouseUp:]
| Declaration | |
|---|---|
| From | - (void)otherMouseUp:(NSEvent *)event |
| To | - (void)otherMouseUp:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)pressureChangeWithEvent:(NSEvent *)event |
| To | - (void)pressureChangeWithEvent:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)rightMouseDown:(NSEvent *)event |
| To | - (void)rightMouseDown:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)rightMouseDragged:(NSEvent *)event |
| To | - (void)rightMouseDragged:(NSEvent * _Nonnull)event |
Modified -[NSGestureRecognizer rightMouseUp:]
| Declaration | |
|---|---|
| From | - (void)rightMouseUp:(NSEvent *)event |
| To | - (void)rightMouseUp:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)rotateWithEvent:(NSEvent *)event |
| To | - (void)rotateWithEvent:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (BOOL)shouldBeRequiredToFailByGestureRecognizer:(NSGestureRecognizer *)otherGestureRecognizer |
| To | - (BOOL)shouldBeRequiredToFailByGestureRecognizer:(NSGestureRecognizer * _Nonnull)otherGestureRecognizer |
| Declaration | |
|---|---|
| From | - (BOOL)shouldRequireFailureOfGestureRecognizer:(NSGestureRecognizer *)otherGestureRecognizer |
| To | - (BOOL)shouldRequireFailureOfGestureRecognizer:(NSGestureRecognizer * _Nonnull)otherGestureRecognizer |
Modified -[NSGestureRecognizer tabletPoint:]
| Declaration | |
|---|---|
| From | - (void)tabletPoint:(NSEvent *)event |
| To | - (void)tabletPoint:(NSEvent * _Nonnull)event |
Modified NSGestureRecognizer.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
Modified NSGestureRecognizer.view
| Declaration | |
|---|---|
| From | @property(readonly) NSView *view |
| To | @property(readonly, nullable) NSView *view |
Modified -[NSGestureRecognizerDelegate gestureRecognizer:shouldBeRequiredToFailByGestureRecognizer:]
| Declaration | |
|---|---|
| From | - (BOOL)gestureRecognizer:(NSGestureRecognizer *)gestureRecognizer shouldBeRequiredToFailByGestureRecognizer:(NSGestureRecognizer *)otherGestureRecognizer |
| To | - (BOOL)gestureRecognizer:(NSGestureRecognizer * _Nonnull)gestureRecognizer shouldBeRequiredToFailByGestureRecognizer:(NSGestureRecognizer * _Nonnull)otherGestureRecognizer |
Modified -[NSGestureRecognizerDelegate gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:]
| Declaration | |
|---|---|
| From | - (BOOL)gestureRecognizer:(NSGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(NSGestureRecognizer *)otherGestureRecognizer |
| To | - (BOOL)gestureRecognizer:(NSGestureRecognizer * _Nonnull)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(NSGestureRecognizer * _Nonnull)otherGestureRecognizer |
| Declaration | |
|---|---|
| From | - (BOOL)gestureRecognizer:(NSGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(NSGestureRecognizer *)otherGestureRecognizer |
| To | - (BOOL)gestureRecognizer:(NSGestureRecognizer * _Nonnull)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(NSGestureRecognizer * _Nonnull)otherGestureRecognizer |
| Declaration | |
|---|---|
| From | - (BOOL)gestureRecognizerShouldBegin:(NSGestureRecognizer *)gestureRecognizer |
| To | - (BOOL)gestureRecognizerShouldBegin:(NSGestureRecognizer * _Nonnull)gestureRecognizer |
NSGlyphGenerator.h
| Declaration | |
|---|---|
| From | - (void)generateGlyphsForGlyphStorage:(id<NSGlyphStorage>)glyphStorage desiredNumberOfCharacters:(NSUInteger)nChars glyphIndex:(NSUInteger *)glyphIndex characterIndex:(NSUInteger *)charIndex |
| To | - (void)generateGlyphsForGlyphStorage:(id<NSGlyphStorage> _Nonnull)glyphStorage desiredNumberOfCharacters:(NSUInteger)nChars glyphIndex:(NSUInteger * _Nullable)glyphIndex characterIndex:(NSUInteger * _Nullable)charIndex |
| Declaration | |
|---|---|
| From | + (NSGlyphGenerator *)sharedGlyphGenerator |
| To | + (NSGlyphGenerator * _Nonnull)sharedGlyphGenerator |
Modified -[NSGlyphStorage attributedString]
| Declaration | |
|---|---|
| From | - (NSAttributedString *)attributedString |
| To | - (NSAttributedString * _Nonnull)attributedString |
| Declaration | |
|---|---|
| From | - (void)insertGlyphs:(const NSGlyph *)glyphs length:(NSUInteger)length forStartingGlyphAtIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)charIndex |
| To | - (void)insertGlyphs:(const NSGlyph * _Nonnull)glyphs length:(NSUInteger)length forStartingGlyphAtIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)charIndex |
NSGlyphInfo.h
| Declaration | |
|---|---|
| From | + (NSGlyphInfo *)glyphInfoWithCharacterIdentifier:(NSUInteger)cid collection:(NSCharacterCollection)characterCollection baseString:(NSString *)theString |
| To | + (NSGlyphInfo * _Nullable)glyphInfoWithCharacterIdentifier:(NSUInteger)cid collection:(NSCharacterCollection)characterCollection baseString:(NSString * _Nonnull)theString |
| Declaration | |
|---|---|
| From | + (NSGlyphInfo *)glyphInfoWithGlyph:(NSGlyph)glyph forFont:(NSFont *)font baseString:(NSString *)theString |
| To | + (NSGlyphInfo * _Nullable)glyphInfoWithGlyph:(NSGlyph)glyph forFont:(NSFont * _Nonnull)font baseString:(NSString * _Nonnull)theString |
| Declaration | |
|---|---|
| From | + (NSGlyphInfo *)glyphInfoWithGlyphName:(NSString *)glyphName forFont:(NSFont *)font baseString:(NSString *)theString |
| To | + (NSGlyphInfo * _Nullable)glyphInfoWithGlyphName:(NSString * _Nonnull)glyphName forFont:(NSFont * _Nonnull)font baseString:(NSString * _Nonnull)theString |
Modified NSGlyphInfo.glyphName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *glyphName |
| To | @property(readonly, copy, nullable) NSString *glyphName |
NSGradient.h
Modified NSGradient.colorSpace
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSColorSpace *colorSpace |
| To | @property(readonly, strong, nonnull) NSColorSpace *colorSpace |
| Declaration | |
|---|---|
| From | - (void)drawInBezierPath:(NSBezierPath *)path angle:(CGFloat)angle |
| To | - (void)drawInBezierPath:(NSBezierPath * _Nonnull)path angle:(CGFloat)angle |
| Declaration | |
|---|---|
| From | - (void)drawInBezierPath:(NSBezierPath *)path relativeCenterPosition:(NSPoint)relativeCenterPosition |
| To | - (void)drawInBezierPath:(NSBezierPath * _Nonnull)path relativeCenterPosition:(NSPoint)relativeCenterPosition |
| Declaration | |
|---|---|
| From | - (void)getColor:(NSColor **)color location:(CGFloat *)location atIndex:(NSInteger)index |
| To | - (void)getColor:(NSColor * _Nonnull * _Nullable)color location:(CGFloat * _Nullable)location atIndex:(NSInteger)index |
Modified -[NSGradient initWithColors:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithColors:(NSArray *)colorArray |
| To | - (instancetype _Nullable)initWithColors:(NSArray<NSColor *> * _Nonnull)colorArray |
| Declaration | |
|---|---|
| From | - (instancetype)initWithColors:(NSArray *)colorArray atLocations:(const CGFloat *)locations colorSpace:(NSColorSpace *)colorSpace |
| To | - (instancetype _Nullable)initWithColors:(NSArray<NSColor *> * _Nonnull)colorArray atLocations:(const CGFloat * _Nullable)locations colorSpace:(NSColorSpace * _Nonnull)colorSpace |
| Declaration | |
|---|---|
| From | - (instancetype)initWithColorsAndLocations:(NSColor *)firstColor, ... |
| To | - (instancetype _Nullable)initWithColorsAndLocations:(NSColor * _Nonnull)firstColor, ... |
| Declaration | |
|---|---|
| From | - (instancetype)initWithStartingColor:(NSColor *)startingColor endingColor:(NSColor *)endingColor |
| To | - (instancetype _Nullable)initWithStartingColor:(NSColor * _Nonnull)startingColor endingColor:(NSColor * _Nonnull)endingColor |
| Declaration | |
|---|---|
| From | - (NSColor *)interpolatedColorAtLocation:(CGFloat)location |
| To | - (NSColor * _Nonnull)interpolatedColorAtLocation:(CGFloat)location |
NSGraphics.h
Modified NSAvailableWindowDepths()
| Declaration | |
|---|---|
| From | const NSWindowDepth * NSAvailableWindowDepths (
void
);
|
| To | const NSWindowDepth * _Nonnull NSAvailableWindowDepths (
void
);
|
Modified NSBestDepth()
| Declaration | |
|---|---|
| From | NSWindowDepth NSBestDepth (
NSString *colorSpace,
NSInteger bps,
NSInteger bpp,
BOOL planar,
BOOL *exactMatch
);
|
| To | NSWindowDepth NSBestDepth (
NSString * _Nonnull colorSpace,
NSInteger bps,
NSInteger bpp,
BOOL planar,
BOOL * _Nullable exactMatch
);
|
Modified NSColorSpaceFromDepth()
| Declaration | |
|---|---|
| From | NSString * NSColorSpaceFromDepth (
NSWindowDepth depth
);
|
| To | NSString * _Nullable NSColorSpaceFromDepth (
NSWindowDepth depth
);
|
Modified NSCountWindows()
| Declaration | |
|---|---|
| From | void NSCountWindows (
NSInteger *count
);
|
| To | void NSCountWindows (
NSInteger * _Nonnull count
);
|
Modified NSCountWindowsForContext()
| Declaration | |
|---|---|
| From | void NSCountWindowsForContext (
NSInteger context,
NSInteger *count
);
|
| To | void NSCountWindowsForContext (
NSInteger context,
NSInteger * _Nonnull count
);
|
Modified NSDrawBitmap()
| Declaration | |
|---|---|
| From | void NSDrawBitmap (
NSRect rect,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
NSInteger bpp,
NSInteger bpr,
BOOL isPlanar,
BOOL hasAlpha,
NSString *colorSpaceName,
const unsigned char *const data[5]
);
|
| To | void NSDrawBitmap (
NSRect rect,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
NSInteger bpp,
NSInteger bpr,
BOOL isPlanar,
BOOL hasAlpha,
NSString * _Nonnull colorSpaceName,
const unsigned char *const _Nullable data[5]
);
|
Modified NSDrawColorTiledRects()
| Declaration | |
|---|---|
| From | NSRect NSDrawColorTiledRects (
NSRect boundsRect,
NSRect clipRect,
const NSRectEdge *sides,
NSColor **colors,
NSInteger count
);
|
| To | NSRect NSDrawColorTiledRects (
NSRect boundsRect,
NSRect clipRect,
const NSRectEdge * _Nonnull sides,
NSColor * _Nonnull * _Nonnull colors,
NSInteger count
);
|
Modified NSDrawTiledRects()
| Declaration | |
|---|---|
| From | NSRect NSDrawTiledRects (
NSRect boundsRect,
NSRect clipRect,
const NSRectEdge *sides,
const CGFloat *grays,
NSInteger count
);
|
| To | NSRect NSDrawTiledRects (
NSRect boundsRect,
NSRect clipRect,
const NSRectEdge * _Nonnull sides,
const CGFloat * _Nonnull grays,
NSInteger count
);
|
Modified NSGetWindowServerMemory()
| Declaration | |
|---|---|
| From | NSInteger NSGetWindowServerMemory (
NSInteger context,
NSInteger *virtualMemory,
NSInteger *windowBackingMemory,
NSString **windowDumpString
);
|
| To | NSInteger NSGetWindowServerMemory (
NSInteger context,
NSInteger * _Nonnull virtualMemory,
NSInteger * _Nonnull windowBackingMemory,
NSString * _Nonnull * _Nonnull windowDumpString
);
|
Modified NSNumberOfColorComponents()
| Declaration | |
|---|---|
| From | NSInteger NSNumberOfColorComponents (
NSString *colorSpaceName
);
|
| To | NSInteger NSNumberOfColorComponents (
NSString * _Nonnull colorSpaceName
);
|
Modified NSReadPixel()
| Declaration | |
|---|---|
| From | NSColor * NSReadPixel (
NSPoint passedPoint
);
|
| To | NSColor * _Nullable NSReadPixel (
NSPoint passedPoint
);
|
Modified NSRectClipList()
| Declaration | |
|---|---|
| From | void NSRectClipList (
const NSRect *rects,
NSInteger count
);
|
| To | void NSRectClipList (
const NSRect * _Nonnull rects,
NSInteger count
);
|
Modified NSRectFillList()
| Declaration | |
|---|---|
| From | void NSRectFillList (
const NSRect *rects,
NSInteger count
);
|
| To | void NSRectFillList (
const NSRect * _Nonnull rects,
NSInteger count
);
|
Modified NSRectFillListUsingOperation()
| Declaration | |
|---|---|
| From | void NSRectFillListUsingOperation (
const NSRect *rects,
NSInteger count,
NSCompositingOperation op
);
|
| To | void NSRectFillListUsingOperation (
const NSRect * _Nonnull rects,
NSInteger count,
NSCompositingOperation op
);
|
Modified NSRectFillListWithColors()
| Declaration | |
|---|---|
| From | void NSRectFillListWithColors (
const NSRect *rects,
NSColor *const *colors,
NSInteger num
);
|
| To | void NSRectFillListWithColors (
const NSRect * _Nonnull rects,
NSColor *const _Nonnull * _Nonnull colors,
NSInteger num
);
|
| Declaration | |
|---|---|
| From | void NSRectFillListWithColorsUsingOperation (
const NSRect *rects,
NSColor *const *colors,
NSInteger num,
NSCompositingOperation op
);
|
| To | void NSRectFillListWithColorsUsingOperation (
const NSRect * _Nonnull rects,
NSColor *const _Nonnull * _Nonnull colors,
NSInteger num,
NSCompositingOperation op
);
|
Modified NSRectFillListWithGrays()
| Declaration | |
|---|---|
| From | void NSRectFillListWithGrays (
const NSRect *rects,
const CGFloat *grays,
NSInteger num
);
|
| To | void NSRectFillListWithGrays (
const NSRect * _Nonnull rects,
const CGFloat * _Nonnull grays,
NSInteger num
);
|
Modified NSShowAnimationEffect()
| Declaration | |
|---|---|
| From | void NSShowAnimationEffect (
NSAnimationEffect animationEffect,
NSPoint centerLocation,
NSSize size,
id animationDelegate,
SEL didEndSelector,
void *contextInfo
);
|
| To | void NSShowAnimationEffect (
NSAnimationEffect animationEffect,
NSPoint centerLocation,
NSSize size,
id _Nullable animationDelegate,
SEL _Nullable didEndSelector,
void * _Nullable contextInfo
);
|
NSGraphicsContext.h
Modified NSGraphicsContext.attributes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *attributes |
| To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *attributes |
Modified NSGraphicsContext.CGContext
| Declaration | |
|---|---|
| From | @property(readonly) CGContextRef CGContext |
| To | @property(readonly, nonnull) CGContextRef CGContext |
Modified NSGraphicsContext.CIContext
| Declaration | |
|---|---|
| From | @property(readonly, strong) CIContext *CIContext |
| To | @property(readonly, strong, nullable) CIContext *CIContext |
Modified +[NSGraphicsContext currentContext]
| Declaration | |
|---|---|
| From | + (NSGraphicsContext *)currentContext |
| To | + (NSGraphicsContext * _Nullable)currentContext |
Modified -[NSGraphicsContext focusStack]
| Declaration | |
|---|---|
| From | - (id)focusStack |
| To | - (id _Null_unspecified)focusStack |
| Declaration | |
|---|---|
| From | + (NSGraphicsContext *)graphicsContextWithAttributes:(NSDictionary *)attributes |
| To | + (NSGraphicsContext * _Nullable)graphicsContextWithAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes |
| Declaration | |
|---|---|
| From | + (NSGraphicsContext *)graphicsContextWithBitmapImageRep:(NSBitmapImageRep *)bitmapRep |
| To | + (NSGraphicsContext * _Nullable)graphicsContextWithBitmapImageRep:(NSBitmapImageRep * _Nonnull)bitmapRep |
| Declaration | |
|---|---|
| From | + (NSGraphicsContext *)graphicsContextWithCGContext:(CGContextRef)graphicsPort flipped:(BOOL)initialFlippedState |
| To | + (NSGraphicsContext * _Nonnull)graphicsContextWithCGContext:(CGContextRef _Nonnull)graphicsPort flipped:(BOOL)initialFlippedState |
| Declaration | |
|---|---|
| From | + (NSGraphicsContext *)graphicsContextWithGraphicsPort:(void *)graphicsPort flipped:(BOOL)initialFlippedState |
| To | + (NSGraphicsContext * _Nonnull)graphicsContextWithGraphicsPort:(void * _Nonnull)graphicsPort flipped:(BOOL)initialFlippedState |
| Declaration | |
|---|---|
| From | + (NSGraphicsContext *)graphicsContextWithWindow:(NSWindow *)window |
| To | + (NSGraphicsContext * _Nonnull)graphicsContextWithWindow:(NSWindow * _Nonnull)window |
Modified NSGraphicsContext.graphicsPort
| Declaration | |
|---|---|
| From | @property(readonly) void *graphicsPort |
| To | @property(readonly, nonnull) void *graphicsPort |
Modified +[NSGraphicsContext setCurrentContext:]
| Declaration | |
|---|---|
| From | + (void)setCurrentContext:(NSGraphicsContext *)context |
| To | + (void)setCurrentContext:(NSGraphicsContext * _Nullable)context |
Modified -[NSGraphicsContext setFocusStack:]
| Declaration | |
|---|---|
| From | - (void)setFocusStack:(id)stack |
| To | - (void)setFocusStack:(id _Null_unspecified)stack |
NSHapticFeedback.h (Added)
Added NSHapticFeedbackManager
Added NSHapticFeedbackPattern
NSHelpManager.h
| Declaration | |
|---|---|
| From | - (void)activateContextHelpMode:(id)sender |
| To | - (void)activateContextHelpMode:(id _Nullable)sender |
Modified -[NSApplication showHelp:]
| Declaration | |
|---|---|
| From | - (void)showHelp:(id)sender |
| To | - (void)showHelp:(id _Nullable)sender |
Modified -[NSBundle contextHelpForKey:]
| Declaration | |
|---|---|
| From | - (NSAttributedString *)contextHelpForKey:(NSString *)key |
| To | - (NSAttributedString * _Nullable)contextHelpForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (NSAttributedString *)contextHelpForObject:(id)object |
| To | - (NSAttributedString * _Nullable)contextHelpForObject:(id _Nonnull)object |
Modified -[NSHelpManager findString:inBook:]
| Declaration | |
|---|---|
| From | - (void)findString:(NSString *)query inBook:(NSString *)book |
| To | - (void)findString:(NSString * _Nonnull)query inBook:(NSString * _Nullable)book |
| Declaration | |
|---|---|
| From | - (void)openHelpAnchor:(NSString *)anchor inBook:(NSString *)book |
| To | - (void)openHelpAnchor:(NSString * _Nonnull)anchor inBook:(NSString * _Nullable)book |
| Declaration | |
|---|---|
| From | - (BOOL)registerBooksInBundle:(NSBundle *)bundle |
| To | - (BOOL)registerBooksInBundle:(NSBundle * _Nonnull)bundle |
| Declaration | |
|---|---|
| From | - (void)removeContextHelpForObject:(id)object |
| To | - (void)removeContextHelpForObject:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)setContextHelp:(NSAttributedString *)attrString forObject:(id)object |
| To | - (void)setContextHelp:(NSAttributedString * _Nonnull)attrString forObject:(id _Nonnull)object |
Modified +[NSHelpManager sharedHelpManager]
| Declaration | |
|---|---|
| From | + (NSHelpManager *)sharedHelpManager |
| To | + (NSHelpManager * _Nonnull)sharedHelpManager |
| Declaration | |
|---|---|
| From | - (BOOL)showContextHelpForObject:(id)object locationHint:(NSPoint)pt |
| To | - (BOOL)showContextHelpForObject:(id _Nonnull)object locationHint:(NSPoint)pt |
NSImage.h
Removed -[NSImage isTemplate]
Removed -[NSImage setTemplate:]
Added NSImage.template
Modified -[NSBundle imageForResource:]
| Declaration | |
|---|---|
| From | - (NSImage *)imageForResource:(NSString *)name |
| To | - (NSImage * _Nullable)imageForResource:(NSString * _Nonnull)name |
Modified -[NSBundle pathForImageResource:]
| Declaration | |
|---|---|
| From | - (NSString *)pathForImageResource:(NSString *)name |
| To | - (NSString * _Nullable)pathForImageResource:(NSString * _Nonnull)name |
Modified -[NSBundle URLForImageResource:]
| Declaration | |
|---|---|
| From | - (NSURL *)URLForImageResource:(NSString *)name |
| To | - (NSURL * _Nullable)URLForImageResource:(NSString * _Nonnull)name |
Modified NSImage.accessibilityDescription
| Declaration | |
|---|---|
| From | @property(copy) NSString *accessibilityDescription |
| To | @property(copy, nullable) NSString *accessibilityDescription |
Modified -[NSImage addRepresentation:]
| Declaration | |
|---|---|
| From | - (void)addRepresentation:(NSImageRep *)imageRep |
| To | - (void)addRepresentation:(NSImageRep * _Nonnull)imageRep |
Modified -[NSImage addRepresentations:]
| Declaration | |
|---|---|
| From | - (void)addRepresentations:(NSArray *)imageReps |
| To | - (void)addRepresentations:(NSArray<NSImageRep *> * _Nonnull)imageReps |
Modified NSImage.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
| Declaration | |
|---|---|
| From | - (NSImageRep *)bestRepresentationForDevice:(NSDictionary *)deviceDescription |
| To | - (NSImageRep * _Null_unspecified)bestRepresentationForDevice:(NSDictionary * _Null_unspecified)deviceDescription |
| Declaration | |
|---|---|
| From | - (NSImageRep *)bestRepresentationForRect:(NSRect)rect context:(NSGraphicsContext *)referenceContext hints:(NSDictionary *)hints |
| To | - (NSImageRep * _Nullable)bestRepresentationForRect:(NSRect)rect context:(NSGraphicsContext * _Nullable)referenceContext hints:(NSDictionary<NSString *,id> * _Nullable)hints |
Modified +[NSImage canInitWithPasteboard:]
| Declaration | |
|---|---|
| From | + (BOOL)canInitWithPasteboard:(NSPasteboard *)pasteboard |
| To | + (BOOL)canInitWithPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (CGImageRef)CGImageForProposedRect:(NSRect *)proposedDestRect context:(NSGraphicsContext *)referenceContext hints:(NSDictionary *)hints |
| To | - (CGImageRef _Nullable)CGImageForProposedRect:(NSRect * _Nullable)proposedDestRect context:(NSGraphicsContext * _Nullable)referenceContext hints:(NSDictionary<NSString *,id> * _Nullable)hints |
Modified NSImage.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSImageDelegate> delegate |
| To | @property(assign, nullable) id<NSImageDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)drawInRect:(NSRect)dstSpacePortionRect fromRect:(NSRect)srcSpacePortionRect operation:(NSCompositingOperation)op fraction:(CGFloat)requestedAlpha respectFlipped:(BOOL)respectContextIsFlipped hints:(NSDictionary *)hints |
| To | - (void)drawInRect:(NSRect)dstSpacePortionRect fromRect:(NSRect)srcSpacePortionRect operation:(NSCompositingOperation)op fraction:(CGFloat)requestedAlpha respectFlipped:(BOOL)respectContextIsFlipped hints:(NSDictionary<NSString *,id> * _Nullable)hints |
| Declaration | |
|---|---|
| From | - (BOOL)drawRepresentation:(NSImageRep *)imageRep inRect:(NSRect)rect |
| To | - (BOOL)drawRepresentation:(NSImageRep * _Nonnull)imageRep inRect:(NSRect)rect |
| Declaration | |
|---|---|
| From | - (BOOL)hitTestRect:(NSRect)testRectDestSpace withImageDestinationRect:(NSRect)imageRectDestSpace context:(NSGraphicsContext *)context hints:(NSDictionary *)hints flipped:(BOOL)flipped |
| To | - (BOOL)hitTestRect:(NSRect)testRectDestSpace withImageDestinationRect:(NSRect)imageRectDestSpace context:(NSGraphicsContext * _Nullable)context hints:(NSDictionary<NSString *,id> * _Nullable)hints flipped:(BOOL)flipped |
Modified +[NSImage imageFileTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imageFileTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageFileTypes |
Modified +[NSImage imageNamed:]
| Declaration | |
|---|---|
| From | + (NSImage *)imageNamed:(NSString *)name |
| To | + (NSImage * _Nullable)imageNamed:(NSString * _Nonnull)name |
Modified +[NSImage imagePasteboardTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imagePasteboardTypes |
| To | + (NSArray<NSString *> * _Nonnull)imagePasteboardTypes |
Modified +[NSImage imageTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imageTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageTypes |
Modified +[NSImage imageUnfilteredFileTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imageUnfilteredFileTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageUnfilteredFileTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)imageUnfilteredPasteboardTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageUnfilteredPasteboardTypes |
Modified +[NSImage imageUnfilteredTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imageUnfilteredTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageUnfilteredTypes |
| Declaration | |
|---|---|
| From | + (NSImage *)imageWithSize:(NSSize)size flipped:(BOOL)drawingHandlerShouldBeCalledWithFlippedContext drawingHandler:(BOOL (^)(NSRect dstRect))drawingHandler |
| To | + (NSImage * _Nonnull)imageWithSize:(NSSize)size flipped:(BOOL)drawingHandlerShouldBeCalledWithFlippedContext drawingHandler:(BOOL (^ _Nonnull)(NSRect dstRect))drawingHandler |
Modified -[NSImage initByReferencingFile:]
| Declaration | |
|---|---|
| From | - (instancetype)initByReferencingFile:(NSString *)fileName |
| To | - (instancetype _Nullable)initByReferencingFile:(NSString * _Nonnull)fileName |
Modified -[NSImage initByReferencingURL:]
| Declaration | |
|---|---|
| From | - (instancetype)initByReferencingURL:(NSURL *)url |
| To | - (instancetype _Nonnull)initByReferencingURL:(NSURL * _Nonnull)url |
Modified -[NSImage initWithCGImage:size:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCGImage:(CGImageRef)cgImage size:(NSSize)size |
| To | - (instancetype _Nonnull)initWithCGImage:(CGImageRef _Nonnull)cgImage size:(NSSize)size |
Modified -[NSImage initWithContentsOfFile:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfFile:(NSString *)fileName |
| To | - (instancetype _Nullable)initWithContentsOfFile:(NSString * _Nonnull)fileName |
Modified -[NSImage initWithContentsOfURL:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
Modified -[NSImage initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDataIgnoringOrientation:(NSData *)data |
| To | - (instancetype _Nullable)initWithDataIgnoringOrientation:(NSData * _Nonnull)data |
Modified -[NSImage initWithIconRef:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithIconRef:(IconRef)iconRef |
| To | - (instancetype _Nonnull)initWithIconRef:(IconRef _Nonnull)iconRef |
Modified -[NSImage initWithPasteboard:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithPasteboard:(NSPasteboard *)pasteboard |
| To | - (instancetype _Nullable)initWithPasteboard:(NSPasteboard * _Nonnull)pasteboard |
Modified -[NSImage initWithSize:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithSize:(NSSize)aSize |
| To | - (instancetype _Nonnull)initWithSize:(NSSize)aSize |
| Declaration | |
|---|---|
| From | - (id)layerContentsForContentsScale:(CGFloat)layerContentsScale |
| To | - (id _Nonnull)layerContentsForContentsScale:(CGFloat)layerContentsScale |
| Declaration | |
|---|---|
| From | - (void)lockFocusOnRepresentation:(NSImageRep *)imageRepresentation |
| To | - (void)lockFocusOnRepresentation:(NSImageRep * _Null_unspecified)imageRepresentation |
Modified -[NSImage name]
| Declaration | |
|---|---|
| From | - (NSString *)name |
| To | - (NSString * _Nullable)name |
Modified -[NSImage removeRepresentation:]
| Declaration | |
|---|---|
| From | - (void)removeRepresentation:(NSImageRep *)imageRep |
| To | - (void)removeRepresentation:(NSImageRep * _Nonnull)imageRep |
Modified NSImage.representations
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *representations |
| To | @property(readonly, copy, nonnull) NSArray<NSImageRep *> *representations |
Modified -[NSImage setName:]
| Declaration | |
|---|---|
| From | - (BOOL)setName:(NSString *)string |
| To | - (BOOL)setName:(NSString * _Nullable)string |
Modified NSImage.TIFFRepresentation
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSData *TIFFRepresentation |
| To | @property(readonly, strong, nullable) NSData *TIFFRepresentation |
| Declaration | |
|---|---|
| From | - (NSData *)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)aFloat |
| To | - (NSData * _Nullable)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)aFloat |
| Declaration | |
|---|---|
| From | - (void)image:(NSImage *)image didLoadPartOfRepresentation:(NSImageRep *)rep withValidRows:(NSInteger)rows |
| To | - (void)image:(NSImage * _Nonnull)image didLoadPartOfRepresentation:(NSImageRep * _Nonnull)rep withValidRows:(NSInteger)rows |
| Declaration | |
|---|---|
| From | - (void)image:(NSImage *)image didLoadRepresentation:(NSImageRep *)rep withStatus:(NSImageLoadStatus)status |
| To | - (void)image:(NSImage * _Nonnull)image didLoadRepresentation:(NSImageRep * _Nonnull)rep withStatus:(NSImageLoadStatus)status |
| Declaration | |
|---|---|
| From | - (void)image:(NSImage *)image didLoadRepresentationHeader:(NSImageRep *)rep |
| To | - (void)image:(NSImage * _Nonnull)image didLoadRepresentationHeader:(NSImageRep * _Nonnull)rep |
| Declaration | |
|---|---|
| From | - (void)image:(NSImage *)image willLoadRepresentation:(NSImageRep *)rep |
| To | - (void)image:(NSImage * _Nonnull)image willLoadRepresentation:(NSImageRep * _Nonnull)rep |
| Declaration | |
|---|---|
| From | - (NSImage *)imageDidNotDraw:(id)sender inRect:(NSRect)aRect |
| To | - (NSImage * _Nullable)imageDidNotDraw:(NSImage * _Nonnull)sender inRect:(NSRect)aRect |
NSImageRep.h
Modified +[NSImageRep canInitWithData:]
| Declaration | |
|---|---|
| From | + (BOOL)canInitWithData:(NSData *)data |
| To | + (BOOL)canInitWithData:(NSData * _Nonnull)data |
Modified +[NSImageRep canInitWithPasteboard:]
| Declaration | |
|---|---|
| From | + (BOOL)canInitWithPasteboard:(NSPasteboard *)pasteboard |
| To | + (BOOL)canInitWithPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (CGImageRef)CGImageForProposedRect:(NSRect *)proposedDestRect context:(NSGraphicsContext *)context hints:(NSDictionary *)hints |
| To | - (CGImageRef _Nullable)CGImageForProposedRect:(NSRect * _Nullable)proposedDestRect context:(NSGraphicsContext * _Nullable)context hints:(NSDictionary<NSString *,id> * _Nullable)hints |
Modified NSImageRep.colorSpaceName
| Declaration | |
|---|---|
| From | @property(copy) NSString *colorSpaceName |
| To | @property(copy, nonnull) NSString *colorSpaceName |
| Declaration | |
|---|---|
| From | - (BOOL)drawInRect:(NSRect)dstSpacePortionRect fromRect:(NSRect)srcSpacePortionRect operation:(NSCompositingOperation)op fraction:(CGFloat)requestedAlpha respectFlipped:(BOOL)respectContextIsFlipped hints:(NSDictionary *)hints |
| To | - (BOOL)drawInRect:(NSRect)dstSpacePortionRect fromRect:(NSRect)srcSpacePortionRect operation:(NSCompositingOperation)op fraction:(CGFloat)requestedAlpha respectFlipped:(BOOL)respectContextIsFlipped hints:(NSDictionary<NSString *,id> * _Nullable)hints |
Modified +[NSImageRep imageFileTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imageFileTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageFileTypes |
Modified +[NSImageRep imagePasteboardTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imagePasteboardTypes |
| To | + (NSArray<NSString *> * _Nonnull)imagePasteboardTypes |
Modified +[NSImageRep imageRepClassForData:]
| Declaration | |
|---|---|
| From | + (Class)imageRepClassForData:(NSData *)data |
| To | + (Class _Nullable)imageRepClassForData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (Class)imageRepClassForFileType:(NSString *)type |
| To | + (Class _Nullable)imageRepClassForFileType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | + (Class)imageRepClassForPasteboardType:(NSString *)type |
| To | + (Class _Nullable)imageRepClassForPasteboardType:(NSString * _Nonnull)type |
Modified +[NSImageRep imageRepClassForType:]
| Declaration | |
|---|---|
| From | + (Class)imageRepClassForType:(NSString *)type |
| To | + (Class _Nullable)imageRepClassForType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | + (NSArray *)imageRepsWithContentsOfFile:(NSString *)filename |
| To | + (NSArray<NSImageRep *> * _Nullable)imageRepsWithContentsOfFile:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | + (NSArray *)imageRepsWithContentsOfURL:(NSURL *)url |
| To | + (NSArray<NSImageRep *> * _Nullable)imageRepsWithContentsOfURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | + (NSArray *)imageRepsWithPasteboard:(NSPasteboard *)pasteboard |
| To | + (NSArray<NSImageRep *> * _Nullable)imageRepsWithPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | + (id)imageRepWithContentsOfFile:(NSString *)filename |
| To | + (NSImageRep * _Nullable)imageRepWithContentsOfFile:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | + (id)imageRepWithContentsOfURL:(NSURL *)url |
| To | + (NSImageRep * _Nullable)imageRepWithContentsOfURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | + (id)imageRepWithPasteboard:(NSPasteboard *)pasteboard |
| To | + (NSImageRep * _Nullable)imageRepWithPasteboard:(NSPasteboard * _Nonnull)pasteboard |
Modified +[NSImageRep imageTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imageTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)imageUnfilteredFileTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageUnfilteredFileTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)imageUnfilteredPasteboardTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageUnfilteredPasteboardTypes |
Modified +[NSImageRep imageUnfilteredTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)imageUnfilteredTypes |
| To | + (NSArray<NSString *> * _Nonnull)imageUnfilteredTypes |
Modified -[NSImageRep init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSImageRep initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | + (NSArray *)registeredImageRepClasses |
| To | + (NSArray<Class> * _Nonnull)registeredImageRepClasses |
Modified +[NSImageRep registerImageRepClass:]
| Declaration | |
|---|---|
| From | + (void)registerImageRepClass:(Class)imageRepClass |
| To | + (void)registerImageRepClass:(Class _Nonnull)imageRepClass |
| Declaration | |
|---|---|
| From | + (void)unregisterImageRepClass:(Class)imageRepClass |
| To | + (void)unregisterImageRepClass:(Class _Nonnull)imageRepClass |
NSImageView.h
Modified NSImageView.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
NSInputManager.h
| Declaration | |
|---|---|
| From | + (NSInputManager *)currentInputManager |
| To | + (NSInputManager * _Null_unspecified)currentInputManager |
| Declaration | |
|---|---|
| From | + (void)cycleToNextInputLanguage:(id)sender |
| To | + (void)cycleToNextInputLanguage:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | + (void)cycleToNextInputServerInLanguage:(id)sender |
| To | + (void)cycleToNextInputServerInLanguage:(id _Nullable)sender |
Modified -[NSInputManager handleMouseEvent:]
| Declaration | |
|---|---|
| From | - (BOOL)handleMouseEvent:(NSEvent *)theMouseEvent |
| To | - (BOOL)handleMouseEvent:(NSEvent * _Null_unspecified)theMouseEvent |
Modified -[NSInputManager image]
| Declaration | |
|---|---|
| From | - (NSImage *)image |
| To | - (NSImage * _Null_unspecified)image |
Modified -[NSInputManager initWithName:host:]
| Declaration | |
|---|---|
| From | - (NSInputManager *)initWithName:(NSString *)inputServerName host:(NSString *)hostName |
| To | - (NSInputManager * _Null_unspecified)initWithName:(NSString * _Null_unspecified)inputServerName host:(NSString * _Null_unspecified)hostName |
Modified -[NSInputManager language]
| Declaration | |
|---|---|
| From | - (NSString *)language |
| To | - (NSString * _Null_unspecified)language |
| Declaration | |
|---|---|
| From | - (NSString *)localizedInputManagerName |
| To | - (NSString * _Null_unspecified)localizedInputManagerName |
| Declaration | |
|---|---|
| From | - (void)markedTextAbandoned:(id)cli |
| To | - (void)markedTextAbandoned:(id _Null_unspecified)cli |
| Declaration | |
|---|---|
| From | - (void)markedTextSelectionChanged:(NSRange)newSel client:(id)cli |
| To | - (void)markedTextSelectionChanged:(NSRange)newSel client:(id _Null_unspecified)cli |
Modified -[NSInputManager server]
| Declaration | |
|---|---|
| From | - (NSInputServer *)server |
| To | - (NSInputServer * _Null_unspecified)server |
| Declaration | |
|---|---|
| From | - (NSAttributedString *)attributedSubstringFromRange:(NSRange)theRange |
| To | - (NSAttributedString * _Null_unspecified)attributedSubstringFromRange:(NSRange)theRange |
Modified -[NSTextInput doCommandBySelector:]
| Declaration | |
|---|---|
| From | - (void)doCommandBySelector:(SEL)aSelector |
| To | - (void)doCommandBySelector:(SEL _Null_unspecified)aSelector |
Modified -[NSTextInput insertText:]
| Declaration | |
|---|---|
| From | - (void)insertText:(id)aString |
| To | - (void)insertText:(id _Null_unspecified)aString |
| Declaration | |
|---|---|
| From | - (void)setMarkedText:(id)aString selectedRange:(NSRange)selRange |
| To | - (void)setMarkedText:(id _Null_unspecified)aString selectedRange:(NSRange)selRange |
| Declaration | |
|---|---|
| From | - (NSArray *)validAttributesForMarkedText |
| To | - (NSArray * _Null_unspecified)validAttributesForMarkedText |
NSInputServer.h
| Declaration | |
|---|---|
| From | - (id)initWithDelegate:(id)aDelegate name:(NSString *)name |
| To | - (id)initWithDelegate:(id _Null_unspecified)aDelegate name:(NSString * _Null_unspecified)name |
| Declaration | |
|---|---|
| From | - (BOOL)mouseDownOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id)sender |
| To | - (BOOL)mouseDownOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id _Null_unspecified)sender |
Modified -[NSInputServerMouseTracker mouseDraggedOnCharacterIndex:atCoordinate:withModifier:client:]
| Declaration | |
|---|---|
| From | - (BOOL)mouseDraggedOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id)sender |
| To | - (BOOL)mouseDraggedOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id _Null_unspecified)sender |
| Declaration | |
|---|---|
| From | - (void)mouseUpOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id)sender |
| To | - (void)mouseUpOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id _Null_unspecified)sender |
| Declaration | |
|---|---|
| From | - (void)activeConversationChanged:(id)sender toNewConversation:(NSInteger)newConversation |
| To | - (void)activeConversationChanged:(id _Null_unspecified)sender toNewConversation:(NSInteger)newConversation |
| Declaration | |
|---|---|
| From | - (void)activeConversationWillChange:(id)sender fromOldConversation:(NSInteger)oldConversation |
| To | - (void)activeConversationWillChange:(id _Null_unspecified)sender fromOldConversation:(NSInteger)oldConversation |
| Declaration | |
|---|---|
| From | - (void)doCommandBySelector:(SEL)aSelector client:(id)sender |
| To | - (void)doCommandBySelector:(SEL _Null_unspecified)aSelector client:(id _Null_unspecified)sender |
| Declaration | |
|---|---|
| From | - (void)inputClientBecomeActive:(id)sender |
| To | - (void)inputClientBecomeActive:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)inputClientDisabled:(id)sender |
| To | - (void)inputClientDisabled:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)inputClientEnabled:(id)sender |
| To | - (void)inputClientEnabled:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)inputClientResignActive:(id)sender |
| To | - (void)inputClientResignActive:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)insertText:(id)aString client:(id)sender |
| To | - (void)insertText:(id _Null_unspecified)aString client:(id _Null_unspecified)sender |
| Declaration | |
|---|---|
| From | - (void)markedTextAbandoned:(id)sender |
| To | - (void)markedTextAbandoned:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)markedTextSelectionChanged:(NSRange)newSel client:(id)sender |
| To | - (void)markedTextSelectionChanged:(NSRange)newSel client:(id _Null_unspecified)sender |
Modified -[NSInputServiceProvider terminate:]
| Declaration | |
|---|---|
| From | - (void)terminate:(id)sender |
| To | - (void)terminate:(id _Nullable)sender |
NSKeyValueBinding.h
| Declaration | |
|---|---|
| From | - (void)bind:(NSString *)binding toObject:(id)observable withKeyPath:(NSString *)keyPath options:(NSDictionary *)options |
| To | - (void)bind:(NSString * _Nonnull)binding toObject:(id _Nonnull)observable withKeyPath:(NSString * _Nonnull)keyPath options:(NSDictionary<NSString *,id> * _Nullable)options |
| Declaration | |
|---|---|
| From | - (BOOL)commitEditingAndReturnError:(NSError **)error |
| To | - (BOOL)commitEditingAndReturnError:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)commitEditingWithDelegate:(id)delegate didCommitSelector:(SEL)didCommitSelector contextInfo:(void *)contextInfo |
| To | - (void)commitEditingWithDelegate:(id _Nullable)delegate didCommitSelector:(SEL _Nullable)didCommitSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | + (id)defaultPlaceholderForMarker:(id)marker withBinding:(NSString *)binding |
| To | + (id _Nullable)defaultPlaceholderForMarker:(id _Nullable)marker withBinding:(NSString * _Nonnull)binding |
Modified +[NSObject exposeBinding:]
| Declaration | |
|---|---|
| From | + (void)exposeBinding:(NSString *)binding |
| To | + (void)exposeBinding:(NSString * _Nonnull)binding |
Modified NSObject.exposedBindings
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *exposedBindings |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *exposedBindings |
Modified -[NSObject infoForBinding:]
| Declaration | |
|---|---|
| From | - (NSDictionary *)infoForBinding:(NSString *)binding |
| To | - (NSDictionary<NSString *,id> * _Nullable)infoForBinding:(NSString * _Nonnull)binding |
Modified -[NSObject objectDidBeginEditing:]
| Declaration | |
|---|---|
| From | - (void)objectDidBeginEditing:(id)editor |
| To | - (void)objectDidBeginEditing:(id _Nonnull)editor |
Modified -[NSObject objectDidEndEditing:]
| Declaration | |
|---|---|
| From | - (void)objectDidEndEditing:(id)editor |
| To | - (void)objectDidEndEditing:(id _Nonnull)editor |
| Declaration | |
|---|---|
| From | - (NSArray *)optionDescriptionsForBinding:(NSString *)aBinding |
| To | - (NSArray<NSAttributeDescription *> * _Nonnull)optionDescriptionsForBinding:(NSString * _Nonnull)aBinding |
| Declaration | |
|---|---|
| From | + (void)setDefaultPlaceholder:(id)placeholder forMarker:(id)marker withBinding:(NSString *)binding |
| To | + (void)setDefaultPlaceholder:(id _Nullable)placeholder forMarker:(id _Nullable)marker withBinding:(NSString * _Nonnull)binding |
Modified -[NSObject unbind:]
| Declaration | |
|---|---|
| From | - (void)unbind:(NSString *)binding |
| To | - (void)unbind:(NSString * _Nonnull)binding |
Modified -[NSObject valueClassForBinding:]
| Declaration | |
|---|---|
| From | - (Class)valueClassForBinding:(NSString *)binding |
| To | - (Class _Nullable)valueClassForBinding:(NSString * _Nonnull)binding |
Modified NSIsControllerMarker()
| Declaration | |
|---|---|
| From | BOOL NSIsControllerMarker (
id object
);
|
| To | BOOL NSIsControllerMarker (
id _Nullable object
);
|
NSLayoutAnchor.h (Added)
NSLayoutConstraint.h
Added NSView.bottomAnchor
Added NSView.centerXAnchor
Added NSView.centerYAnchor
Added NSView.heightAnchor
Added NSView.leadingAnchor
Added NSView.leftAnchor
Added NSView.rightAnchor
Added NSView.topAnchor
Added NSView.trailingAnchor
Added NSView.widthAnchor
Added NSViewNoIntrinsicMetric
| Declaration | |
|---|---|
| From | - (void)invalidateIntrinsicContentSizeForCell:(NSCell *)cell |
| To | - (void)invalidateIntrinsicContentSizeForCell:(NSCell * _Nonnull)cell |
| Declaration | |
|---|---|
| From | + (void)activateConstraints:(NSArray *)constraints |
| To | + (void)activateConstraints:(NSArray<NSLayoutConstraint *> * _Nonnull)constraints |
| Declaration | |
|---|---|
| From | + (NSArray *)constraintsWithVisualFormat:(NSString *)format options:(NSLayoutFormatOptions)opts metrics:(NSDictionary *)metrics views:(NSDictionary *)views |
| To | + (NSArray<NSLayoutConstraint *> * _Nonnull)constraintsWithVisualFormat:(NSString * _Nonnull)format options:(NSLayoutFormatOptions)opts metrics:(NSDictionary<NSString *,NSNumber *> * _Nullable)metrics views:(NSDictionary<NSString *,id> * _Nonnull)views |
Modified +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]
| Declaration | |
|---|---|
| From | + (instancetype)constraintWithItem:(id)view1 attribute:(NSLayoutAttribute)attr1 relatedBy:(NSLayoutRelation)relation toItem:(id)view2 attribute:(NSLayoutAttribute)attr2 multiplier:(CGFloat)multiplier constant:(CGFloat)c |
| To | + (instancetype _Nonnull)constraintWithItem:(id _Nonnull)view1 attribute:(NSLayoutAttribute)attr1 relatedBy:(NSLayoutRelation)relation toItem:(id _Nullable)view2 attribute:(NSLayoutAttribute)attr2 multiplier:(CGFloat)multiplier constant:(CGFloat)c |
| Declaration | |
|---|---|
| From | + (void)deactivateConstraints:(NSArray *)constraints |
| To | + (void)deactivateConstraints:(NSArray<NSLayoutConstraint *> * _Nonnull)constraints |
Modified NSLayoutConstraint.firstItem
| Declaration | |
|---|---|
| From | @property(readonly, assign) id firstItem |
| To | @property(readonly, assign, nonnull) id firstItem |
Modified NSLayoutConstraint.identifier
| Declaration | |
|---|---|
| From | @property(copy) NSString *identifier |
| To | @property(copy, nullable) NSString *identifier |
Modified NSLayoutConstraint.secondItem
| Declaration | |
|---|---|
| From | @property(readonly, assign) id secondItem |
| To | @property(readonly, assign, nullable) id secondItem |
Modified -[NSView addConstraint:]
| Declaration | |
|---|---|
| From | - (void)addConstraint:(NSLayoutConstraint *)constraint |
| To | - (void)addConstraint:(NSLayoutConstraint * _Nonnull)constraint |
Modified -[NSView addConstraints:]
| Declaration | |
|---|---|
| From | - (void)addConstraints:(NSArray *)constraints |
| To | - (void)addConstraints:(NSArray<NSLayoutConstraint *> * _Nonnull)constraints |
Modified NSView.constraints
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *constraints |
| To | @property(readonly, copy, nonnull) NSArray<NSLayoutConstraint *> *constraints |
| Declaration | |
|---|---|
| From | - (NSArray *)constraintsAffectingLayoutForOrientation:(NSLayoutConstraintOrientation)orientation |
| To | - (NSArray<NSLayoutConstraint *> * _Nonnull)constraintsAffectingLayoutForOrientation:(NSLayoutConstraintOrientation)orientation |
Modified -[NSView removeConstraint:]
| Declaration | |
|---|---|
| From | - (void)removeConstraint:(NSLayoutConstraint *)constraint |
| To | - (void)removeConstraint:(NSLayoutConstraint * _Nonnull)constraint |
Modified -[NSView removeConstraints:]
| Declaration | |
|---|---|
| From | - (void)removeConstraints:(NSArray *)constraints |
| To | - (void)removeConstraints:(NSArray<NSLayoutConstraint *> * _Nonnull)constraints |
Modified -[NSWindow visualizeConstraints:]
| Declaration | |
|---|---|
| From | - (void)visualizeConstraints:(NSArray *)constraints |
| To | - (void)visualizeConstraints:(NSArray<NSLayoutConstraint *> * _Nonnull)constraints |
NSLayoutGuide.h (Added)
Added NSLayoutGuide
Added NSLayoutGuide.frame
Added NSLayoutGuide.identifier
Added NSLayoutGuide.leftAnchor
Added NSLayoutGuide.owningView
Added NSLayoutGuide.topAnchor
Added NSView.layoutGuides
Added NSView(NSLayoutGuideSupport)
NSLayoutManager.h
Removed NSLayoutManager.attributedString
Removed NSLayoutManager.layoutOptions
Added -[NSLayoutManagerDelegate layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:]
Added NSControlCharacterAction
Added NSGlyphProperty
Added NSGlyphPropertyElastic
Added NSGlyphPropertyNull
Added NSLayoutManager(NSGlyphGeneration)
Added NSLayoutManager(NSLayoutManagerDeprecated)
Modified NSLayoutManager
| Protocols | |
|---|---|
| From | NSCoding, NSGlyphStorage |
| To | NSCoding |
| Declaration | |
|---|---|
| From | - (void)addTemporaryAttribute:(NSString *)attrName value:(id)value forCharacterRange:(NSRange)charRange |
| To | - (void)addTemporaryAttribute:(NSString * _Nonnull)attrName value:(id _Nonnull)value forCharacterRange:(NSRange)charRange |
| Declaration | |
|---|---|
| From | - (void)addTemporaryAttributes:(NSDictionary *)attrs forCharacterRange:(NSRange)charRange |
| To | - (void)addTemporaryAttributes:(NSDictionary<NSString *,id> * _Nonnull)attrs forCharacterRange:(NSRange)charRange |
Modified -[NSLayoutManager addTextContainer:]
| Declaration | |
|---|---|
| From | - (void)addTextContainer:(NSTextContainer *)container |
| To | - (void)addTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (NSRect)boundingRectForGlyphRange:(NSRange)glyphRange inTextContainer:(NSTextContainer *)container |
| To | - (NSRect)boundingRectForGlyphRange:(NSRange)glyphRange inTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (NSRect)boundsRectForTextBlock:(NSTextBlock *)block atIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange |
| To | - (NSRect)boundsRectForTextBlock:(NSTextBlock * _Nonnull)block atIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange |
| Declaration | |
|---|---|
| From | - (NSRect)boundsRectForTextBlock:(NSTextBlock *)block glyphRange:(NSRange)glyphRange |
| To | - (NSRect)boundsRectForTextBlock:(NSTextBlock * _Nonnull)block glyphRange:(NSRange)glyphRange |
Modified -[NSLayoutManager characterIndexForPoint:inTextContainer:fractionOfDistanceBetweenInsertionPoints:]
| Declaration | |
|---|---|
| From | - (NSUInteger)characterIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer *)container fractionOfDistanceBetweenInsertionPoints:(CGFloat *)partialFraction |
| To | - (NSUInteger)characterIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer * _Nonnull)container fractionOfDistanceBetweenInsertionPoints:(CGFloat * _Nullable)partialFraction |
| Declaration | |
|---|---|
| From | - (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer)actualGlyphRange |
| To | - (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer _Nullable)actualGlyphRange |
| Declaration | |
|---|---|
| From | - (CGFloat)defaultBaselineOffsetForFont:(NSFont *)theFont |
| To | - (CGFloat)defaultBaselineOffsetForFont:(NSFont * _Nonnull)theFont |
| Declaration | |
|---|---|
| From | - (CGFloat)defaultLineHeightForFont:(NSFont *)theFont |
| To | - (CGFloat)defaultLineHeightForFont:(NSFont * _Nonnull)theFont |
Modified NSLayoutManager.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSLayoutManagerDelegate> delegate |
| To | @property(assign, nullable) id<NSLayoutManagerDelegate> delegate |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)drawStrikethroughForGlyphRange:(NSRange)glyphRange strikethroughType:(NSInteger)strikethroughVal baselineOffset:(CGFloat)baselineOffset lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| To | - (void)drawStrikethroughForGlyphRange:(NSRange)glyphRange strikethroughType:(NSUnderlineStyle)strikethroughVal baselineOffset:(CGFloat)baselineOffset lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| Declaration | |
|---|---|
| From | - (void)drawUnderlineForGlyphRange:(NSRange)glyphRange underlineType:(NSInteger)underlineVal baselineOffset:(CGFloat)baselineOffset lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| To | - (void)drawUnderlineForGlyphRange:(NSRange)glyphRange underlineType:(NSUnderlineStyle)underlineVal baselineOffset:(CGFloat)baselineOffset lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| Declaration | |
|---|---|
| From | - (void)ensureLayoutForBoundingRect:(NSRect)bounds inTextContainer:(NSTextContainer *)container |
| To | - (void)ensureLayoutForBoundingRect:(NSRect)bounds inTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (void)ensureLayoutForTextContainer:(NSTextContainer *)container |
| To | - (void)ensureLayoutForTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSTextContainer *extraLineFragmentTextContainer |
| To | @property(readonly, nullable) NSTextContainer *extraLineFragmentTextContainer |
| Declaration | |
|---|---|
| From | - (void)fillBackgroundRectArray:(NSRectArray)rectArray count:(NSUInteger)rectCount forCharacterRange:(NSRange)charRange color:(NSColor *)color |
| To | - (void)fillBackgroundRectArray:(const NSRect * _Nonnull)rectArray count:(NSUInteger)rectCount forCharacterRange:(NSRange)charRange color:(NSColor * _Nonnull)color |
Modified NSLayoutManager.firstTextView
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSTextView *firstTextView |
| To | @property(readonly, assign, nullable) NSTextView *firstTextView |
| Declaration | |
|---|---|
| From | @property(readonly) NSUInteger firstUnlaidCharacterIndex |
| To | - (NSUInteger)firstUnlaidCharacterIndex |
| Declaration | |
|---|---|
| From | @property(readonly) NSUInteger firstUnlaidGlyphIndex |
| To | - (NSUInteger)firstUnlaidGlyphIndex |
| Declaration | |
|---|---|
| From | - (CGFloat)fractionOfDistanceThroughGlyphForPoint:(NSPoint)point inTextContainer:(NSTextContainer *)container |
| To | - (CGFloat)fractionOfDistanceThroughGlyphForPoint:(NSPoint)point inTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (void)getFirstUnlaidCharacterIndex:(NSUInteger *)charIndex glyphIndex:(NSUInteger *)glyphIndex |
| To | - (void)getFirstUnlaidCharacterIndex:(NSUInteger * _Nullable)charIndex glyphIndex:(NSUInteger * _Nullable)glyphIndex |
Modified -[NSLayoutManager getGlyphs:range:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSUInteger)getGlyphs:(NSGlyph *)glyphArray range:(NSRange)glyphRange | -- |
| To | - (NSUInteger)getGlyphs:(NSGlyph * _Nullable)glyphArray range:(NSRange)glyphRange | OS X 10.11 |
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSUInteger)getGlyphsInRange:(NSRange)glyphRange glyphs:(NSGlyph *)glyphBuffer characterIndexes:(NSUInteger *)charIndexBuffer glyphInscriptions:(NSGlyphInscription *)inscribeBuffer elasticBits:(BOOL *)elasticBuffer | -- |
| To | - (NSUInteger)getGlyphsInRange:(NSRange)glyphRange glyphs:(NSGlyph * _Nullable)glyphBuffer characterIndexes:(NSUInteger * _Nullable)charIndexBuffer glyphInscriptions:(NSGlyphInscription * _Nullable)inscribeBuffer elasticBits:(BOOL * _Nullable)elasticBuffer | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (NSUInteger)getGlyphsInRange:(NSRange)glyphRange glyphs:(NSGlyph *)glyphBuffer characterIndexes:(NSUInteger *)charIndexBuffer glyphInscriptions:(NSGlyphInscription *)inscribeBuffer elasticBits:(BOOL *)elasticBuffer bidiLevels:(unsigned char *)bidiLevelBuffer | OS X 10.2 | -- |
| To | - (NSUInteger)getGlyphsInRange:(NSRange)glyphRange glyphs:(NSGlyph * _Nullable)glyphBuffer characterIndexes:(NSUInteger * _Nullable)charIndexBuffer glyphInscriptions:(NSGlyphInscription * _Nullable)inscribeBuffer elasticBits:(BOOL * _Nullable)elasticBuffer bidiLevels:(unsigned char * _Nullable)bidiLevelBuffer | OS X 10.0 | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSUInteger)getLineFragmentInsertionPointsForCharacterAtIndex:(NSUInteger)charIndex alternatePositions:(BOOL)aFlag inDisplayOrder:(BOOL)dFlag positions:(CGFloat *)positions characterIndexes:(NSUInteger *)charIndexes |
| To | - (NSUInteger)getLineFragmentInsertionPointsForCharacterAtIndex:(NSUInteger)charIndex alternatePositions:(BOOL)aFlag inDisplayOrder:(BOOL)dFlag positions:(CGFloat * _Nullable)positions characterIndexes:(NSUInteger * _Nullable)charIndexes |
Modified -[NSLayoutManager glyphAtIndex:]
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSGlyph)glyphAtIndex:(NSUInteger)glyphIndex isValidIndex:(BOOL *)isValidIndex | -- |
| To | - (NSGlyph)glyphAtIndex:(NSUInteger)glyphIndex isValidIndex:(BOOL * _Nullable)isValidIndex | OS X 10.11 |
Modified NSLayoutManager.glyphGenerator
| Declaration | |
|---|---|
| From | @property(strong) NSGlyphGenerator *glyphGenerator |
| To | @property(strong, nonnull) NSGlyphGenerator *glyphGenerator |
| Declaration | |
|---|---|
| From | - (NSUInteger)glyphIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer *)container |
| To | - (NSUInteger)glyphIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (NSUInteger)glyphIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer *)container fractionOfDistanceThroughGlyph:(CGFloat *)partialFraction |
| To | - (NSUInteger)glyphIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer * _Nonnull)container fractionOfDistanceThroughGlyph:(CGFloat * _Nullable)partialFraction |
| Declaration | |
|---|---|
| From | - (NSRange)glyphRangeForBoundingRect:(NSRect)bounds inTextContainer:(NSTextContainer *)container |
| To | - (NSRange)glyphRangeForBoundingRect:(NSRect)bounds inTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (NSRange)glyphRangeForBoundingRectWithoutAdditionalLayout:(NSRect)bounds inTextContainer:(NSTextContainer *)container |
| To | - (NSRange)glyphRangeForBoundingRectWithoutAdditionalLayout:(NSRect)bounds inTextContainer:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange |
| To | - (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer _Nullable)actualCharRange |
| Declaration | |
|---|---|
| From | - (NSRange)glyphRangeForTextContainer:(NSTextContainer *)container |
| To | - (NSRange)glyphRangeForTextContainer:(NSTextContainer * _Nonnull)container |
Modified -[NSLayoutManager init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (void)insertGlyphs:(const NSGlyph *)glyphs length:(NSUInteger)length forStartingGlyphAtIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)charIndex | OS X 10.5 | -- |
| To | - (void)insertGlyphs:(const NSGlyph * _Nonnull)glyphs length:(NSUInteger)length forStartingGlyphAtIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)charIndex | OS X 10.0 | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)insertTextContainer:(NSTextContainer *)container atIndex:(NSUInteger)index |
| To | - (void)insertTextContainer:(NSTextContainer * _Nonnull)container atIndex:(NSUInteger)index |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)invalidateGlyphsForCharacterRange:(NSRange)charRange changeInLength:(NSInteger)delta actualCharacterRange:(NSRangePointer)actualCharRange |
| To | - (void)invalidateGlyphsForCharacterRange:(NSRange)charRange changeInLength:(NSInteger)delta actualCharacterRange:(NSRangePointer _Nullable)actualCharRange |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)invalidateLayoutForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange |
| To | - (void)invalidateLayoutForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer _Nullable)actualCharRange |
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)invalidateLayoutForCharacterRange:(NSRange)charRange isSoft:(BOOL)flag actualCharacterRange:(NSRangePointer)actualCharRange | -- |
| To | - (void)invalidateLayoutForCharacterRange:(NSRange)charRange isSoft:(BOOL)flag actualCharacterRange:(NSRangePointer _Nullable)actualCharRange | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (BOOL)layoutManagerOwnsFirstResponderInWindow:(NSWindow *)window |
| To | - (BOOL)layoutManagerOwnsFirstResponderInWindow:(NSWindow * _Nonnull)window |
| Declaration | |
|---|---|
| From | - (NSRect)layoutRectForTextBlock:(NSTextBlock *)block atIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange |
| To | - (NSRect)layoutRectForTextBlock:(NSTextBlock * _Nonnull)block atIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange |
| Declaration | |
|---|---|
| From | - (NSRect)layoutRectForTextBlock:(NSTextBlock *)block glyphRange:(NSRange)glyphRange |
| To | - (NSRect)layoutRectForTextBlock:(NSTextBlock * _Nonnull)block glyphRange:(NSRange)glyphRange |
| Declaration | |
|---|---|
| From | - (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange |
| To | - (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange |
| Declaration | Introduction | |
|---|---|---|
| From | - (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag | OS X 10.4 |
| To | - (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag | OS X 10.0 |
| Declaration | |
|---|---|
| From | - (NSRect)lineFragmentUsedRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange |
| To | - (NSRect)lineFragmentUsedRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange |
Modified -[NSLayoutManager lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:]
| Declaration | Introduction | |
|---|---|---|
| From | - (NSRect)lineFragmentUsedRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag | OS X 10.4 |
| To | - (NSRect)lineFragmentUsedRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag | OS X 10.0 |
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSRectArray)rectArrayForCharacterRange:(NSRange)charRange withinSelectedCharacterRange:(NSRange)selCharRange inTextContainer:(NSTextContainer *)container rectCount:(NSUInteger *)rectCount | -- |
| To | - (NSRectArray _Nullable)rectArrayForCharacterRange:(NSRange)charRange withinSelectedCharacterRange:(NSRange)selCharRange inTextContainer:(NSTextContainer * _Nonnull)container rectCount:(NSUInteger * _Nonnull)rectCount | OS X 10.11 |
Modified -[NSLayoutManager rectArrayForGlyphRange:withinSelectedGlyphRange:inTextContainer:rectCount:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSRectArray)rectArrayForGlyphRange:(NSRange)glyphRange withinSelectedGlyphRange:(NSRange)selGlyphRange inTextContainer:(NSTextContainer *)container rectCount:(NSUInteger *)rectCount | -- |
| To | - (NSRectArray _Nullable)rectArrayForGlyphRange:(NSRange)glyphRange withinSelectedGlyphRange:(NSRange)selGlyphRange inTextContainer:(NSTextContainer * _Nonnull)container rectCount:(NSUInteger * _Nonnull)rectCount | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)removeTemporaryAttribute:(NSString *)attrName forCharacterRange:(NSRange)charRange |
| To | - (void)removeTemporaryAttribute:(NSString * _Nonnull)attrName forCharacterRange:(NSRange)charRange |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)replaceTextStorage:(NSTextStorage *)newTextStorage |
| To | - (void)replaceTextStorage:(NSTextStorage * _Nonnull)newTextStorage |
| Declaration | |
|---|---|
| From | - (NSView *)rulerAccessoryViewForTextView:(NSTextView *)view paragraphStyle:(NSParagraphStyle *)style ruler:(NSRulerView *)ruler enabled:(BOOL)isEnabled |
| To | - (__kindof NSView * _Nullable)rulerAccessoryViewForTextView:(NSTextView * _Nonnull)view paragraphStyle:(NSParagraphStyle * _Nonnull)style ruler:(NSRulerView * _Nonnull)ruler enabled:(BOOL)isEnabled |
| Declaration | |
|---|---|
| From | - (NSArray *)rulerMarkersForTextView:(NSTextView *)view paragraphStyle:(NSParagraphStyle *)style ruler:(NSRulerView *)ruler |
| To | - (NSArray<NSRulerMarker *> * _Nonnull)rulerMarkersForTextView:(NSTextView * _Nonnull)view paragraphStyle:(NSParagraphStyle * _Nonnull)style ruler:(NSRulerView * _Nonnull)ruler |
| Declaration | |
|---|---|
| From | - (void)setBoundsRect:(NSRect)rect forTextBlock:(NSTextBlock *)block glyphRange:(NSRange)glyphRange |
| To | - (void)setBoundsRect:(NSRect)rect forTextBlock:(NSTextBlock * _Nonnull)block glyphRange:(NSRange)glyphRange |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)setExtraLineFragmentRect:(NSRect)fragmentRect usedRect:(NSRect)usedRect textContainer:(NSTextContainer *)container |
| To | - (void)setExtraLineFragmentRect:(NSRect)fragmentRect usedRect:(NSRect)usedRect textContainer:(NSTextContainer * _Nonnull)container |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)setLayoutRect:(NSRect)rect forTextBlock:(NSTextBlock *)block glyphRange:(NSRange)glyphRange |
| To | - (void)setLayoutRect:(NSRect)rect forTextBlock:(NSTextBlock * _Nonnull)block glyphRange:(NSRange)glyphRange |
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)setLocations:(NSPointArray)locations startingGlyphIndexes:(NSUInteger *)glyphIndexes count:(NSUInteger)count forGlyphRange:(NSRange)glyphRange | -- |
| To | - (void)setLocations:(NSPointArray _Nonnull)locations startingGlyphIndexes:(NSUInteger * _Nonnull)glyphIndexes count:(NSUInteger)count forGlyphRange:(NSRange)glyphRange | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)setTemporaryAttributes:(NSDictionary *)attrs forCharacterRange:(NSRange)charRange |
| To | - (void)setTemporaryAttributes:(NSDictionary<NSString *,id> * _Nonnull)attrs forCharacterRange:(NSRange)charRange |
| Declaration | |
|---|---|
| From | - (void)setTextContainer:(NSTextContainer *)container forGlyphRange:(NSRange)glyphRange |
| To | - (void)setTextContainer:(NSTextContainer * _Nonnull)container forGlyphRange:(NSRange)glyphRange |
| Declaration | |
|---|---|
| From | - (void)showAttachmentCell:(NSCell *)cell inRect:(NSRect)rect characterIndex:(NSUInteger)attachmentIndex |
| To | - (void)showAttachmentCell:(NSCell * _Nonnull)cell inRect:(NSRect)rect characterIndex:(NSUInteger)attachmentIndex |
| Declaration | |
|---|---|
| From | - (void)showCGGlyphs:(const CGGlyph *)glyphs positions:(const NSPoint *)positions count:(NSUInteger)glyphCount font:(NSFont *)font matrix:(NSAffineTransform *)textMatrix attributes:(NSDictionary *)attributes inContext:(NSGraphicsContext *)graphicsContext |
| To | - (void)showCGGlyphs:(const CGGlyph * _Nonnull)glyphs positions:(const NSPoint * _Nonnull)positions count:(NSUInteger)glyphCount font:(NSFont * _Nonnull)font matrix:(NSAffineTransform * _Nonnull)textMatrix attributes:(NSDictionary<NSString *,id> * _Nonnull)attributes inContext:(NSGraphicsContext * _Nonnull)graphicsContext |
Modified -[NSLayoutManager showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:]
| Declaration | |
|---|---|
| From | - (void)showPackedGlyphs:(char *)glyphs length:(NSUInteger)glyphLen glyphRange:(NSRange)glyphRange atPoint:(NSPoint)point font:(NSFont *)font color:(NSColor *)color printingAdjustment:(NSSize)printingAdjustment |
| To | - (void)showPackedGlyphs:(char * _Nonnull)glyphs length:(NSUInteger)glyphLen glyphRange:(NSRange)glyphRange atPoint:(NSPoint)point font:(NSFont * _Nonnull)font color:(NSColor * _Nonnull)color printingAdjustment:(NSSize)printingAdjustment |
| Declaration | |
|---|---|
| From | - (void)strikethroughGlyphRange:(NSRange)glyphRange strikethroughType:(NSInteger)strikethroughVal lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| To | - (void)strikethroughGlyphRange:(NSRange)glyphRange strikethroughType:(NSUnderlineStyle)strikethroughVal lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSFont *)substituteFontForFont:(NSFont *)originalFont | -- |
| To | - (NSFont * _Nonnull)substituteFontForFont:(NSFont * _Nonnull)originalFont | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (id)temporaryAttribute:(NSString *)attrName atCharacterIndex:(NSUInteger)location effectiveRange:(NSRangePointer)range |
| To | - (id _Nullable)temporaryAttribute:(NSString * _Nonnull)attrName atCharacterIndex:(NSUInteger)location effectiveRange:(NSRangePointer _Nullable)range |
| Declaration | |
|---|---|
| From | - (id)temporaryAttribute:(NSString *)attrName atCharacterIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer)range inRange:(NSRange)rangeLimit |
| To | - (id _Nullable)temporaryAttribute:(NSString * _Nonnull)attrName atCharacterIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer _Nullable)range inRange:(NSRange)rangeLimit |
| Declaration | |
|---|---|
| From | - (NSDictionary *)temporaryAttributesAtCharacterIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer)effectiveCharRange |
| To | - (NSDictionary<NSString *,id> * _Nonnull)temporaryAttributesAtCharacterIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer _Nullable)effectiveCharRange |
| Declaration | |
|---|---|
| From | - (NSDictionary *)temporaryAttributesAtCharacterIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer)range inRange:(NSRange)rangeLimit |
| To | - (NSDictionary<NSString *,id> * _Nonnull)temporaryAttributesAtCharacterIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer _Nullable)range inRange:(NSRange)rangeLimit |
| Declaration | |
|---|---|
| From | - (void)textContainerChangedGeometry:(NSTextContainer *)container |
| To | - (void)textContainerChangedGeometry:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (void)textContainerChangedTextView:(NSTextContainer *)container |
| To | - (void)textContainerChangedTextView:(NSTextContainer * _Nonnull)container |
| Declaration | |
|---|---|
| From | - (NSTextContainer *)textContainerForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange |
| To | - (NSTextContainer * _Nullable)textContainerForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange |
| Declaration | Introduction | |
|---|---|---|
| From | - (NSTextContainer *)textContainerForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag | OS X 10.4 |
| To | - (NSTextContainer * _Nullable)textContainerForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer _Nullable)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag | OS X 10.0 |
Modified NSLayoutManager.textContainers
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *textContainers |
| To | @property(readonly, nonnull) NSArray<NSTextContainer *> *textContainers |
Modified NSLayoutManager.textStorage
| Declaration | |
|---|---|
| From | @property(assign) NSTextStorage *textStorage |
| To | @property(assign, nullable) NSTextStorage *textStorage |
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)textStorage:(NSTextStorage *)str edited:(NSTextStorageEditedOptions)editedMask range:(NSRange)newCharRange changeInLength:(NSInteger)delta invalidatedRange:(NSRange)invalidatedCharRange | -- |
| To | - (void)textStorage:(NSTextStorage * _Nonnull)str edited:(NSTextStorageEditedOptions)editedMask range:(NSRange)newCharRange changeInLength:(NSInteger)delta invalidatedRange:(NSRange)invalidatedCharRange | OS X 10.11 |
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSTextView *textViewForBeginningOfSelection |
| To | @property(readonly, assign, nullable) NSTextView *textViewForBeginningOfSelection |
Modified NSLayoutManager.typesetter
| Declaration | |
|---|---|
| From | @property(strong) NSTypesetter *typesetter |
| To | @property(strong, nonnull) __kindof NSTypesetter *typesetter |
| Declaration | |
|---|---|
| From | - (void)underlineGlyphRange:(NSRange)glyphRange underlineType:(NSInteger)underlineVal lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| To | - (void)underlineGlyphRange:(NSRange)glyphRange underlineType:(NSUnderlineStyle)underlineVal lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin |
| Declaration | |
|---|---|
| From | - (NSRect)usedRectForTextContainer:(NSTextContainer *)container |
| To | - (NSRect)usedRectForTextContainer:(NSTextContainer * _Nonnull)container |
Modified NSLayoutManager.usesScreenFonts
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)layoutManager:(NSLayoutManager *)layoutManager didCompleteLayoutForTextContainer:(NSTextContainer *)textContainer atEnd:(BOOL)layoutFinishedFlag |
| To | - (void)layoutManager:(NSLayoutManager * _Nonnull)layoutManager didCompleteLayoutForTextContainer:(NSTextContainer * _Nullable)textContainer atEnd:(BOOL)layoutFinishedFlag |
| Declaration | |
|---|---|
| From | - (NSDictionary *)layoutManager:(NSLayoutManager *)layoutManager shouldUseTemporaryAttributes:(NSDictionary *)attrs forDrawingToScreen:(BOOL)toScreen atCharacterIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer)effectiveCharRange |
| To | - (NSDictionary<NSString *,id> * _Nullable)layoutManager:(NSLayoutManager * _Nonnull)layoutManager shouldUseTemporaryAttributes:(NSDictionary<NSString *,id> * _Nonnull)attrs forDrawingToScreen:(BOOL)toScreen atCharacterIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer _Nullable)effectiveCharRange |
| Declaration | |
|---|---|
| From | - (void)layoutManagerDidInvalidateLayout:(NSLayoutManager *)sender |
| To | - (void)layoutManagerDidInvalidateLayout:(NSLayoutManager * _Nonnull)sender |
Modified NSGlyphAttributeBidiLevel
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.2 | -- |
| To | OS X 10.0 | OS X 10.11 |
Modified NSGlyphAttributeElastic
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSGlyphAttributeInscribe
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSGlyphAttributeSoft
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSGlyphInscribeAbove
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSGlyphInscribeBase
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSGlyphInscribeBelow
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSGlyphInscribeOverBelow
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSGlyphInscribeOverstrike
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
NSLevelIndicatorCell.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithLevelIndicatorStyle:(NSLevelIndicatorStyle)levelIndicatorStyle |
| To | - (instancetype _Nonnull)initWithLevelIndicatorStyle:(NSLevelIndicatorStyle)levelIndicatorStyle |
Modified -[NSLevelIndicatorCell setImage:]
| Declaration | |
|---|---|
| From | - (void)setImage:(NSImage *)image |
| To | - (void)setImage:(NSImage * _Nullable)image |
NSMatrix.h
Modified -[NSMatrix acceptsFirstMouse:]
| Declaration | |
|---|---|
| From | - (BOOL)acceptsFirstMouse:(NSEvent *)theEvent |
| To | - (BOOL)acceptsFirstMouse:(NSEvent * _Nullable)theEvent |
Modified -[NSMatrix addColumnWithCells:]
| Declaration | |
|---|---|
| From | - (void)addColumnWithCells:(NSArray *)newCells |
| To | - (void)addColumnWithCells:(NSArray<NSCell *> * _Nonnull)newCells |
Modified -[NSMatrix addRowWithCells:]
| Declaration | |
|---|---|
| From | - (void)addRowWithCells:(NSArray *)newCells |
| To | - (void)addRowWithCells:(NSArray<NSCell *> * _Nonnull)newCells |
Modified NSMatrix.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
Modified -[NSMatrix cellAtRow:column:]
| Declaration | |
|---|---|
| From | - (id)cellAtRow:(NSInteger)row column:(NSInteger)col |
| To | - (__kindof NSCell * _Nullable)cellAtRow:(NSInteger)row column:(NSInteger)col |
Modified NSMatrix.cellBackgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *cellBackgroundColor |
| To | @property(copy, nullable) NSColor *cellBackgroundColor |
Modified NSMatrix.cellClass
| Declaration | |
|---|---|
| From | @property(assign) Class cellClass |
| To | @property(assign, nonnull) Class cellClass |
Modified NSMatrix.cells
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *cells |
| To | @property(readonly, copy, nonnull) NSArray<NSCell *> *cells |
Modified -[NSMatrix cellWithTag:]
| Declaration | |
|---|---|
| From | - (id)cellWithTag:(NSInteger)anInt |
| To | - (__kindof NSCell * _Nullable)cellWithTag:(NSInteger)anInt |
Modified NSMatrix.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSMatrixDelegate> delegate |
| To | @property(assign, nullable) id<NSMatrixDelegate> delegate |
Modified NSMatrix.doubleAction
| Declaration | |
|---|---|
| From | @property SEL doubleAction |
| To | @property(nullable) SEL doubleAction |
Modified -[NSMatrix getNumberOfRows:columns:]
| Declaration | |
|---|---|
| From | - (void)getNumberOfRows:(NSInteger *)rowCount columns:(NSInteger *)colCount |
| To | - (void)getNumberOfRows:(NSInteger * _Nullable)rowCount columns:(NSInteger * _Nullable)colCount |
Modified -[NSMatrix getRow:column:forPoint:]
| Declaration | |
|---|---|
| From | - (BOOL)getRow:(NSInteger *)row column:(NSInteger *)col forPoint:(NSPoint)aPoint |
| To | - (BOOL)getRow:(NSInteger * _Nonnull)row column:(NSInteger * _Nonnull)col forPoint:(NSPoint)aPoint |
Modified -[NSMatrix getRow:column:ofCell:]
| Declaration | |
|---|---|
| From | - (BOOL)getRow:(NSInteger *)row column:(NSInteger *)col ofCell:(NSCell *)aCell |
| To | - (BOOL)getRow:(NSInteger * _Nonnull)row column:(NSInteger * _Nonnull)col ofCell:(NSCell * _Nonnull)aCell |
Modified -[NSMatrix initWithFrame:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode cellClass:(Class)factoryId numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode cellClass:(Class _Nullable)factoryId numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode prototype:(NSCell *)aCell numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode prototype:(NSCell * _Nonnull)aCell numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide |
Modified -[NSMatrix insertColumn:withCells:]
| Declaration | |
|---|---|
| From | - (void)insertColumn:(NSInteger)column withCells:(NSArray *)newCells |
| To | - (void)insertColumn:(NSInteger)column withCells:(NSArray<NSCell *> * _Nonnull)newCells |
Modified -[NSMatrix insertRow:withCells:]
| Declaration | |
|---|---|
| From | - (void)insertRow:(NSInteger)row withCells:(NSArray *)newCells |
| To | - (void)insertRow:(NSInteger)row withCells:(NSArray<NSCell *> * _Nonnull)newCells |
Modified NSMatrix.keyCell
| Declaration | |
|---|---|
| From | @property(assign) id keyCell |
| To | @property(assign, nullable) __kindof NSCell *keyCell |
Modified -[NSMatrix makeCellAtRow:column:]
| Declaration | |
|---|---|
| From | - (NSCell *)makeCellAtRow:(NSInteger)row column:(NSInteger)col |
| To | - (NSCell * _Nonnull)makeCellAtRow:(NSInteger)row column:(NSInteger)col |
Modified -[NSMatrix mouseDown:]
| Declaration | |
|---|---|
| From | - (void)mouseDown:(NSEvent *)theEvent |
| To | - (void)mouseDown:(NSEvent * _Nonnull)theEvent |
Modified -[NSMatrix performKeyEquivalent:]
| Declaration | |
|---|---|
| From | - (BOOL)performKeyEquivalent:(NSEvent *)theEvent |
| To | - (BOOL)performKeyEquivalent:(NSEvent * _Nonnull)theEvent |
Modified NSMatrix.prototype
| Declaration | |
|---|---|
| From | @property(copy) id prototype |
| To | @property(copy, nullable) __kindof NSCell *prototype |
Modified -[NSMatrix putCell:atRow:column:]
| Declaration | |
|---|---|
| From | - (void)putCell:(NSCell *)newCell atRow:(NSInteger)row column:(NSInteger)col |
| To | - (void)putCell:(NSCell * _Nonnull)newCell atRow:(NSInteger)row column:(NSInteger)col |
Modified -[NSMatrix selectAll:]
| Declaration | |
|---|---|
| From | - (void)selectAll:(id)sender |
| To | - (void)selectAll:(id _Nullable)sender |
Modified NSMatrix.selectedCell
| Declaration | |
|---|---|
| From | @property(readonly, strong) id selectedCell |
| To | @property(readonly, strong, nullable) __kindof NSCell *selectedCell |
Modified NSMatrix.selectedCells
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *selectedCells |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSCell *> *selectedCells |
Modified -[NSMatrix selectText:]
| Declaration | |
|---|---|
| From | - (void)selectText:(id)sender |
| To | - (void)selectText:(id _Nullable)sender |
Modified -[NSMatrix selectTextAtRow:column:]
| Declaration | |
|---|---|
| From | - (id)selectTextAtRow:(NSInteger)row column:(NSInteger)col |
| To | - (__kindof NSCell * _Nullable)selectTextAtRow:(NSInteger)row column:(NSInteger)col |
| Declaration | |
|---|---|
| From | - (void)sendAction:(SEL)aSelector to:(id)anObject forAllCells:(BOOL)flag |
| To | - (void)sendAction:(SEL _Nonnull)aSelector to:(id _Nonnull)anObject forAllCells:(BOOL)flag |
Modified -[NSMatrix setToolTip:forCell:]
| Declaration | |
|---|---|
| From | - (void)setToolTip:(NSString *)toolTipString forCell:(NSCell *)cell |
| To | - (void)setToolTip:(NSString * _Nullable)toolTipString forCell:(NSCell * _Nonnull)cell |
| Declaration | |
|---|---|
| From | - (void)sortUsingFunction:(NSInteger (*)(id, id, void *))compare context:(void *)context |
| To | - (void)sortUsingFunction:(NSInteger (* _Nonnull)(id _Nonnull, id _Nonnull, void * _Nullable))compare context:(void * _Nullable)context |
Modified -[NSMatrix sortUsingSelector:]
| Declaration | |
|---|---|
| From | - (void)sortUsingSelector:(SEL)comparator |
| To | - (void)sortUsingSelector:(SEL _Nonnull)comparator |
Modified -[NSMatrix textDidBeginEditing:]
| Declaration | |
|---|---|
| From | - (void)textDidBeginEditing:(NSNotification *)notification |
| To | - (void)textDidBeginEditing:(NSNotification * _Nonnull)notification |
Modified -[NSMatrix textDidChange:]
| Declaration | |
|---|---|
| From | - (void)textDidChange:(NSNotification *)notification |
| To | - (void)textDidChange:(NSNotification * _Nonnull)notification |
Modified -[NSMatrix textDidEndEditing:]
| Declaration | |
|---|---|
| From | - (void)textDidEndEditing:(NSNotification *)notification |
| To | - (void)textDidEndEditing:(NSNotification * _Nonnull)notification |
Modified -[NSMatrix textShouldBeginEditing:]
| Declaration | |
|---|---|
| From | - (BOOL)textShouldBeginEditing:(NSText *)textObject |
| To | - (BOOL)textShouldBeginEditing:(NSText * _Nonnull)textObject |
Modified -[NSMatrix textShouldEndEditing:]
| Declaration | |
|---|---|
| From | - (BOOL)textShouldEndEditing:(NSText *)textObject |
| To | - (BOOL)textShouldEndEditing:(NSText * _Nonnull)textObject |
Modified -[NSMatrix toolTipForCell:]
| Declaration | |
|---|---|
| From | - (NSString *)toolTipForCell:(NSCell *)cell |
| To | - (NSString * _Nullable)toolTipForCell:(NSCell * _Nonnull)cell |
NSMediaLibraryBrowserController.h
| Declaration | |
|---|---|
| From | + (NSMediaLibraryBrowserController *)sharedMediaLibraryBrowserController |
| To | + (NSMediaLibraryBrowserController * _Nonnull)sharedMediaLibraryBrowserController |
| Declaration | |
|---|---|
| From | - (IBAction)togglePanel:(id)sender |
| To | - (IBAction)togglePanel:(id _Nullable)sender |
NSMenu.h
Modified -[NSMenu addItem:]
| Declaration | |
|---|---|
| From | - (void)addItem:(NSMenuItem *)newItem |
| To | - (void)addItem:(NSMenuItem * _Nonnull)newItem |
| Declaration | |
|---|---|
| From | - (NSMenuItem *)addItemWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode |
| To | - (NSMenuItem * _Nullable)addItemWithTitle:(NSString * _Nonnull)aString action:(SEL _Nullable)aSelector keyEquivalent:(NSString * _Nonnull)charCode |
Modified -[NSMenu attachedMenu]
| Declaration | |
|---|---|
| From | - (NSMenu *)attachedMenu |
| To | - (NSMenu * _Null_unspecified)attachedMenu |
Modified -[NSMenu contextMenuRepresentation]
| Declaration | |
|---|---|
| From | - (id)contextMenuRepresentation |
| To | - (id _Null_unspecified)contextMenuRepresentation |
Modified NSMenu.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSMenuDelegate> delegate |
| To | @property(assign, nullable) id<NSMenuDelegate> delegate |
Modified NSMenu.font
| Declaration | |
|---|---|
| From | @property(strong) NSFont *font |
| To | @property(strong) NSFont * _Null_unspecified font |
Modified -[NSMenu helpRequested:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)helpRequested:(NSEvent *)eventPtr | -- |
| To | - (void)helpRequested:(NSEvent * _Nonnull)eventPtr | OS X 10.11 |
Modified NSMenu.highlightedItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMenuItem *highlightedItem |
| To | @property(readonly, strong, nullable) NSMenuItem *highlightedItem |
Modified -[NSMenu indexOfItem:]
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItem:(NSMenuItem *)index |
| To | - (NSInteger)indexOfItem:(NSMenuItem * _Nonnull)item |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithRepresentedObject:(id)object |
| To | - (NSInteger)indexOfItemWithRepresentedObject:(id _Nonnull)object |
Modified -[NSMenu indexOfItemWithSubmenu:]
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithSubmenu:(NSMenu *)submenu |
| To | - (NSInteger)indexOfItemWithSubmenu:(NSMenu * _Nullable)submenu |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithTarget:(id)target andAction:(SEL)actionSelector |
| To | - (NSInteger)indexOfItemWithTarget:(id _Nullable)target andAction:(SEL _Nonnull)actionSelector |
Modified -[NSMenu indexOfItemWithTitle:]
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithTitle:(NSString *)aTitle |
| To | - (NSInteger)indexOfItemWithTitle:(NSString * _Nonnull)aTitle |
Modified -[NSMenu initWithTitle:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithTitle:(NSString *)aTitle |
| To | - (instancetype _Nonnull)initWithTitle:(NSString * _Nonnull)aTitle |
Modified -[NSMenu insertItem:atIndex:]
| Declaration | |
|---|---|
| From | - (void)insertItem:(NSMenuItem *)newItem atIndex:(NSInteger)index |
| To | - (void)insertItem:(NSMenuItem * _Nonnull)newItem atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (NSMenuItem *)insertItemWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode atIndex:(NSInteger)index |
| To | - (NSMenuItem * _Nullable)insertItemWithTitle:(NSString * _Nonnull)aString action:(SEL _Nullable)aSelector keyEquivalent:(NSString * _Nonnull)charCode atIndex:(NSInteger)index |
Modified NSMenu.itemArray
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *itemArray |
| To | @property(readonly, copy, nonnull) NSArray<NSMenuItem *> *itemArray |
Modified -[NSMenu itemAtIndex:]
| Declaration | |
|---|---|
| From | - (NSMenuItem *)itemAtIndex:(NSInteger)index |
| To | - (NSMenuItem * _Nullable)itemAtIndex:(NSInteger)index |
Modified -[NSMenu itemChanged:]
| Declaration | |
|---|---|
| From | - (void)itemChanged:(NSMenuItem *)item |
| To | - (void)itemChanged:(NSMenuItem * _Nonnull)item |
Modified -[NSMenu itemWithTag:]
| Declaration | |
|---|---|
| From | - (NSMenuItem *)itemWithTag:(NSInteger)tag |
| To | - (NSMenuItem * _Nullable)itemWithTag:(NSInteger)tag |
Modified -[NSMenu itemWithTitle:]
| Declaration | |
|---|---|
| From | - (NSMenuItem *)itemWithTitle:(NSString *)aTitle |
| To | - (NSMenuItem * _Nullable)itemWithTitle:(NSString * _Nonnull)aTitle |
Modified -[NSMenu locationForSubmenu:]
| Declaration | |
|---|---|
| From | - (NSPoint)locationForSubmenu:(NSMenu *)aSubmenu |
| To | - (NSPoint)locationForSubmenu:(NSMenu * _Null_unspecified)aSubmenu |
Modified NSMenu.menuChangedMessagesEnabled
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified -[NSMenu menuRepresentation]
| Declaration | |
|---|---|
| From | - (id)menuRepresentation |
| To | - (id _Null_unspecified)menuRepresentation |
Modified +[NSMenu menuZone]
| Declaration | Deprecation | |
|---|---|---|
| From | + (NSZone *)menuZone | -- |
| To | + (NSZone * _Null_unspecified)menuZone | OS X 10.11 |
Modified -[NSMenu performKeyEquivalent:]
| Declaration | |
|---|---|
| From | - (BOOL)performKeyEquivalent:(NSEvent *)theEvent |
| To | - (BOOL)performKeyEquivalent:(NSEvent * _Nonnull)theEvent |
| Declaration | |
|---|---|
| From | + (void)popUpContextMenu:(NSMenu *)menu withEvent:(NSEvent *)event forView:(NSView *)view |
| To | + (void)popUpContextMenu:(NSMenu * _Nonnull)menu withEvent:(NSEvent * _Nonnull)event forView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | + (void)popUpContextMenu:(NSMenu *)menu withEvent:(NSEvent *)event forView:(NSView *)view withFont:(NSFont *)font |
| To | + (void)popUpContextMenu:(NSMenu * _Nonnull)menu withEvent:(NSEvent * _Nonnull)event forView:(NSView * _Nonnull)view withFont:(NSFont * _Nullable)font |
| Declaration | |
|---|---|
| From | - (BOOL)popUpMenuPositioningItem:(NSMenuItem *)item atLocation:(NSPoint)location inView:(NSView *)view |
| To | - (BOOL)popUpMenuPositioningItem:(NSMenuItem * _Nullable)item atLocation:(NSPoint)location inView:(NSView * _Nullable)view |
Modified -[NSMenu removeItem:]
| Declaration | |
|---|---|
| From | - (void)removeItem:(NSMenuItem *)item |
| To | - (void)removeItem:(NSMenuItem * _Nonnull)item |
| Declaration | |
|---|---|
| From | - (void)setContextMenuRepresentation:(id)menuRep |
| To | - (void)setContextMenuRepresentation:(id _Null_unspecified)menuRep |
Modified -[NSMenu setMenuRepresentation:]
| Declaration | |
|---|---|
| From | - (void)setMenuRepresentation:(id)menuRep |
| To | - (void)setMenuRepresentation:(id _Null_unspecified)menuRep |
Modified +[NSMenu setMenuZone:]
| Declaration | |
|---|---|
| From | + (void)setMenuZone:(NSZone *)aZone |
| To | + (void)setMenuZone:(NSZone * _Null_unspecified)aZone |
Modified -[NSMenu setSubmenu:forItem:]
| Declaration | |
|---|---|
| From | - (void)setSubmenu:(NSMenu *)aMenu forItem:(NSMenuItem *)anItem |
| To | - (void)setSubmenu:(NSMenu * _Nullable)aMenu forItem:(NSMenuItem * _Nonnull)anItem |
| Declaration | |
|---|---|
| From | - (void)setTearOffMenuRepresentation:(id)menuRep |
| To | - (void)setTearOffMenuRepresentation:(id _Null_unspecified)menuRep |
Modified -[NSMenu submenuAction:]
| Declaration | |
|---|---|
| From | - (void)submenuAction:(id)sender |
| To | - (void)submenuAction:(id _Nullable)sender |
Modified NSMenu.supermenu
| Declaration | |
|---|---|
| From | @property(assign) NSMenu *supermenu |
| To | @property(assign, nullable) NSMenu *supermenu |
Modified -[NSMenu tearOffMenuRepresentation]
| Declaration | |
|---|---|
| From | - (id)tearOffMenuRepresentation |
| To | - (id _Null_unspecified)tearOffMenuRepresentation |
Modified NSMenu.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
Modified NSMenu.tornOff
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.10 | -- |
| To | OS X 10.0 | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSRect)confinementRectForMenu:(NSMenu *)menu onScreen:(NSScreen *)screen |
| To | - (NSRect)confinementRectForMenu:(NSMenu * _Nonnull)menu onScreen:(NSScreen * _Nullable)screen |
| Declaration | |
|---|---|
| From | - (BOOL)menu:(NSMenu *)menu updateItem:(NSMenuItem *)item atIndex:(NSInteger)index shouldCancel:(BOOL)shouldCancel |
| To | - (BOOL)menu:(NSMenu * _Nonnull)menu updateItem:(NSMenuItem * _Nonnull)item atIndex:(NSInteger)index shouldCancel:(BOOL)shouldCancel |
| Declaration | |
|---|---|
| From | - (void)menu:(NSMenu *)menu willHighlightItem:(NSMenuItem *)item |
| To | - (void)menu:(NSMenu * _Nonnull)menu willHighlightItem:(NSMenuItem * _Nullable)item |
Modified -[NSMenuDelegate menuDidClose:]
| Declaration | |
|---|---|
| From | - (void)menuDidClose:(NSMenu *)menu |
| To | - (void)menuDidClose:(NSMenu * _Nonnull)menu |
| Declaration | |
|---|---|
| From | - (BOOL)menuHasKeyEquivalent:(NSMenu *)menu forEvent:(NSEvent *)event target:(id *)target action:(SEL *)action |
| To | - (BOOL)menuHasKeyEquivalent:(NSMenu * _Nonnull)menu forEvent:(NSEvent * _Nonnull)event target:(id _Nullable * _Nullable)target action:(SEL _Nullable * _Nullable)action |
Modified -[NSMenuDelegate menuNeedsUpdate:]
| Declaration | |
|---|---|
| From | - (void)menuNeedsUpdate:(NSMenu *)menu |
| To | - (void)menuNeedsUpdate:(NSMenu * _Nonnull)menu |
Modified -[NSMenuDelegate menuWillOpen:]
| Declaration | |
|---|---|
| From | - (void)menuWillOpen:(NSMenu *)menu |
| To | - (void)menuWillOpen:(NSMenu * _Nonnull)menu |
| Declaration | |
|---|---|
| From | - (NSInteger)numberOfItemsInMenu:(NSMenu *)menu |
| To | - (NSInteger)numberOfItemsInMenu:(NSMenu * _Nonnull)menu |
Modified -[NSObject validateMenuItem:]
| Declaration | |
|---|---|
| From | - (BOOL)validateMenuItem:(NSMenuItem *)menuItem |
| To | - (BOOL)validateMenuItem:(NSMenuItem * _Nonnull)menuItem |
NSMenuItem.h
Modified NSMenuItem.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nullable) SEL action |
Modified NSMenuItem.attributedTitle
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedTitle |
| To | @property(copy, nullable) NSAttributedString *attributedTitle |
Modified NSMenuItem.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode |
| To | - (instancetype _Nonnull)initWithTitle:(NSString * _Nonnull)aString action:(SEL _Nullable)aSelector keyEquivalent:(NSString * _Nonnull)charCode |
Modified NSMenuItem.keyEquivalent
| Declaration | |
|---|---|
| From | @property(copy) NSString *keyEquivalent |
| To | @property(copy, nonnull) NSString *keyEquivalent |
Modified NSMenuItem.menu
| Declaration | |
|---|---|
| From | @property(assign) NSMenu *menu |
| To | @property(assign, nullable) NSMenu *menu |
Modified NSMenuItem.mixedStateImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *mixedStateImage |
| To | @property(strong) NSImage * _Null_unspecified mixedStateImage |
Modified -[NSMenuItem mnemonic]
| Declaration | |
|---|---|
| From | - (NSString *)mnemonic |
| To | - (NSString * _Null_unspecified)mnemonic |
Modified NSMenuItem.offStateImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *offStateImage |
| To | @property(strong) NSImage * _Null_unspecified offStateImage |
Modified NSMenuItem.onStateImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *onStateImage |
| To | @property(strong) NSImage * _Null_unspecified onStateImage |
Modified NSMenuItem.parentItem
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSMenuItem *parentItem |
| To | @property(readonly, assign, nullable) NSMenuItem *parentItem |
Modified NSMenuItem.representedObject
| Declaration | |
|---|---|
| From | @property(strong) id representedObject |
| To | @property(strong, nullable) id representedObject |
Modified +[NSMenuItem separatorItem]
| Declaration | |
|---|---|
| From | + (NSMenuItem *)separatorItem |
| To | + (NSMenuItem * _Nonnull)separatorItem |
Modified -[NSMenuItem setTitleWithMnemonic:]
| Declaration | |
|---|---|
| From | - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setTitleWithMnemonic:(NSString * _Nonnull)stringWithAmpersand |
Modified NSMenuItem.submenu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *submenu |
| To | @property(strong, nullable) NSMenu *submenu |
Modified NSMenuItem.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
Modified NSMenuItem.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
Modified NSMenuItem.toolTip
| Declaration | |
|---|---|
| From | @property(copy) NSString *toolTip |
| To | @property(copy, nullable) NSString *toolTip |
Modified NSMenuItem.userKeyEquivalent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *userKeyEquivalent |
| To | @property(readonly, copy, nonnull) NSString *userKeyEquivalent |
Modified NSMenuItem.view
| Declaration | |
|---|---|
| From | @property(strong) NSView *view |
| To | @property(strong, nullable) NSView *view |
Modified NSView.enclosingMenuItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMenuItem *enclosingMenuItem |
| To | @property(readonly, strong, nullable) NSMenuItem *enclosingMenuItem |
NSMenuItemCell.h
| Declaration | |
|---|---|
| From | - (void)drawBorderAndBackgroundWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawBorderAndBackgroundWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawImageWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawImageWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawKeyEquivalentWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawKeyEquivalentWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawSeparatorItemWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawSeparatorItemWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawStateImageWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawStateImageWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)drawTitleWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawTitleWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
Modified NSMenuItemCell.menuItem
| Declaration | |
|---|---|
| From | @property(strong) NSMenuItem *menuItem |
| To | @property(strong, nullable) NSMenuItem *menuItem |
Modified -[NSMenuItemCell menuView]
| Declaration | |
|---|---|
| From | - (NSMenuView *)menuView |
| To | - (NSMenuView * _Nonnull)menuView |
Modified -[NSMenuItemCell setMenuView:]
| Declaration | |
|---|---|
| From | - (void)setMenuView:(NSMenuView *)menuView |
| To | - (void)setMenuView:(NSMenuView * _Nonnull)menuView |
Modified NSMenuItemCell.tag
| Declaration | |
|---|---|
| From | @property(readonly) NSInteger tag |
| To | @property NSInteger tag |
NSMovie.h
Modified +[NSMovie movieUnfilteredFileTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)movieUnfilteredFileTypes |
| To | + (NSArray<NSString *> *)movieUnfilteredFileTypes |
Modified +[NSMovie movieUnfilteredPasteboardTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)movieUnfilteredPasteboardTypes |
| To | + (NSArray<NSString *> *)movieUnfilteredPasteboardTypes |
NSNib.h
Modified -[NSNib initWithContentsOfURL:]
| Declaration | |
|---|---|
| From | - (id)initWithContentsOfURL:(NSURL *)nibFileURL |
| To | - (id _Null_unspecified)initWithContentsOfURL:(NSURL * _Null_unspecified)nibFileURL |
Modified -[NSNib initWithNibData:bundle:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithNibData:(NSData *)nibData bundle:(NSBundle *)bundle |
| To | - (instancetype _Nonnull)initWithNibData:(NSData * _Nonnull)nibData bundle:(NSBundle * _Nullable)bundle |
Modified -[NSNib initWithNibNamed:bundle:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithNibNamed:(NSString *)nibName bundle:(NSBundle *)bundle |
| To | - (instancetype _Nullable)initWithNibNamed:(NSString * _Nonnull)nibName bundle:(NSBundle * _Nullable)bundle |
| Declaration | |
|---|---|
| From | - (BOOL)instantiateNibWithExternalNameTable:(NSDictionary *)externalNameTable |
| To | - (BOOL)instantiateNibWithExternalNameTable:(NSDictionary * _Null_unspecified)externalNameTable |
| Declaration | |
|---|---|
| From | - (BOOL)instantiateNibWithOwner:(id)owner topLevelObjects:(NSArray **)topLevelObjects |
| To | - (BOOL)instantiateNibWithOwner:(id _Null_unspecified)owner topLevelObjects:(NSArray * _Null_unspecified * _Null_unspecified)topLevelObjects |
| Declaration | |
|---|---|
| From | - (BOOL)instantiateWithOwner:(id)owner topLevelObjects:(NSArray **)topLevelObjects |
| To | - (BOOL)instantiateWithOwner:(id _Nullable)owner topLevelObjects:(NSArray * _Nonnull * _Nullable)topLevelObjects |
NSNibConnector.h
Modified NSNibConnector.destination
| Declaration | |
|---|---|
| From | @property(assign) id destination |
| To | @property(assign, nullable) id destination |
Modified NSNibConnector.label
| Declaration | |
|---|---|
| From | @property(copy) NSString *label |
| To | @property(copy, nonnull) NSString *label |
| Declaration | |
|---|---|
| From | - (void)replaceObject:(id)oldObject withObject:(id)newObject |
| To | - (void)replaceObject:(id _Nonnull)oldObject withObject:(id _Nonnull)newObject |
Modified NSNibConnector.source
| Declaration | |
|---|---|
| From | @property(assign) id source |
| To | @property(assign, nonnull) id source |
NSNibLoading.h
| Declaration | |
|---|---|
| From | + (BOOL)loadNibFile:(NSString *)fileName externalNameTable:(NSDictionary *)context withZone:(NSZone *)zone |
| To | + (BOOL)loadNibFile:(NSString * _Null_unspecified)fileName externalNameTable:(NSDictionary * _Null_unspecified)context withZone:(NSZone * _Null_unspecified)zone |
| Declaration | |
|---|---|
| From | - (BOOL)loadNibFile:(NSString *)fileName externalNameTable:(NSDictionary *)context withZone:(NSZone *)zone |
| To | - (BOOL)loadNibFile:(NSString * _Null_unspecified)fileName externalNameTable:(NSDictionary * _Null_unspecified)context withZone:(NSZone * _Null_unspecified)zone |
Modified +[NSBundle loadNibNamed:owner:]
| Declaration | |
|---|---|
| From | + (BOOL)loadNibNamed:(NSString *)nibName owner:(id)owner |
| To | + (BOOL)loadNibNamed:(NSString * _Null_unspecified)nibName owner:(id _Null_unspecified)owner |
| Declaration | |
|---|---|
| From | - (BOOL)loadNibNamed:(NSString *)nibName owner:(id)owner topLevelObjects:(NSArray **)topLevelObjects |
| To | - (BOOL)loadNibNamed:(NSString * _Nonnull)nibName owner:(id _Nullable)owner topLevelObjects:(NSArray * _Nonnull * _Nullable)topLevelObjects |
NSObjectController.h
Modified -[NSObjectController add:]
| Declaration | |
|---|---|
| From | - (void)add:(id)sender |
| To | - (void)add:(id _Nullable)sender |
Modified -[NSObjectController addObject:]
| Declaration | |
|---|---|
| From | - (void)addObject:(id)object |
| To | - (void)addObject:(id _Nonnull)object |
Modified NSObjectController.content
| Declaration | |
|---|---|
| From | @property(strong) id content |
| To | @property(strong, nullable) id content |
| Declaration | |
|---|---|
| From | - (NSFetchRequest *)defaultFetchRequest |
| To | - (NSFetchRequest * _Nonnull)defaultFetchRequest |
Modified NSObjectController.entityName
| Declaration | |
|---|---|
| From | @property(copy) NSString *entityName |
| To | @property(copy, nullable) NSString *entityName |
Modified -[NSObjectController fetch:]
| Declaration | |
|---|---|
| From | - (void)fetch:(id)sender |
| To | - (void)fetch:(id _Nullable)sender |
Modified NSObjectController.fetchPredicate
| Declaration | |
|---|---|
| From | @property(strong) NSPredicate *fetchPredicate |
| To | @property(strong, nullable) NSPredicate *fetchPredicate |
| Declaration | |
|---|---|
| From | - (BOOL)fetchWithRequest:(NSFetchRequest *)fetchRequest merge:(BOOL)merge error:(NSError **)error |
| To | - (BOOL)fetchWithRequest:(NSFetchRequest * _Nullable)fetchRequest merge:(BOOL)merge error:(NSError * _Nullable * _Nullable)error |
Modified -[NSObjectController initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContent:(id)content |
| To | - (instancetype _Nonnull)initWithContent:(id _Nullable)content |
| Declaration | |
|---|---|
| From | @property(strong) NSManagedObjectContext *managedObjectContext |
| To | @property(strong, nullable) NSManagedObjectContext *managedObjectContext |
Modified -[NSObjectController newObject]
| Declaration | |
|---|---|
| From | - (id)newObject |
| To | - (id _Nonnull)newObject |
Modified NSObjectController.objectClass
| Declaration | |
|---|---|
| From | @property(assign) Class objectClass |
| To | @property(assign) Class _Null_unspecified objectClass |
Modified -[NSObjectController remove:]
| Declaration | |
|---|---|
| From | - (void)remove:(id)sender |
| To | - (void)remove:(id _Nullable)sender |
Modified -[NSObjectController removeObject:]
| Declaration | |
|---|---|
| From | - (void)removeObject:(id)object |
| To | - (void)removeObject:(id _Nonnull)object |
Modified NSObjectController.selectedObjects
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *selectedObjects |
| To | @property(readonly, copy, nonnull) NSArray *selectedObjects |
Modified NSObjectController.selection
| Declaration | |
|---|---|
| From | @property(readonly, strong) id selection |
| To | @property(readonly, strong, nonnull) id selection |
| Declaration | |
|---|---|
| From | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item |
| To | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem> _Nonnull)item |
NSOpenGL.h
Modified NSOpenGLContext.CGLContextObj
| Declaration | |
|---|---|
| From | @property(readonly) struct _CGLContextObject *CGLContextObj |
| To | @property(readonly, nullable) struct _CGLContextObject *CGLContextObj |
| Declaration | |
|---|---|
| From | - (void)copyAttributesFromContext:(NSOpenGLContext *)context withMask:(GLbitfield)mask |
| To | - (void)copyAttributesFromContext:(NSOpenGLContext * _Nonnull)context withMask:(GLbitfield)mask |
| Declaration | |
|---|---|
| From | - (void)createTexture:(GLenum)target fromView:(NSView *)view internalFormat:(GLenum)format |
| To | - (void)createTexture:(GLenum)target fromView:(NSView * _Nonnull)view internalFormat:(GLenum)format |
Modified +[NSOpenGLContext currentContext]
| Declaration | |
|---|---|
| From | + (NSOpenGLContext *)currentContext |
| To | + (NSOpenGLContext * _Nullable)currentContext |
| Declaration | |
|---|---|
| From | - (void)getValues:(GLint *)vals forParameter:(NSOpenGLContextParameter)param |
| To | - (void)getValues:(GLint * _Nonnull)vals forParameter:(NSOpenGLContextParameter)param |
| Declaration | |
|---|---|
| From | - (NSOpenGLContext *)initWithCGLContextObj:(struct _CGLContextObject *)context |
| To | - (NSOpenGLContext * _Nullable)initWithCGLContextObj:(struct _CGLContextObject * _Nonnull)context |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFormat:(NSOpenGLPixelFormat *)format shareContext:(NSOpenGLContext *)share |
| To | - (instancetype _Nullable)initWithFormat:(NSOpenGLPixelFormat * _Nonnull)format shareContext:(NSOpenGLContext * _Nullable)share |
Modified -[NSOpenGLContext pixelBuffer]
| Declaration | |
|---|---|
| From | - (NSOpenGLPixelBuffer *)pixelBuffer |
| To | - (NSOpenGLPixelBuffer * _Nullable)pixelBuffer |
Modified NSOpenGLContext.pixelFormat
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSOpenGLPixelFormat *pixelFormat |
| To | @property(readonly, strong, nonnull) NSOpenGLPixelFormat *pixelFormat |
| Declaration | |
|---|---|
| From | - (void)setOffScreen:(void *)baseaddr width:(GLsizei)width height:(GLsizei)height rowbytes:(GLint)rowbytes |
| To | - (void)setOffScreen:(void * _Nonnull)baseaddr width:(GLsizei)width height:(GLsizei)height rowbytes:(GLint)rowbytes |
| Declaration | |
|---|---|
| From | - (void)setPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer cubeMapFace:(GLenum)face mipMapLevel:(GLint)level currentVirtualScreen:(GLint)screen |
| To | - (void)setPixelBuffer:(NSOpenGLPixelBuffer * _Nonnull)pixelBuffer cubeMapFace:(GLenum)face mipMapLevel:(GLint)level currentVirtualScreen:(GLint)screen |
| Declaration | |
|---|---|
| From | - (void)setTextureImageToPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer colorBuffer:(GLenum)source |
| To | - (void)setTextureImageToPixelBuffer:(NSOpenGLPixelBuffer * _Nonnull)pixelBuffer colorBuffer:(GLenum)source |
| Declaration | |
|---|---|
| From | - (void)setValues:(const GLint *)vals forParameter:(NSOpenGLContextParameter)param |
| To | - (void)setValues:(const GLint * _Nonnull)vals forParameter:(NSOpenGLContextParameter)param |
Modified NSOpenGLContext.view
| Declaration | |
|---|---|
| From | @property(assign) NSView *view |
| To | @property(assign, nullable) NSView *view |
Modified -[NSOpenGLPixelBuffer CGLPBufferObj]
| Declaration | |
|---|---|
| From | - (struct _CGLPBufferObject *)CGLPBufferObj |
| To | - (struct _CGLPBufferObject * _Nullable)CGLPBufferObj |
| Declaration | |
|---|---|
| From | - (NSOpenGLPixelBuffer *)initWithCGLPBufferObj:(struct _CGLPBufferObject *)pbuffer |
| To | - (NSOpenGLPixelBuffer * _Nullable)initWithCGLPBufferObj:(struct _CGLPBufferObject * _Null_unspecified)pbuffer |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTextureTarget:(GLenum)target textureInternalFormat:(GLenum)format textureMaxMipMapLevel:(GLint)maxLevel pixelsWide:(GLsizei)pixelsWide pixelsHigh:(GLsizei)pixelsHigh |
| To | - (instancetype _Nullable)initWithTextureTarget:(GLenum)target textureInternalFormat:(GLenum)format textureMaxMipMapLevel:(GLint)maxLevel pixelsWide:(GLsizei)pixelsWide pixelsHigh:(GLsizei)pixelsHigh |
Modified -[NSOpenGLPixelFormat attributes]
| Declaration | |
|---|---|
| From | - (NSData *)attributes |
| To | - (NSData * _Null_unspecified)attributes |
| Declaration | |
|---|---|
| From | @property(readonly) struct _CGLPixelFormatObject *CGLPixelFormatObj |
| To | @property(readonly, nullable) struct _CGLPixelFormatObject *CGLPixelFormatObj |
| Declaration | |
|---|---|
| From | - (void)getValues:(GLint *)vals forAttribute:(NSOpenGLPixelFormatAttribute)attrib forVirtualScreen:(GLint)screen |
| To | - (void)getValues:(GLint * _Nonnull)vals forAttribute:(NSOpenGLPixelFormatAttribute)attrib forVirtualScreen:(GLint)screen |
| Declaration | |
|---|---|
| From | - (instancetype)initWithAttributes:(const NSOpenGLPixelFormatAttribute *)attribs |
| To | - (instancetype _Nullable)initWithAttributes:(const NSOpenGLPixelFormatAttribute * _Nonnull)attribs |
| Declaration | |
|---|---|
| From | - (NSOpenGLPixelFormat *)initWithCGLPixelFormatObj:(struct _CGLPixelFormatObject *)format |
| To | - (NSOpenGLPixelFormat * _Nullable)initWithCGLPixelFormatObj:(struct _CGLPixelFormatObject * _Nonnull)format |
Modified -[NSOpenGLPixelFormat initWithData:]
| Declaration | |
|---|---|
| From | - (id)initWithData:(NSData *)attribs |
| To | - (id _Nullable)initWithData:(NSData * _Null_unspecified)attribs |
| Declaration | |
|---|---|
| From | - (void)setAttributes:(NSData *)attribs |
| To | - (void)setAttributes:(NSData * _Null_unspecified)attribs |
Modified NSOpenGLGetOption()
| Declaration | |
|---|---|
| From | void NSOpenGLGetOption (
NSOpenGLGlobalOption pname,
GLint *param
);
|
| To | void NSOpenGLGetOption (
NSOpenGLGlobalOption pname,
GLint * _Nonnull param
);
|
Modified NSOpenGLGetVersion()
| Declaration | |
|---|---|
| From | void NSOpenGLGetVersion (
GLint *major,
GLint *minor
);
|
| To | void NSOpenGLGetVersion (
GLint * _Nullable major,
GLint * _Nullable minor
);
|
NSOpenGLLayer.h
| Declaration | |
|---|---|
| From | - (BOOL)canDrawInOpenGLContext:(NSOpenGLContext *)context pixelFormat:(NSOpenGLPixelFormat *)pixelFormat forLayerTime:(CFTimeInterval)t displayTime:(const CVTimeStamp *)ts |
| To | - (BOOL)canDrawInOpenGLContext:(NSOpenGLContext * _Nonnull)context pixelFormat:(NSOpenGLPixelFormat * _Nonnull)pixelFormat forLayerTime:(CFTimeInterval)t displayTime:(const CVTimeStamp * _Nonnull)ts |
| Declaration | |
|---|---|
| From | - (void)drawInOpenGLContext:(NSOpenGLContext *)context pixelFormat:(NSOpenGLPixelFormat *)pixelFormat forLayerTime:(CFTimeInterval)t displayTime:(const CVTimeStamp *)ts |
| To | - (void)drawInOpenGLContext:(NSOpenGLContext * _Nonnull)context pixelFormat:(NSOpenGLPixelFormat * _Nonnull)pixelFormat forLayerTime:(CFTimeInterval)t displayTime:(const CVTimeStamp * _Nonnull)ts |
Modified NSOpenGLLayer.openGLContext
| Declaration | |
|---|---|
| From | @property(strong) NSOpenGLContext *openGLContext |
| To | @property(strong, nullable) NSOpenGLContext *openGLContext |
| Declaration | |
|---|---|
| From | - (NSOpenGLContext *)openGLContextForPixelFormat:(NSOpenGLPixelFormat *)pixelFormat |
| To | - (NSOpenGLContext * _Nonnull)openGLContextForPixelFormat:(NSOpenGLPixelFormat * _Nonnull)pixelFormat |
Modified NSOpenGLLayer.openGLPixelFormat
| Declaration | |
|---|---|
| From | @property(strong) NSOpenGLPixelFormat *openGLPixelFormat |
| To | @property(strong, nullable) NSOpenGLPixelFormat *openGLPixelFormat |
| Declaration | |
|---|---|
| From | - (NSOpenGLPixelFormat *)openGLPixelFormatForDisplayMask:(uint32_t)mask |
| To | - (NSOpenGLPixelFormat * _Nonnull)openGLPixelFormatForDisplayMask:(uint32_t)mask |
Modified NSOpenGLLayer.view
| Declaration | |
|---|---|
| From | @property(assign) NSView *view |
| To | @property(assign, nullable) NSView *view |
NSOpenGLView.h
Added NSView(NSExtendedDynamicRange)
Modified +[NSOpenGLView defaultPixelFormat]
| Declaration | |
|---|---|
| From | + (NSOpenGLPixelFormat *)defaultPixelFormat |
| To | + (NSOpenGLPixelFormat * _Nonnull)defaultPixelFormat |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect pixelFormat:(NSOpenGLPixelFormat *)format |
| To | - (instancetype _Nullable)initWithFrame:(NSRect)frameRect pixelFormat:(NSOpenGLPixelFormat * _Nullable)format |
Modified NSOpenGLView.openGLContext
| Declaration | |
|---|---|
| From | @property(strong) NSOpenGLContext *openGLContext |
| To | @property(strong, nullable) NSOpenGLContext *openGLContext |
Modified NSOpenGLView.pixelFormat
| Declaration | |
|---|---|
| From | @property(strong) NSOpenGLPixelFormat *pixelFormat |
| To | @property(strong, nullable) NSOpenGLPixelFormat *pixelFormat |
NSOpenPanel.h
| Declaration | |
|---|---|
| From | - (void)beginForDirectory:(NSString *)path file:(NSString *)name types:(NSArray *)fileTypes modelessDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo |
| To | - (void)beginForDirectory:(NSString * _Nullable)path file:(NSString * _Nullable)name types:(NSArray * _Nullable)fileTypes modelessDelegate:(id _Nullable)delegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)beginSheetForDirectory:(NSString *)path file:(NSString *)name types:(NSArray *)fileTypes modalForWindow:(NSWindow *)docWindow modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo |
| To | - (void)beginSheetForDirectory:(NSString * _Nullable)path file:(NSString * _Nullable)name types:(NSArray * _Nullable)fileTypes modalForWindow:(NSWindow * _Nullable)docWindow modalDelegate:(id _Nullable)delegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Nullable)contextInfo |
Modified -[NSOpenPanel filenames]
| Declaration | |
|---|---|
| From | - (NSArray *)filenames |
| To | - (NSArray * _Nonnull)filenames |
Modified +[NSOpenPanel openPanel]
| Declaration | |
|---|---|
| From | + (NSOpenPanel *)openPanel |
| To | + (NSOpenPanel * _Nonnull)openPanel |
| Declaration | |
|---|---|
| From | - (NSInteger)runModalForDirectory:(NSString *)path file:(NSString *)name types:(NSArray *)fileTypes |
| To | - (NSInteger)runModalForDirectory:(NSString * _Nullable)path file:(NSString * _Nullable)name types:(NSArray * _Nullable)fileTypes |
Modified -[NSOpenPanel runModalForTypes:]
| Declaration | |
|---|---|
| From | - (NSInteger)runModalForTypes:(NSArray *)fileTypes |
| To | - (NSInteger)runModalForTypes:(NSArray * _Nullable)fileTypes |
Modified NSOpenPanel.URLs
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *URLs |
| To | @property(readonly, copy, nonnull) NSArray<NSURL *> *URLs |
NSOutlineView.h
Modified -[NSOutlineView child:ofItem:]
| Declaration | |
|---|---|
| From | - (id)child:(NSInteger)index ofItem:(id)item |
| To | - (id _Nullable)child:(NSInteger)index ofItem:(id _Nullable)item |
Modified -[NSOutlineView collapseItem:]
| Declaration | |
|---|---|
| From | - (void)collapseItem:(id)item |
| To | - (void)collapseItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)collapseItem:(id)item collapseChildren:(BOOL)collapseChildren |
| To | - (void)collapseItem:(id _Nullable)item collapseChildren:(BOOL)collapseChildren |
Modified -[NSOutlineView dataSource]
| Declaration | |
|---|---|
| From | - (id<NSOutlineViewDataSource>)dataSource |
| To | - (id<NSOutlineViewDataSource> _Nullable)dataSource |
Modified -[NSOutlineView delegate]
| Declaration | |
|---|---|
| From | - (id<NSOutlineViewDelegate>)delegate |
| To | - (id<NSOutlineViewDelegate> _Nullable)delegate |
Modified -[NSOutlineView expandItem:]
| Declaration | |
|---|---|
| From | - (void)expandItem:(id)item |
| To | - (void)expandItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)expandItem:(id)item expandChildren:(BOOL)expandChildren |
| To | - (void)expandItem:(id _Nullable)item expandChildren:(BOOL)expandChildren |
| Declaration | |
|---|---|
| From | - (void)insertItemsAtIndexes:(NSIndexSet *)indexes inParent:(id)parent withAnimation:(NSTableViewAnimationOptions)animationOptions |
| To | - (void)insertItemsAtIndexes:(NSIndexSet * _Nonnull)indexes inParent:(id _Nullable)parent withAnimation:(NSTableViewAnimationOptions)animationOptions |
Modified -[NSOutlineView isExpandable:]
| Declaration | |
|---|---|
| From | - (BOOL)isExpandable:(id)item |
| To | - (BOOL)isExpandable:(id _Nullable)item |
Modified -[NSOutlineView isItemExpanded:]
| Declaration | |
|---|---|
| From | - (BOOL)isItemExpanded:(id)item |
| To | - (BOOL)isItemExpanded:(id _Nullable)item |
Modified -[NSOutlineView itemAtRow:]
| Declaration | |
|---|---|
| From | - (id)itemAtRow:(NSInteger)row |
| To | - (id _Nullable)itemAtRow:(NSInteger)row |
Modified -[NSOutlineView levelForItem:]
| Declaration | |
|---|---|
| From | - (NSInteger)levelForItem:(id)item |
| To | - (NSInteger)levelForItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)moveItemAtIndex:(NSInteger)fromIndex inParent:(id)oldParent toIndex:(NSInteger)toIndex inParent:(id)newParent |
| To | - (void)moveItemAtIndex:(NSInteger)fromIndex inParent:(id _Nullable)oldParent toIndex:(NSInteger)toIndex inParent:(id _Nullable)newParent |
| Declaration | |
|---|---|
| From | - (NSInteger)numberOfChildrenOfItem:(id)item |
| To | - (NSInteger)numberOfChildrenOfItem:(id _Nullable)item |
Modified NSOutlineView.outlineTableColumn
| Declaration | |
|---|---|
| From | @property(assign) NSTableColumn *outlineTableColumn |
| To | @property(assign, nullable) NSTableColumn *outlineTableColumn |
Modified -[NSOutlineView parentForItem:]
| Declaration | |
|---|---|
| From | - (id)parentForItem:(id)item |
| To | - (id _Nullable)parentForItem:(id _Nullable)item |
Modified -[NSOutlineView reloadItem:]
| Declaration | |
|---|---|
| From | - (void)reloadItem:(id)item |
| To | - (void)reloadItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)reloadItem:(id)item reloadChildren:(BOOL)reloadChildren |
| To | - (void)reloadItem:(id _Nullable)item reloadChildren:(BOOL)reloadChildren |
| Declaration | |
|---|---|
| From | - (void)removeItemsAtIndexes:(NSIndexSet *)indexes inParent:(id)parent withAnimation:(NSTableViewAnimationOptions)animationOptions |
| To | - (void)removeItemsAtIndexes:(NSIndexSet * _Nonnull)indexes inParent:(id _Nullable)parent withAnimation:(NSTableViewAnimationOptions)animationOptions |
Modified -[NSOutlineView rowForItem:]
| Declaration | |
|---|---|
| From | - (NSInteger)rowForItem:(id)item |
| To | - (NSInteger)rowForItem:(id _Nullable)item |
Modified -[NSOutlineView setDataSource:]
| Declaration | |
|---|---|
| From | - (void)setDataSource:(id<NSOutlineViewDataSource>)aSource |
| To | - (void)setDataSource:(id<NSOutlineViewDataSource> _Nullable)aSource |
Modified -[NSOutlineView setDelegate:]
| Declaration | |
|---|---|
| From | - (void)setDelegate:(id<NSOutlineViewDelegate>)anObject |
| To | - (void)setDelegate:(id<NSOutlineViewDelegate> _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (void)setDropItem:(id)item dropChildIndex:(NSInteger)index |
| To | - (void)setDropItem:(id _Nullable)item dropChildIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id<NSDraggingInfo>)info item:(id)item childIndex:(NSInteger)index |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView acceptDrop:(id<NSDraggingInfo> _Nonnull)info item:(id _Nullable)item childIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)index ofItem:(id)item |
| To | - (id _Nonnull)outlineView:(NSOutlineView * _Nonnull)outlineView child:(NSInteger)index ofItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView draggingSession:(NSDraggingSession *)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView draggingSession:(NSDraggingSession * _Nonnull)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView draggingSession:(NSDraggingSession *)session willBeginAtPoint:(NSPoint)screenPoint forItems:(NSArray *)draggedItems |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView draggingSession:(NSDraggingSession * _Nonnull)session willBeginAtPoint:(NSPoint)screenPoint forItems:(NSArray * _Nonnull)draggedItems |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView isItemExpandable:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (id)outlineView:(NSOutlineView *)outlineView itemForPersistentObject:(id)object |
| To | - (id _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView itemForPersistentObject:(id _Nonnull)object |
Modified -[NSOutlineViewDataSource outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:]
| Declaration | |
|---|---|
| From | - (NSArray *)outlineView:(NSOutlineView *)outlineView namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination forDraggedItems:(NSArray *)items |
| To | - (NSArray<NSString *> * _Nonnull)outlineView:(NSOutlineView * _Nonnull)outlineView namesOfPromisedFilesDroppedAtDestination:(NSURL * _Nonnull)dropDestination forDraggedItems:(NSArray * _Nonnull)items |
| Declaration | |
|---|---|
| From | - (NSInteger)outlineView:(NSOutlineView *)outlineView numberOfChildrenOfItem:(id)item |
| To | - (NSInteger)outlineView:(NSOutlineView * _Nonnull)outlineView numberOfChildrenOfItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (id)outlineView:(NSOutlineView *)outlineView objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item |
| To | - (id _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView objectValueForTableColumn:(NSTableColumn * _Nullable)tableColumn byItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (id<NSPasteboardWriting>)outlineView:(NSOutlineView *)outlineView pasteboardWriterForItem:(id)item |
| To | - (id<NSPasteboardWriting> _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView pasteboardWriterForItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (id)outlineView:(NSOutlineView *)outlineView persistentObjectForItem:(id)item |
| To | - (id _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView persistentObjectForItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn byItem:(id)item |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView setObjectValue:(id _Nullable)object forTableColumn:(NSTableColumn * _Nullable)tableColumn byItem:(id _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView sortDescriptorsDidChange:(NSArray *)oldDescriptors |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView sortDescriptorsDidChange:(NSArray<NSSortDescriptor *> * _Nonnull)oldDescriptors |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView updateDraggingItemsForDrag:(id<NSDraggingInfo>)draggingInfo |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView updateDraggingItemsForDrag:(id<NSDraggingInfo> _Nonnull)draggingInfo |
| Declaration | |
|---|---|
| From | - (NSDragOperation)outlineView:(NSOutlineView *)outlineView validateDrop:(id<NSDraggingInfo>)info proposedItem:(id)item proposedChildIndex:(NSInteger)index |
| To | - (NSDragOperation)outlineView:(NSOutlineView * _Nonnull)outlineView validateDrop:(id<NSDraggingInfo> _Nonnull)info proposedItem:(id _Nullable)item proposedChildIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray *)items toPasteboard:(NSPasteboard *)pasteboard |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView writeItems:(NSArray * _Nonnull)items toPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (NSCell *)outlineView:(NSOutlineView *)outlineView dataCellForTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (NSCell * _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView dataCellForTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView didAddRowView:(NSTableRowView *)rowView forRow:(NSInteger)row |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView didAddRowView:(NSTableRowView * _Nonnull)rowView forRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView didClickTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView didClickTableColumn:(NSTableColumn * _Nonnull)tableColumn |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView didDragTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView didDragTableColumn:(NSTableColumn * _Nonnull)tableColumn |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView didRemoveRowView:(NSTableRowView *)rowView forRow:(NSInteger)row |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView didRemoveRowView:(NSTableRowView * _Nonnull)rowView forRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (CGFloat)outlineView:(NSOutlineView *)outlineView heightOfRowByItem:(id)item |
| To | - (CGFloat)outlineView:(NSOutlineView * _Nonnull)outlineView heightOfRowByItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView isGroupItem:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView isGroupItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView mouseDownInHeaderOfTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView mouseDownInHeaderOfTableColumn:(NSTableColumn * _Nonnull)tableColumn |
| Declaration | |
|---|---|
| From | - (id)outlineView:(NSOutlineView *)outlineView nextTypeSelectMatchFromItem:(id)startItem toItem:(id)endItem forString:(NSString *)searchString |
| To | - (id _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView nextTypeSelectMatchFromItem:(id _Nonnull)startItem toItem:(id _Nonnull)endItem forString:(NSString * _Nonnull)searchString |
| Declaration | |
|---|---|
| From | - (NSTableRowView *)outlineView:(NSOutlineView *)outlineView rowViewForItem:(id)item |
| To | - (NSTableRowView * _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView rowViewForItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (NSIndexSet *)outlineView:(NSOutlineView *)outlineView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes |
| To | - (NSIndexSet * _Nonnull)outlineView:(NSOutlineView * _Nonnull)outlineView selectionIndexesForProposedSelection:(NSIndexSet * _Nonnull)proposedSelectionIndexes |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldCollapseItem:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldCollapseItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldEditTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldEditTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldExpandItem:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldExpandItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldReorderColumn:(NSInteger)columnIndex toColumn:(NSInteger)newColumnIndex |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldReorderColumn:(NSInteger)columnIndex toColumn:(NSInteger)newColumnIndex |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectItem:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldSelectItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectTableColumn:(NSTableColumn *)tableColumn |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldSelectTableColumn:(NSTableColumn * _Nullable)tableColumn |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldShowCellExpansionForTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldShowCellExpansionForTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldShowOutlineCellForItem:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldShowOutlineCellForItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldTrackCell:(NSCell *)cell forTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldTrackCell:(NSCell * _Nonnull)cell forTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (BOOL)outlineView:(NSOutlineView *)outlineView shouldTypeSelectForEvent:(NSEvent *)event withCurrentSearchString:(NSString *)searchString |
| To | - (BOOL)outlineView:(NSOutlineView * _Nonnull)outlineView shouldTypeSelectForEvent:(NSEvent * _Nonnull)event withCurrentSearchString:(NSString * _Nullable)searchString |
| Declaration | |
|---|---|
| From | - (CGFloat)outlineView:(NSOutlineView *)outlineView sizeToFitWidthOfColumn:(NSInteger)column |
| To | - (CGFloat)outlineView:(NSOutlineView * _Nonnull)outlineView sizeToFitWidthOfColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (NSString *)outlineView:(NSOutlineView *)outlineView toolTipForCell:(NSCell *)cell rect:(NSRectPointer)rect tableColumn:(NSTableColumn *)tableColumn item:(id)item mouseLocation:(NSPoint)mouseLocation |
| To | - (NSString * _Nonnull)outlineView:(NSOutlineView * _Nonnull)outlineView toolTipForCell:(NSCell * _Nonnull)cell rect:(NSRectPointer _Nonnull)rect tableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item mouseLocation:(NSPoint)mouseLocation |
| Declaration | |
|---|---|
| From | - (NSString *)outlineView:(NSOutlineView *)outlineView typeSelectStringForTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (NSString * _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView typeSelectStringForTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (NSView *)outlineView:(NSOutlineView *)outlineView viewForTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (NSView * _Nullable)outlineView:(NSOutlineView * _Nonnull)outlineView viewForTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView willDisplayCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView willDisplayCell:(id _Nonnull)cell forTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (void)outlineView:(NSOutlineView *)outlineView willDisplayOutlineCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn item:(id)item |
| To | - (void)outlineView:(NSOutlineView * _Nonnull)outlineView willDisplayOutlineCell:(id _Nonnull)cell forTableColumn:(NSTableColumn * _Nullable)tableColumn item:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (void)outlineViewColumnDidMove:(NSNotification *)notification |
| To | - (void)outlineViewColumnDidMove:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)outlineViewColumnDidResize:(NSNotification *)notification |
| To | - (void)outlineViewColumnDidResize:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)outlineViewItemDidCollapse:(NSNotification *)notification |
| To | - (void)outlineViewItemDidCollapse:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)outlineViewItemDidExpand:(NSNotification *)notification |
| To | - (void)outlineViewItemDidExpand:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)outlineViewItemWillCollapse:(NSNotification *)notification |
| To | - (void)outlineViewItemWillCollapse:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)outlineViewItemWillExpand:(NSNotification *)notification |
| To | - (void)outlineViewItemWillExpand:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)outlineViewSelectionDidChange:(NSNotification *)notification |
| To | - (void)outlineViewSelectionDidChange:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)outlineViewSelectionIsChanging:(NSNotification *)notification |
| To | - (void)outlineViewSelectionIsChanging:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)selectionShouldChangeInOutlineView:(NSOutlineView *)outlineView |
| To | - (BOOL)selectionShouldChangeInOutlineView:(NSOutlineView * _Nonnull)outlineView |
NSPageController.h
Modified NSPageController.arrangedObjects
| Declaration | |
|---|---|
| From | @property(copy) NSArray *arrangedObjects |
| To | @property(copy, nonnull) NSArray *arrangedObjects |
Modified NSPageController.delegate
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet id<NSPageControllerDelegate> delegate |
| To | @property(assign, nullable) IBOutlet id<NSPageControllerDelegate> delegate |
Modified -[NSPageController navigateBack:]
| Declaration | |
|---|---|
| From | - (IBAction)navigateBack:(id)sender |
| To | - (IBAction)navigateBack:(id _Nullable)sender |
Modified -[NSPageController navigateForward:]
| Declaration | |
|---|---|
| From | - (IBAction)navigateForward:(id)sender |
| To | - (IBAction)navigateForward:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)navigateForwardToObject:(id)object |
| To | - (void)navigateForwardToObject:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSViewController *selectedViewController |
| To | @property(readonly, strong, nullable) NSViewController *selectedViewController |
| Declaration | |
|---|---|
| From | - (IBAction)takeSelectedIndexFrom:(id)sender |
| To | - (IBAction)takeSelectedIndexFrom:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)pageController:(NSPageController *)pageController didTransitionToObject:(id)object |
| To | - (void)pageController:(NSPageController * _Nonnull)pageController didTransitionToObject:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (NSRect)pageController:(NSPageController *)pageController frameForObject:(id)object |
| To | - (NSRect)pageController:(NSPageController * _Nonnull)pageController frameForObject:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (NSString *)pageController:(NSPageController *)pageController identifierForObject:(id)object |
| To | - (NSString * _Nonnull)pageController:(NSPageController * _Nonnull)pageController identifierForObject:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)pageController:(NSPageController *)pageController prepareViewController:(NSViewController *)viewController withObject:(id)object |
| To | - (void)pageController:(NSPageController * _Nonnull)pageController prepareViewController:(NSViewController * _Nonnull)viewController withObject:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (NSViewController *)pageController:(NSPageController *)pageController viewControllerForIdentifier:(NSString *)identifier |
| To | - (NSViewController * _Nonnull)pageController:(NSPageController * _Nonnull)pageController viewControllerForIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | - (void)pageControllerDidEndLiveTransition:(NSPageController *)pageController |
| To | - (void)pageControllerDidEndLiveTransition:(NSPageController * _Nonnull)pageController |
| Declaration | |
|---|---|
| From | - (void)pageControllerWillStartLiveTransition:(NSPageController *)pageController |
| To | - (void)pageControllerWillStartLiveTransition:(NSPageController * _Nonnull)pageController |
NSPageLayout.h
Modified -[NSApplication runPageLayout:]
| Declaration | |
|---|---|
| From | - (void)runPageLayout:(id)sender |
| To | - (void)runPageLayout:(id _Nullable)sender |
Modified NSPageLayout.accessoryControllers
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *accessoryControllers |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSViewController *> *accessoryControllers |
Modified -[NSPageLayout accessoryView]
| Declaration | |
|---|---|
| From | - (NSView *)accessoryView |
| To | - (NSView * _Null_unspecified)accessoryView |
| Declaration | |
|---|---|
| From | - (void)addAccessoryController:(NSViewController *)accessoryController |
| To | - (void)addAccessoryController:(NSViewController * _Nonnull)accessoryController |
Modified -[NSPageLayout beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:]
| Declaration | |
|---|---|
| From | - (void)beginSheetWithPrintInfo:(NSPrintInfo *)printInfo modalForWindow:(NSWindow *)docWindow delegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo |
| To | - (void)beginSheetWithPrintInfo:(NSPrintInfo * _Nonnull)printInfo modalForWindow:(NSWindow * _Nonnull)docWindow delegate:(id _Nullable)delegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Nullable)contextInfo |
Modified +[NSPageLayout pageLayout]
| Declaration | |
|---|---|
| From | + (NSPageLayout *)pageLayout |
| To | + (NSPageLayout * _Nonnull)pageLayout |
Modified NSPageLayout.printInfo
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSPrintInfo *printInfo |
| To | @property(readonly, strong, nullable) NSPrintInfo *printInfo |
| Declaration | |
|---|---|
| From | - (void)removeAccessoryController:(NSViewController *)accessoryController |
| To | - (void)removeAccessoryController:(NSViewController * _Nonnull)accessoryController |
| Declaration | |
|---|---|
| From | - (NSInteger)runModalWithPrintInfo:(NSPrintInfo *)printInfo |
| To | - (NSInteger)runModalWithPrintInfo:(NSPrintInfo * _Nonnull)printInfo |
Modified -[NSPageLayout setAccessoryView:]
| Declaration | |
|---|---|
| From | - (void)setAccessoryView:(NSView *)accessoryView |
| To | - (void)setAccessoryView:(NSView * _Null_unspecified)accessoryView |
NSPanGestureRecognizer.h
| Declaration | |
|---|---|
| From | - (void)setTranslation:(NSPoint)translation inView:(NSView *)view |
| To | - (void)setTranslation:(NSPoint)translation inView:(NSView * _Nullable)view |
| Declaration | |
|---|---|
| From | - (NSPoint)translationInView:(NSView *)view |
| To | - (NSPoint)translationInView:(NSView * _Nullable)view |
| Declaration | |
|---|---|
| From | - (NSPoint)velocityInView:(NSView *)view |
| To | - (NSPoint)velocityInView:(NSView * _Nullable)view |
NSParagraphStyle.h
Added NSTextTab(NSTextTabDeprecated)
| Declaration | |
|---|---|
| From | - (void)addTabStop:(NSTextTab *)anObject |
| To | - (void)addTabStop:(NSTextTab * _Nonnull)anObject |
| Introduction | |
|---|---|
| From | OS X 10.10 |
| To | OS X 10.0 |
| Declaration | |
|---|---|
| From | - (void)removeTabStop:(NSTextTab *)anObject |
| To | - (void)removeTabStop:(NSTextTab * _Nonnull)anObject |
| Declaration | |
|---|---|
| From | - (void)setParagraphStyle:(NSParagraphStyle *)obj |
| To | - (void)setParagraphStyle:(NSParagraphStyle * _Nonnull)obj |
Modified NSMutableParagraphStyle.tabStops
| Declaration | Introduction | |
|---|---|---|
| From | @property(copy) NSArray *tabStops | OS X 10.10 |
| To | @property(copy) NSArray<NSTextTab *> * _Null_unspecified tabStops | OS X 10.0 |
Modified NSMutableParagraphStyle.textBlocks
| Declaration | |
|---|---|
| From | @property(copy) NSArray *textBlocks |
| To | @property(copy, nonnull) NSArray<__kindof NSTextBlock *> *textBlocks |
Modified NSMutableParagraphStyle.textLists
| Declaration | |
|---|---|
| From | @property(copy) NSArray *textLists |
| To | @property(copy, nonnull) NSArray<NSTextList *> *textLists |
| Declaration | |
|---|---|
| From | + (NSParagraphStyle *)defaultParagraphStyle |
| To | + (NSParagraphStyle * _Nonnull)defaultParagraphStyle |
Modified NSParagraphStyle.defaultTabInterval
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
| Declaration | |
|---|---|
| From | + (NSWritingDirection)defaultWritingDirectionForLanguage:(NSString *)languageName |
| To | + (NSWritingDirection)defaultWritingDirectionForLanguage:(NSString * _Nullable)languageName |
Modified NSParagraphStyle.tabStops
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *tabStops |
| To | @property(readonly, copy, nonnull) NSArray<NSTextTab *> *tabStops |
Modified NSParagraphStyle.textBlocks
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *textBlocks |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSTextBlock *> *textBlocks |
Modified NSParagraphStyle.textLists
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *textLists |
| To | @property(readonly, copy, nonnull) NSArray<NSTextList *> *textLists |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithTextAlignment:(NSTextAlignment)alignment location:(CGFloat)loc options:(NSDictionary *)options | -- |
| To | - (instancetype _Nonnull)initWithTextAlignment:(NSTextAlignment)alignment location:(CGFloat)loc options:(NSDictionary<NSString *,id> * _Nonnull)options | yes |
Modified -[NSTextTab initWithType:location:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (instancetype)initWithType:(NSTextTabType)type location:(CGFloat)loc | -- |
| To | - (instancetype _Nonnull)initWithType:(NSTextTabType)type location:(CGFloat)loc | OS X 10.11 |
Modified NSTextTab.options
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *options |
| To | @property(readonly, nonnull) NSDictionary<NSString *,id> *options |
Modified NSTextTab.tabStopType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSTabColumnTerminatorsAttributeName
| Introduction | |
|---|---|
| From | OS X 10.3 |
| To | OS X 10.0 |
NSPasteboard.h
| Declaration | |
|---|---|
| From | - (void)pasteboard:(NSPasteboard *)sender provideDataForType:(NSString *)type |
| To | - (void)pasteboard:(NSPasteboard * _Nonnull)sender provideDataForType:(NSString * _Nonnull)type |
Modified -[NSObject pasteboardChangedOwner:]
| Declaration | |
|---|---|
| From | - (void)pasteboardChangedOwner:(NSPasteboard *)sender |
| To | - (void)pasteboardChangedOwner:(NSPasteboard * _Nonnull)sender |
Modified -[NSPasteboard addTypes:owner:]
| Declaration | |
|---|---|
| From | - (NSInteger)addTypes:(NSArray *)newTypes owner:(id)newOwner |
| To | - (NSInteger)addTypes:(NSArray<NSString *> * _Nonnull)newTypes owner:(id _Nullable)newOwner |
| Declaration | |
|---|---|
| From | - (NSString *)availableTypeFromArray:(NSArray *)types |
| To | - (NSString * _Nullable)availableTypeFromArray:(NSArray<NSString *> * _Nonnull)types |
| Declaration | |
|---|---|
| From | - (BOOL)canReadItemWithDataConformingToTypes:(NSArray *)types |
| To | - (BOOL)canReadItemWithDataConformingToTypes:(NSArray<NSString *> * _Nonnull)types |
| Declaration | |
|---|---|
| From | - (BOOL)canReadObjectForClasses:(NSArray *)classArray options:(NSDictionary *)options |
| To | - (BOOL)canReadObjectForClasses:(NSArray<Class> * _Nonnull)classArray options:(NSDictionary<NSString *,id> * _Nullable)options |
Modified -[NSPasteboard dataForType:]
| Declaration | |
|---|---|
| From | - (NSData *)dataForType:(NSString *)dataType |
| To | - (NSData * _Nullable)dataForType:(NSString * _Nonnull)dataType |
Modified -[NSPasteboard declareTypes:owner:]
| Declaration | |
|---|---|
| From | - (NSInteger)declareTypes:(NSArray *)newTypes owner:(id)newOwner |
| To | - (NSInteger)declareTypes:(NSArray<NSString *> * _Nonnull)newTypes owner:(id _Nullable)newOwner |
Modified +[NSPasteboard generalPasteboard]
| Declaration | |
|---|---|
| From | + (NSPasteboard *)generalPasteboard |
| To | + (NSPasteboard * _Nonnull)generalPasteboard |
| Declaration | |
|---|---|
| From | - (NSUInteger)indexOfPasteboardItem:(NSPasteboardItem *)pasteboardItem |
| To | - (NSUInteger)indexOfPasteboardItem:(NSPasteboardItem * _Nonnull)pasteboardItem |
Modified NSPasteboard.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
| Declaration | |
|---|---|
| From | + (NSPasteboard *)pasteboardByFilteringData:(NSData *)data ofType:(NSString *)type |
| To | + (NSPasteboard * _Nonnull)pasteboardByFilteringData:(NSData * _Nonnull)data ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | + (NSPasteboard *)pasteboardByFilteringFile:(NSString *)filename |
| To | + (NSPasteboard * _Nonnull)pasteboardByFilteringFile:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | + (NSPasteboard *)pasteboardByFilteringTypesInPasteboard:(NSPasteboard *)pboard |
| To | + (NSPasteboard * _Nonnull)pasteboardByFilteringTypesInPasteboard:(NSPasteboard * _Nonnull)pboard |
Modified NSPasteboard.pasteboardItems
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *pasteboardItems |
| To | @property(readonly, copy, nullable) NSArray<NSPasteboardItem *> *pasteboardItems |
Modified +[NSPasteboard pasteboardWithName:]
| Declaration | |
|---|---|
| From | + (NSPasteboard *)pasteboardWithName:(NSString *)name |
| To | + (NSPasteboard * _Nonnull)pasteboardWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (NSPasteboard *)pasteboardWithUniqueName |
| To | + (NSPasteboard * _Nonnull)pasteboardWithUniqueName |
Modified -[NSPasteboard propertyListForType:]
| Declaration | |
|---|---|
| From | - (id)propertyListForType:(NSString *)dataType |
| To | - (id _Nullable)propertyListForType:(NSString * _Nonnull)dataType |
| Declaration | |
|---|---|
| From | - (NSString *)readFileContentsType:(NSString *)type toFile:(NSString *)filename |
| To | - (NSString * _Nullable)readFileContentsType:(NSString * _Nullable)type toFile:(NSString * _Nonnull)filename |
Modified -[NSPasteboard readFileWrapper]
| Declaration | |
|---|---|
| From | - (NSFileWrapper *)readFileWrapper |
| To | - (NSFileWrapper * _Nullable)readFileWrapper |
| Declaration | |
|---|---|
| From | - (NSArray *)readObjectsForClasses:(NSArray *)classArray options:(NSDictionary *)options |
| To | - (NSArray * _Nullable)readObjectsForClasses:(NSArray<Class> * _Nonnull)classArray options:(NSDictionary<NSString *,id> * _Nullable)options |
Modified -[NSPasteboard setData:forType:]
| Declaration | |
|---|---|
| From | - (BOOL)setData:(NSData *)data forType:(NSString *)dataType |
| To | - (BOOL)setData:(NSData * _Nullable)data forType:(NSString * _Nonnull)dataType |
| Declaration | |
|---|---|
| From | - (BOOL)setPropertyList:(id)plist forType:(NSString *)dataType |
| To | - (BOOL)setPropertyList:(id _Nonnull)plist forType:(NSString * _Nonnull)dataType |
Modified -[NSPasteboard setString:forType:]
| Declaration | |
|---|---|
| From | - (BOOL)setString:(NSString *)string forType:(NSString *)dataType |
| To | - (BOOL)setString:(NSString * _Nonnull)string forType:(NSString * _Nonnull)dataType |
Modified -[NSPasteboard stringForType:]
| Declaration | |
|---|---|
| From | - (NSString *)stringForType:(NSString *)dataType |
| To | - (NSString * _Nullable)stringForType:(NSString * _Nonnull)dataType |
Modified NSPasteboard.types
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *types |
| To | @property(readonly, copy, nullable) NSArray<NSString *> *types |
Modified +[NSPasteboard typesFilterableTo:]
| Declaration | |
|---|---|
| From | + (NSArray *)typesFilterableTo:(NSString *)type |
| To | + (NSArray<NSString *> * _Nonnull)typesFilterableTo:(NSString * _Nonnull)type |
Modified -[NSPasteboard writeFileContents:]
| Declaration | |
|---|---|
| From | - (BOOL)writeFileContents:(NSString *)filename |
| To | - (BOOL)writeFileContents:(NSString * _Nonnull)filename |
Modified -[NSPasteboard writeFileWrapper:]
| Declaration | |
|---|---|
| From | - (BOOL)writeFileWrapper:(NSFileWrapper *)wrapper |
| To | - (BOOL)writeFileWrapper:(NSFileWrapper * _Nonnull)wrapper |
Modified -[NSPasteboard writeObjects:]
| Declaration | |
|---|---|
| From | - (BOOL)writeObjects:(NSArray *)objects |
| To | - (BOOL)writeObjects:(NSArray<id<NSPasteboardWriting>> * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (id)initWithPasteboardPropertyList:(id)propertyList ofType:(NSString *)type |
| To | - (id _Nullable)initWithPasteboardPropertyList:(id _Nonnull)propertyList ofType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | + (NSArray *)readableTypesForPasteboard:(NSPasteboard *)pasteboard |
| To | + (NSArray<NSString *> * _Nonnull)readableTypesForPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | + (NSPasteboardReadingOptions)readingOptionsForType:(NSString *)type pasteboard:(NSPasteboard *)pasteboard |
| To | + (NSPasteboardReadingOptions)readingOptionsForType:(NSString * _Nonnull)type pasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (id)pasteboardPropertyListForType:(NSString *)type |
| To | - (id _Nullable)pasteboardPropertyListForType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (NSArray *)writableTypesForPasteboard:(NSPasteboard *)pasteboard |
| To | - (NSArray<NSString *> * _Nonnull)writableTypesForPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (NSPasteboardWritingOptions)writingOptionsForType:(NSString *)type pasteboard:(NSPasteboard *)pasteboard |
| To | - (NSPasteboardWritingOptions)writingOptionsForType:(NSString * _Nonnull)type pasteboard:(NSPasteboard * _Nonnull)pasteboard |
Modified +[NSURL URLFromPasteboard:]
| Declaration | |
|---|---|
| From | + (NSURL *)URLFromPasteboard:(NSPasteboard *)pasteBoard |
| To | + (NSURL * _Nullable)URLFromPasteboard:(NSPasteboard * _Nonnull)pasteBoard |
Modified -[NSURL writeToPasteboard:]
| Declaration | |
|---|---|
| From | - (void)writeToPasteboard:(NSPasteboard *)pasteBoard |
| To | - (void)writeToPasteboard:(NSPasteboard * _Nonnull)pasteBoard |
Modified NSCreateFileContentsPboardType()
| Declaration | |
|---|---|
| From | NSString * NSCreateFileContentsPboardType (
NSString *fileType
);
|
| To | NSString * _Nullable NSCreateFileContentsPboardType (
NSString * _Nonnull fileType
);
|
Modified NSCreateFilenamePboardType()
| Declaration | |
|---|---|
| From | NSString * NSCreateFilenamePboardType (
NSString *fileType
);
|
| To | NSString * _Nullable NSCreateFilenamePboardType (
NSString * _Nonnull fileType
);
|
Modified NSGetFileType()
| Declaration | |
|---|---|
| From | NSString * NSGetFileType (
NSString *pboardType
);
|
| To | NSString * _Nullable NSGetFileType (
NSString * _Nonnull pboardType
);
|
Modified NSGetFileTypes()
| Declaration | |
|---|---|
| From | NSArray * NSGetFileTypes (
NSArray *pboardTypes
);
|
| To | NSArray<NSString *> * _Nullable NSGetFileTypes (
NSArray<NSString *> * _Nonnull pboardTypes
);
|
NSPasteboardItem.h
| Declaration | |
|---|---|
| From | - (NSString *)availableTypeFromArray:(NSArray *)types |
| To | - (NSString * _Nullable)availableTypeFromArray:(NSArray<NSString *> * _Nonnull)types |
Modified -[NSPasteboardItem dataForType:]
| Declaration | |
|---|---|
| From | - (NSData *)dataForType:(NSString *)type |
| To | - (NSData * _Nullable)dataForType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (id)propertyListForType:(NSString *)type |
| To | - (id _Nullable)propertyListForType:(NSString * _Nonnull)type |
Modified -[NSPasteboardItem setData:forType:]
| Declaration | |
|---|---|
| From | - (BOOL)setData:(NSData *)data forType:(NSString *)type |
| To | - (BOOL)setData:(NSData * _Nullable)data forType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)setDataProvider:(id<NSPasteboardItemDataProvider>)dataProvider forTypes:(NSArray *)types |
| To | - (BOOL)setDataProvider:(id<NSPasteboardItemDataProvider> _Nonnull)dataProvider forTypes:(NSArray * _Nonnull)types |
| Declaration | |
|---|---|
| From | - (BOOL)setPropertyList:(id)propertyList forType:(NSString *)type |
| To | - (BOOL)setPropertyList:(id _Nullable)propertyList forType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)setString:(NSString *)string forType:(NSString *)type |
| To | - (BOOL)setString:(NSString * _Nullable)string forType:(NSString * _Nonnull)type |
Modified -[NSPasteboardItem stringForType:]
| Declaration | |
|---|---|
| From | - (NSString *)stringForType:(NSString *)type |
| To | - (NSString * _Nullable)stringForType:(NSString * _Nonnull)type |
Modified NSPasteboardItem.types
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *types |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *types |
| Declaration | |
|---|---|
| From | - (void)pasteboard:(NSPasteboard *)pasteboard item:(NSPasteboardItem *)item provideDataForType:(NSString *)type |
| To | - (void)pasteboard:(NSPasteboard * _Nullable)pasteboard item:(NSPasteboardItem * _Nonnull)item provideDataForType:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (void)pasteboardFinishedWithDataProvider:(NSPasteboard *)pasteboard |
| To | - (void)pasteboardFinishedWithDataProvider:(NSPasteboard * _Nonnull)pasteboard |
NSPathCell.h
Modified NSPathCell.allowedTypes
| Declaration | |
|---|---|
| From | @property(copy) NSArray *allowedTypes |
| To | @property(copy, nullable) NSArray<NSString *> *allowedTypes |
Modified NSPathCell.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nullable) NSColor *backgroundColor |
Modified NSPathCell.clickedPathComponentCell
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSPathComponentCell *clickedPathComponentCell |
| To | @property(readonly, strong, nullable) NSPathComponentCell *clickedPathComponentCell |
Modified NSPathCell.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSPathCellDelegate> delegate |
| To | @property(assign, nullable) id<NSPathCellDelegate> delegate |
Modified NSPathCell.doubleAction
| Declaration | |
|---|---|
| From | @property SEL doubleAction |
| To | @property(nullable) SEL doubleAction |
| Declaration | |
|---|---|
| From | - (void)mouseEntered:(NSEvent *)event withFrame:(NSRect)frame inView:(NSView *)view |
| To | - (void)mouseEntered:(NSEvent * _Nonnull)event withFrame:(NSRect)frame inView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (void)mouseExited:(NSEvent *)event withFrame:(NSRect)frame inView:(NSView *)view |
| To | - (void)mouseExited:(NSEvent * _Nonnull)event withFrame:(NSRect)frame inView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (NSPathComponentCell *)pathComponentCellAtPoint:(NSPoint)point withFrame:(NSRect)frame inView:(NSView *)view |
| To | - (NSPathComponentCell * _Nullable)pathComponentCellAtPoint:(NSPoint)point withFrame:(NSRect)frame inView:(NSView * _Nonnull)view |
Modified +[NSPathCell pathComponentCellClass]
| Declaration | |
|---|---|
| From | + (Class)pathComponentCellClass |
| To | + (Class _Nonnull)pathComponentCellClass |
Modified NSPathCell.pathComponentCells
| Declaration | |
|---|---|
| From | @property(copy) NSArray *pathComponentCells |
| To | @property(copy, nonnull) NSArray<__kindof NSPathComponentCell *> *pathComponentCells |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *placeholderAttributedString |
| To | @property(copy, nullable) NSAttributedString *placeholderAttributedString |
Modified NSPathCell.placeholderString
| Declaration | |
|---|---|
| From | @property(copy) NSString *placeholderString |
| To | @property(copy, nullable) NSString *placeholderString |
| Declaration | |
|---|---|
| From | - (NSRect)rectOfPathComponentCell:(NSPathComponentCell *)cell withFrame:(NSRect)frame inView:(NSView *)view |
| To | - (NSRect)rectOfPathComponentCell:(NSPathComponentCell * _Nonnull)cell withFrame:(NSRect)frame inView:(NSView * _Nonnull)view |
Modified -[NSPathCell setObjectValue:]
| Declaration | |
|---|---|
| From | - (void)setObjectValue:(id<NSCopying>)obj |
| To | - (void)setObjectValue:(id<NSCopying> _Nullable)obj |
Modified NSPathCell.URL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *URL |
| To | @property(copy, nullable) NSURL *URL |
| Declaration | |
|---|---|
| From | - (void)pathCell:(NSPathCell *)pathCell willDisplayOpenPanel:(NSOpenPanel *)openPanel |
| To | - (void)pathCell:(NSPathCell * _Nonnull)pathCell willDisplayOpenPanel:(NSOpenPanel * _Nonnull)openPanel |
| Declaration | |
|---|---|
| From | - (void)pathCell:(NSPathCell *)pathCell willPopUpMenu:(NSMenu *)menu |
| To | - (void)pathCell:(NSPathCell * _Nonnull)pathCell willPopUpMenu:(NSMenu * _Nonnull)menu |
NSPathComponentCell.h
Modified NSPathComponentCell.image
| Declaration | |
|---|---|
| From | @property(copy) NSImage *image |
| To | @property(copy, nullable) NSImage *image |
Modified NSPathComponentCell.URL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *URL |
| To | @property(copy, nullable) NSURL *URL |
NSPathControl.h
Modified NSPathControl.allowedTypes
| Declaration | |
|---|---|
| From | @property(copy) NSArray *allowedTypes |
| To | @property(copy, nullable) NSArray<NSString *> *allowedTypes |
Modified NSPathControl.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nullable) NSColor *backgroundColor |
| Declaration | |
|---|---|
| From | - (NSPathComponentCell *)clickedPathComponentCell |
| To | - (NSPathComponentCell * _Nullable)clickedPathComponentCell |
Modified NSPathControl.clickedPathItem
| Declaration | |
|---|---|
| From | @property(readonly) NSPathControlItem *clickedPathItem |
| To | @property(readonly, nullable) NSPathControlItem *clickedPathItem |
Modified NSPathControl.delegate
| Declaration | |
|---|---|
| From | @property(weak) id<NSPathControlDelegate> delegate |
| To | @property(weak, nullable) id<NSPathControlDelegate> delegate |
Modified NSPathControl.doubleAction
| Declaration | |
|---|---|
| From | @property SEL doubleAction |
| To | @property(nullable) SEL doubleAction |
Modified NSPathControl.menu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *menu |
| To | @property(strong, nullable) NSMenu *menu |
Modified -[NSPathControl pathComponentCells]
| Declaration | |
|---|---|
| From | - (NSArray *)pathComponentCells |
| To | - (NSArray<NSPathComponentCell *> * _Nonnull)pathComponentCells |
Modified NSPathControl.pathItems
| Declaration | |
|---|---|
| From | @property(copy) NSArray *pathItems |
| To | @property(copy, nonnull) NSArray<NSPathControlItem *> *pathItems |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *placeholderAttributedString |
| To | @property(copy, nullable) NSAttributedString *placeholderAttributedString |
Modified NSPathControl.placeholderString
| Declaration | |
|---|---|
| From | @property(copy) NSString *placeholderString |
| To | @property(copy, nullable) NSString *placeholderString |
| Declaration | |
|---|---|
| From | - (void)setPathComponentCells:(NSArray *)cells |
| To | - (void)setPathComponentCells:(NSArray<NSPathComponentCell *> * _Nonnull)cells |
Modified NSPathControl.URL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *URL |
| To | @property(copy, nullable) NSURL *URL |
| Declaration | |
|---|---|
| From | - (BOOL)pathControl:(NSPathControl *)pathControl acceptDrop:(id<NSDraggingInfo>)info |
| To | - (BOOL)pathControl:(NSPathControl * _Nonnull)pathControl acceptDrop:(id<NSDraggingInfo> _Nonnull)info |
| Declaration | |
|---|---|
| From | - (BOOL)pathControl:(NSPathControl *)pathControl shouldDragItem:(NSPathControlItem *)pathItem withPasteboard:(NSPasteboard *)pasteboard |
| To | - (BOOL)pathControl:(NSPathControl * _Nonnull)pathControl shouldDragItem:(NSPathControlItem * _Nonnull)pathItem withPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (BOOL)pathControl:(NSPathControl *)pathControl shouldDragPathComponentCell:(NSPathComponentCell *)pathComponentCell withPasteboard:(NSPasteboard *)pasteboard |
| To | - (BOOL)pathControl:(NSPathControl * _Nonnull)pathControl shouldDragPathComponentCell:(NSPathComponentCell * _Nonnull)pathComponentCell withPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (NSDragOperation)pathControl:(NSPathControl *)pathControl validateDrop:(id<NSDraggingInfo>)info |
| To | - (NSDragOperation)pathControl:(NSPathControl * _Nonnull)pathControl validateDrop:(id<NSDraggingInfo> _Nonnull)info |
| Declaration | |
|---|---|
| From | - (void)pathControl:(NSPathControl *)pathControl willDisplayOpenPanel:(NSOpenPanel *)openPanel |
| To | - (void)pathControl:(NSPathControl * _Nonnull)pathControl willDisplayOpenPanel:(NSOpenPanel * _Nonnull)openPanel |
| Declaration | |
|---|---|
| From | - (void)pathControl:(NSPathControl *)pathControl willPopUpMenu:(NSMenu *)menu |
| To | - (void)pathControl:(NSPathControl * _Nonnull)pathControl willPopUpMenu:(NSMenu * _Nonnull)menu |
NSPathControlItem.h
Modified NSPathControlItem.attributedTitle
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedTitle |
| To | @property(copy, nonnull) NSAttributedString *attributedTitle |
Modified NSPathControlItem.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
Modified NSPathControlItem.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
Modified NSPathControlItem.URL
| Declaration | |
|---|---|
| From | @property(readonly) NSURL *URL |
| To | @property(readonly, nullable) NSURL *URL |
NSPDFImageRep.h
Modified +[NSPDFImageRep imageRepWithData:]
| Declaration | |
|---|---|
| From | + (instancetype)imageRepWithData:(NSData *)pdfData |
| To | + (instancetype _Nullable)imageRepWithData:(NSData * _Nonnull)pdfData |
Modified -[NSPDFImageRep initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)pdfData |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)pdfData |
Modified NSPDFImageRep.PDFRepresentation
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSData *PDFRepresentation |
| To | @property(readonly, strong, nonnull) NSData *PDFRepresentation |
NSPDFInfo.h
Modified NSPDFInfo.attributes
| Declaration | |
|---|---|
| From | @property(readonly) NSMutableDictionary *attributes |
| To | @property(readonly, nonnull) NSMutableDictionary<NSString *,id> *attributes |
Modified NSPDFInfo.tagNames
| Declaration | |
|---|---|
| From | @property(copy) NSArray *tagNames |
| To | @property(copy, nonnull) NSArray<NSString *> *tagNames |
Modified NSPDFInfo.URL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *URL |
| To | @property(copy, nullable) NSURL *URL |
NSPDFPanel.h
Modified NSPDFPanel.accessoryController
| Declaration | |
|---|---|
| From | @property(strong) NSViewController *accessoryController |
| To | @property(strong, nullable) NSViewController *accessoryController |
| Declaration | |
|---|---|
| From | - (void)beginSheetWithPDFInfo:(NSPDFInfo *)pdfInfo modalForWindow:(NSWindow *)docWindow completionHandler:(void (^)(NSInteger))completionHandler |
| To | - (void)beginSheetWithPDFInfo:(NSPDFInfo * _Nonnull)pdfInfo modalForWindow:(NSWindow * _Nullable)docWindow completionHandler:(void (^ _Nonnull)(NSInteger))completionHandler |
Modified NSPDFPanel.defaultFileName
| Declaration | |
|---|---|
| From | @property(copy) NSString *defaultFileName |
| To | @property(copy, nonnull) NSString *defaultFileName |
Modified +[NSPDFPanel panel]
| Declaration | |
|---|---|
| From | + (NSPDFPanel *)panel |
| To | + (NSPDFPanel * _Nonnull)panel |
NSPersistentDocument.h
| Declaration | |
|---|---|
| From | - (BOOL)configurePersistentStoreCoordinatorForURL:(NSURL *)url ofType:(NSString *)fileType error:(NSError **)error |
| To | - (BOOL)configurePersistentStoreCoordinatorForURL:(NSURL * _Null_unspecified)url ofType:(NSString * _Null_unspecified)fileType error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)configurePersistentStoreCoordinatorForURL:(NSURL *)url ofType:(NSString *)fileType modelConfiguration:(NSString *)configuration storeOptions:(NSDictionary *)storeOptions error:(NSError **)error |
| To | - (BOOL)configurePersistentStoreCoordinatorForURL:(NSURL * _Nonnull)url ofType:(NSString * _Nonnull)fileType modelConfiguration:(NSString * _Nullable)configuration storeOptions:(NSDictionary<NSString *,id> * _Nullable)storeOptions error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | @property(strong) NSManagedObjectContext *managedObjectContext |
| To | @property(strong, nullable) NSManagedObjectContext *managedObjectContext |
| Declaration | |
|---|---|
| From | @property(readonly, strong) id managedObjectModel |
| To | @property(readonly, strong, nullable) NSManagedObjectModel *managedObjectModel |
| Declaration | |
|---|---|
| From | - (NSString *)persistentStoreTypeForFileType:(NSString *)fileType |
| To | - (NSString * _Nonnull)persistentStoreTypeForFileType:(NSString * _Nonnull)fileType |
| Declaration | |
|---|---|
| From | - (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)error |
| To | - (BOOL)readFromURL:(NSURL * _Nonnull)absoluteURL ofType:(NSString * _Nonnull)typeName error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)revertToContentsOfURL:(NSURL *)inAbsoluteURL ofType:(NSString *)inTypeName error:(NSError **)outError |
| To | - (BOOL)revertToContentsOfURL:(NSURL * _Nonnull)inAbsoluteURL ofType:(NSString * _Nonnull)inTypeName error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)error |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)absoluteURL ofType:(NSString * _Nonnull)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL * _Nullable)absoluteOriginalContentsURL error:(NSError * _Nullable * _Nullable)error |
NSPICTImageRep.h
Modified +[NSPICTImageRep imageRepWithData:]
| Declaration | |
|---|---|
| From | + (instancetype)imageRepWithData:(NSData *)pictData |
| To | + (instancetype _Nullable)imageRepWithData:(NSData * _Nonnull)pictData |
Modified -[NSPICTImageRep initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)pictData |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)pictData |
Modified NSPICTImageRep.PICTRepresentation
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *PICTRepresentation |
| To | @property(readonly, copy, nonnull) NSData *PICTRepresentation |
NSPopover.h
Modified NSPopover.appearance
| Declaration | |
|---|---|
| From | @property(strong) NSAppearance *appearance |
| To | @property(strong, nullable) NSAppearance *appearance |
Modified NSPopover.contentViewController
| Declaration | |
|---|---|
| From | @property(retain) IBOutlet NSViewController *contentViewController |
| To | @property(retain, nullable) IBOutlet NSViewController *contentViewController |
Modified NSPopover.delegate
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet id<NSPopoverDelegate> delegate |
| To | @property(assign, nullable) IBOutlet id<NSPopoverDelegate> delegate |
Modified NSPopover.effectiveAppearance
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSAppearance *effectiveAppearance |
| To | @property(readonly, strong, nonnull) NSAppearance *effectiveAppearance |
Modified -[NSPopover init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSPopover initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSPopover performClose:]
| Declaration | |
|---|---|
| From | - (IBAction)performClose:(id)sender |
| To | - (IBAction)performClose:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)showRelativeToRect:(NSRect)positioningRect ofView:(NSView *)positioningView preferredEdge:(NSRectEdge)preferredEdge |
| To | - (void)showRelativeToRect:(NSRect)positioningRect ofView:(NSView * _Nonnull)positioningView preferredEdge:(NSRectEdge)preferredEdge |
| Declaration | |
|---|---|
| From | - (NSWindow *)detachableWindowForPopover:(NSPopover *)popover |
| To | - (NSWindow * _Nullable)detachableWindowForPopover:(NSPopover * _Nonnull)popover |
| Declaration | |
|---|---|
| From | - (void)popoverDidClose:(NSNotification *)notification |
| To | - (void)popoverDidClose:(NSNotification * _Nonnull)notification |
Modified -[NSPopoverDelegate popoverDidShow:]
| Declaration | |
|---|---|
| From | - (void)popoverDidShow:(NSNotification *)notification |
| To | - (void)popoverDidShow:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)popoverShouldClose:(NSPopover *)popover |
| To | - (BOOL)popoverShouldClose:(NSPopover * _Nonnull)popover |
| Declaration | |
|---|---|
| From | - (BOOL)popoverShouldDetach:(NSPopover *)popover |
| To | - (BOOL)popoverShouldDetach:(NSPopover * _Nonnull)popover |
| Declaration | |
|---|---|
| From | - (void)popoverWillClose:(NSNotification *)notification |
| To | - (void)popoverWillClose:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)popoverWillShow:(NSNotification *)notification |
| To | - (void)popoverWillShow:(NSNotification * _Nonnull)notification |
NSPopUpButton.h
Modified -[NSPopUpButton addItemsWithTitles:]
| Declaration | |
|---|---|
| From | - (void)addItemsWithTitles:(NSArray *)itemTitles |
| To | - (void)addItemsWithTitles:(NSArray<NSString *> * _Nonnull)itemTitles |
Modified -[NSPopUpButton addItemWithTitle:]
| Declaration | |
|---|---|
| From | - (void)addItemWithTitle:(NSString *)title |
| To | - (void)addItemWithTitle:(NSString * _Nonnull)title |
Modified -[NSPopUpButton indexOfItem:]
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItem:(NSMenuItem *)item |
| To | - (NSInteger)indexOfItem:(NSMenuItem * _Nonnull)item |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithRepresentedObject:(id)obj |
| To | - (NSInteger)indexOfItemWithRepresentedObject:(id _Nullable)obj |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithTarget:(id)target andAction:(SEL)actionSelector |
| To | - (NSInteger)indexOfItemWithTarget:(id _Nullable)target andAction:(SEL _Nullable)actionSelector |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithTitle:(NSString *)title |
| To | - (NSInteger)indexOfItemWithTitle:(NSString * _Nonnull)title |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)buttonFrame pullsDown:(BOOL)flag |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)buttonFrame pullsDown:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (void)insertItemWithTitle:(NSString *)title atIndex:(NSInteger)index |
| To | - (void)insertItemWithTitle:(NSString * _Nonnull)title atIndex:(NSInteger)index |
Modified NSPopUpButton.itemArray
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *itemArray |
| To | @property(readonly, copy, nonnull) NSArray<NSMenuItem *> *itemArray |
Modified -[NSPopUpButton itemAtIndex:]
| Declaration | |
|---|---|
| From | - (NSMenuItem *)itemAtIndex:(NSInteger)index |
| To | - (NSMenuItem * _Nullable)itemAtIndex:(NSInteger)index |
Modified -[NSPopUpButton itemTitleAtIndex:]
| Declaration | |
|---|---|
| From | - (NSString *)itemTitleAtIndex:(NSInteger)index |
| To | - (NSString * _Nonnull)itemTitleAtIndex:(NSInteger)index |
Modified NSPopUpButton.itemTitles
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *itemTitles |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *itemTitles |
Modified -[NSPopUpButton itemWithTitle:]
| Declaration | |
|---|---|
| From | - (NSMenuItem *)itemWithTitle:(NSString *)title |
| To | - (NSMenuItem * _Nullable)itemWithTitle:(NSString * _Nonnull)title |
Modified NSPopUpButton.lastItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMenuItem *lastItem |
| To | @property(readonly, strong, nullable) NSMenuItem *lastItem |
Modified NSPopUpButton.menu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *menu |
| To | @property(strong, nullable) NSMenu *menu |
| Declaration | |
|---|---|
| From | - (void)removeItemWithTitle:(NSString *)title |
| To | - (void)removeItemWithTitle:(NSString * _Nonnull)title |
Modified NSPopUpButton.selectedItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMenuItem *selectedItem |
| To | @property(readonly, strong, nullable) NSMenuItem *selectedItem |
Modified -[NSPopUpButton selectItem:]
| Declaration | |
|---|---|
| From | - (void)selectItem:(NSMenuItem *)item |
| To | - (void)selectItem:(NSMenuItem * _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)selectItemWithTitle:(NSString *)title |
| To | - (void)selectItemWithTitle:(NSString * _Nonnull)title |
Modified -[NSPopUpButton setTitle:]
| Declaration | |
|---|---|
| From | - (void)setTitle:(NSString *)aString |
| To | - (void)setTitle:(NSString * _Nonnull)aString |
Modified NSPopUpButton.titleOfSelectedItem
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *titleOfSelectedItem |
| To | @property(readonly, copy, nullable) NSString *titleOfSelectedItem |
NSPopUpButtonCell.h
| Declaration | |
|---|---|
| From | - (void)addItemsWithTitles:(NSArray *)itemTitles |
| To | - (void)addItemsWithTitles:(NSArray<NSString *> * _Nonnull)itemTitles |
| Declaration | |
|---|---|
| From | - (void)addItemWithTitle:(NSString *)title |
| To | - (void)addItemWithTitle:(NSString * _Nonnull)title |
| Declaration | |
|---|---|
| From | - (void)attachPopUpWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)attachPopUpWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView |
Modified -[NSPopUpButtonCell indexOfItem:]
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItem:(NSMenuItem *)item |
| To | - (NSInteger)indexOfItem:(NSMenuItem * _Nonnull)item |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithRepresentedObject:(id)obj |
| To | - (NSInteger)indexOfItemWithRepresentedObject:(id _Nullable)obj |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithTarget:(id)target andAction:(SEL)actionSelector |
| To | - (NSInteger)indexOfItemWithTarget:(id _Nullable)target andAction:(SEL _Nullable)actionSelector |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfItemWithTitle:(NSString *)title |
| To | - (NSInteger)indexOfItemWithTitle:(NSString * _Nonnull)title |
| Declaration | |
|---|---|
| From | - (instancetype)initTextCell:(NSString *)stringValue pullsDown:(BOOL)pullDown |
| To | - (instancetype _Nonnull)initTextCell:(NSString * _Nonnull)stringValue pullsDown:(BOOL)pullDown |
| Declaration | |
|---|---|
| From | - (void)insertItemWithTitle:(NSString *)title atIndex:(NSInteger)index |
| To | - (void)insertItemWithTitle:(NSString * _Nonnull)title atIndex:(NSInteger)index |
Modified NSPopUpButtonCell.itemArray
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *itemArray |
| To | @property(readonly, copy, nonnull) NSArray<NSMenuItem *> *itemArray |
Modified -[NSPopUpButtonCell itemAtIndex:]
| Declaration | |
|---|---|
| From | - (NSMenuItem *)itemAtIndex:(NSInteger)index |
| To | - (NSMenuItem * _Nullable)itemAtIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (NSString *)itemTitleAtIndex:(NSInteger)index |
| To | - (NSString * _Nonnull)itemTitleAtIndex:(NSInteger)index |
Modified NSPopUpButtonCell.itemTitles
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *itemTitles |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *itemTitles |
Modified -[NSPopUpButtonCell itemWithTitle:]
| Declaration | |
|---|---|
| From | - (NSMenuItem *)itemWithTitle:(NSString *)title |
| To | - (NSMenuItem * _Nullable)itemWithTitle:(NSString * _Nonnull)title |
Modified NSPopUpButtonCell.lastItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMenuItem *lastItem |
| To | @property(readonly, strong, nullable) NSMenuItem *lastItem |
Modified NSPopUpButtonCell.menu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *menu |
| To | @property(strong, nullable) NSMenu *menu |
| Declaration | |
|---|---|
| From | - (void)performClickWithFrame:(NSRect)frame inView:(NSView *)controlView |
| To | - (void)performClickWithFrame:(NSRect)frame inView:(NSView * _Nonnull)controlView |
| Declaration | |
|---|---|
| From | - (void)removeItemWithTitle:(NSString *)title |
| To | - (void)removeItemWithTitle:(NSString * _Nonnull)title |
Modified NSPopUpButtonCell.selectedItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMenuItem *selectedItem |
| To | @property(readonly, strong, nullable) NSMenuItem *selectedItem |
Modified -[NSPopUpButtonCell selectItem:]
| Declaration | |
|---|---|
| From | - (void)selectItem:(NSMenuItem *)item |
| To | - (void)selectItem:(NSMenuItem * _Nullable)item |
| Declaration | |
|---|---|
| From | - (void)selectItemWithTitle:(NSString *)title |
| To | - (void)selectItemWithTitle:(NSString * _Nonnull)title |
Modified -[NSPopUpButtonCell setTitle:]
| Declaration | |
|---|---|
| From | - (void)setTitle:(NSString *)aString |
| To | - (void)setTitle:(NSString * _Nullable)aString |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *titleOfSelectedItem |
| To | @property(readonly, copy, nullable) NSString *titleOfSelectedItem |
NSPredicateEditor.h
Modified NSPredicateEditor.rowTemplates
| Declaration | |
|---|---|
| From | @property(copy) NSArray *rowTemplates |
| To | @property(copy, nonnull) NSArray<NSPredicateEditorRowTemplate *> *rowTemplates |
NSPredicateEditorRowTemplate.h
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *compoundTypes |
| To | @property(readonly, copy, nullable) NSArray<NSNumber *> *compoundTypes |
| Declaration | |
|---|---|
| From | - (NSArray *)displayableSubpredicatesOfPredicate:(NSPredicate *)predicate |
| To | - (NSArray<NSPredicate *> * _Nullable)displayableSubpredicatesOfPredicate:(NSPredicate * _Nonnull)predicate |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCompoundTypes:(NSArray *)compoundTypes |
| To | - (instancetype _Nonnull)initWithCompoundTypes:(NSArray<NSNumber *> * _Nonnull)compoundTypes |
| Declaration | |
|---|---|
| From | - (instancetype)initWithLeftExpressions:(NSArray *)leftExpressions rightExpressionAttributeType:(NSAttributeType)attributeType modifier:(NSComparisonPredicateModifier)modifier operators:(NSArray *)operators options:(NSUInteger)options |
| To | - (instancetype _Nonnull)initWithLeftExpressions:(NSArray<NSExpression *> * _Nonnull)leftExpressions rightExpressionAttributeType:(NSAttributeType)attributeType modifier:(NSComparisonPredicateModifier)modifier operators:(NSArray<NSNumber *> * _Nonnull)operators options:(NSUInteger)options |
Modified -[NSPredicateEditorRowTemplate initWithLeftExpressions:rightExpressions:modifier:operators:options:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithLeftExpressions:(NSArray *)leftExpressions rightExpressions:(NSArray *)rightExpressions modifier:(NSComparisonPredicateModifier)modifier operators:(NSArray *)operators options:(NSUInteger)options |
| To | - (instancetype _Nonnull)initWithLeftExpressions:(NSArray<NSExpression *> * _Nonnull)leftExpressions rightExpressions:(NSArray<NSExpression *> * _Nonnull)rightExpressions modifier:(NSComparisonPredicateModifier)modifier operators:(NSArray<NSNumber *> * _Nonnull)operators options:(NSUInteger)options |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *leftExpressions |
| To | @property(readonly, copy, nullable) NSArray<NSExpression *> *leftExpressions |
| Declaration | |
|---|---|
| From | - (double)matchForPredicate:(NSPredicate *)predicate |
| To | - (double)matchForPredicate:(NSPredicate * _Nonnull)predicate |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *operators |
| To | @property(readonly, copy, nullable) NSArray<NSNumber *> *operators |
| Declaration | |
|---|---|
| From | - (NSPredicate *)predicateWithSubpredicates:(NSArray *)subpredicates |
| To | - (NSPredicate * _Nonnull)predicateWithSubpredicates:(NSArray<NSPredicate *> * _Nullable)subpredicates |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *rightExpressions |
| To | @property(readonly, copy, nullable) NSArray<NSExpression *> *rightExpressions |
| Declaration | |
|---|---|
| From | - (void)setPredicate:(NSPredicate *)predicate |
| To | - (void)setPredicate:(NSPredicate * _Nonnull)predicate |
| Declaration | |
|---|---|
| From | + (NSArray *)templatesWithAttributeKeyPaths:(NSArray *)keyPaths inEntityDescription:(NSEntityDescription *)entityDescription |
| To | + (NSArray<NSPredicateEditorRowTemplate *> * _Nonnull)templatesWithAttributeKeyPaths:(NSArray<NSString *> * _Nonnull)keyPaths inEntityDescription:(NSEntityDescription * _Nonnull)entityDescription |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *templateViews |
| To | @property(readonly, copy, nonnull) NSArray<NSView *> *templateViews |
NSPressureConfiguration.h (Added)
Added NSPressureConfiguration
Added NSView(NSPressureConfiguration)
NSPrinter.h
Modified -[NSPrinter booleanForKey:inTable:]
| Declaration | |
|---|---|
| From | - (BOOL)booleanForKey:(NSString *)key inTable:(NSString *)table |
| To | - (BOOL)booleanForKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
Modified NSPrinter.deviceDescription
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *deviceDescription |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *deviceDescription |
Modified -[NSPrinter domain]
| Declaration | |
|---|---|
| From | - (NSString *)domain |
| To | - (NSString * _Nonnull)domain |
Modified -[NSPrinter floatForKey:inTable:]
| Declaration | |
|---|---|
| From | - (float)floatForKey:(NSString *)key inTable:(NSString *)table |
| To | - (float)floatForKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
Modified -[NSPrinter host]
| Declaration | |
|---|---|
| From | - (NSString *)host |
| To | - (NSString * _Nonnull)host |
Modified -[NSPrinter imageRectForPaper:]
| Declaration | |
|---|---|
| From | - (NSRect)imageRectForPaper:(NSString *)paperName |
| To | - (NSRect)imageRectForPaper:(NSString * _Nullable)paperName |
Modified -[NSPrinter intForKey:inTable:]
| Declaration | |
|---|---|
| From | - (int)intForKey:(NSString *)key inTable:(NSString *)table |
| To | - (int)intForKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
Modified -[NSPrinter isFontAvailable:]
| Declaration | |
|---|---|
| From | - (BOOL)isFontAvailable:(NSString *)faceName |
| To | - (BOOL)isFontAvailable:(NSString * _Nullable)faceName |
Modified -[NSPrinter isKey:inTable:]
| Declaration | |
|---|---|
| From | - (BOOL)isKey:(NSString *)key inTable:(NSString *)table |
| To | - (BOOL)isKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
Modified NSPrinter.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
Modified -[NSPrinter note]
| Declaration | |
|---|---|
| From | - (NSString *)note |
| To | - (NSString * _Nonnull)note |
Modified -[NSPrinter pageSizeForPaper:]
| Declaration | |
|---|---|
| From | - (NSSize)pageSizeForPaper:(NSString *)paperName |
| To | - (NSSize)pageSizeForPaper:(NSString * _Nonnull)paperName |
Modified +[NSPrinter printerNames]
| Declaration | |
|---|---|
| From | + (NSArray *)printerNames |
| To | + (NSArray<NSString *> * _Nonnull)printerNames |
Modified +[NSPrinter printerTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)printerTypes |
| To | + (NSArray<NSString *> * _Nonnull)printerTypes |
Modified +[NSPrinter printerWithName:]
| Declaration | |
|---|---|
| From | + (NSPrinter *)printerWithName:(NSString *)name |
| To | + (NSPrinter * _Nullable)printerWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (NSPrinter *)printerWithName:(NSString *)name domain:(NSString *)domain includeUnavailable:(BOOL)flag |
| To | + (NSPrinter * _Nullable)printerWithName:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain includeUnavailable:(BOOL)flag |
Modified +[NSPrinter printerWithType:]
| Declaration | |
|---|---|
| From | + (NSPrinter *)printerWithType:(NSString *)type |
| To | + (NSPrinter * _Nullable)printerWithType:(NSString * _Nonnull)type |
Modified -[NSPrinter rectForKey:inTable:]
| Declaration | |
|---|---|
| From | - (NSRect)rectForKey:(NSString *)key inTable:(NSString *)table |
| To | - (NSRect)rectForKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
Modified -[NSPrinter sizeForKey:inTable:]
| Declaration | |
|---|---|
| From | - (NSSize)sizeForKey:(NSString *)key inTable:(NSString *)table |
| To | - (NSSize)sizeForKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
Modified -[NSPrinter statusForTable:]
| Declaration | |
|---|---|
| From | - (NSPrinterTableStatus)statusForTable:(NSString *)tableName |
| To | - (NSPrinterTableStatus)statusForTable:(NSString * _Nonnull)tableName |
Modified -[NSPrinter stringForKey:inTable:]
| Declaration | |
|---|---|
| From | - (NSString *)stringForKey:(NSString *)key inTable:(NSString *)table |
| To | - (NSString * _Nullable)stringForKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
| Declaration | |
|---|---|
| From | - (NSArray *)stringListForKey:(NSString *)key inTable:(NSString *)table |
| To | - (NSArray * _Nullable)stringListForKey:(NSString * _Nullable)key inTable:(NSString * _Nonnull)table |
Modified NSPrinter.type
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *type |
| To | @property(readonly, copy, nonnull) NSString *type |
NSPrintInfo.h
Modified +[NSPrintInfo defaultPrinter]
| Declaration | |
|---|---|
| From | + (NSPrinter *)defaultPrinter |
| To | + (NSPrinter * _Nullable)defaultPrinter |
Modified -[NSPrintInfo dictionary]
| Declaration | |
|---|---|
| From | - (NSMutableDictionary *)dictionary |
| To | - (NSMutableDictionary<NSString *,id> * _Nonnull)dictionary |
Modified -[NSPrintInfo initWithDictionary:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithDictionary:(NSDictionary *)attributes |
| To | - (instancetype _Nonnull)initWithDictionary:(NSDictionary<NSString *,id> * _Nonnull)attributes |
Modified NSPrintInfo.jobDisposition
| Declaration | |
|---|---|
| From | @property(copy) NSString *jobDisposition |
| To | @property(copy, nonnull) NSString *jobDisposition |
Modified NSPrintInfo.localizedPaperName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedPaperName |
| To | @property(readonly, copy, nullable) NSString *localizedPaperName |
Modified NSPrintInfo.paperName
| Declaration | |
|---|---|
| From | @property(copy) NSString *paperName |
| To | @property(copy, nullable) NSString *paperName |
Modified -[NSPrintInfo PMPageFormat]
| Declaration | |
|---|---|
| From | - (void *)PMPageFormat |
| To | - (void * _Nonnull)PMPageFormat |
Modified -[NSPrintInfo PMPrintSession]
| Declaration | |
|---|---|
| From | - (void *)PMPrintSession |
| To | - (void * _Nonnull)PMPrintSession |
Modified -[NSPrintInfo PMPrintSettings]
| Declaration | |
|---|---|
| From | - (void *)PMPrintSettings |
| To | - (void * _Nonnull)PMPrintSettings |
Modified NSPrintInfo.printer
| Declaration | |
|---|---|
| From | @property(copy) NSPrinter *printer |
| To | @property(copy, nonnull) NSPrinter *printer |
Modified NSPrintInfo.printSettings
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMutableDictionary *printSettings |
| To | @property(readonly, strong, nonnull) NSMutableDictionary<NSString *,id> *printSettings |
Modified +[NSPrintInfo setDefaultPrinter:]
| Declaration | |
|---|---|
| From | + (void)setDefaultPrinter:(NSPrinter *)printer |
| To | + (void)setDefaultPrinter:(NSPrinter * _Nullable)printer |
Modified +[NSPrintInfo setSharedPrintInfo:]
| Declaration | |
|---|---|
| From | + (void)setSharedPrintInfo:(NSPrintInfo *)printInfo |
| To | + (void)setSharedPrintInfo:(NSPrintInfo * _Nonnull)printInfo |
Modified +[NSPrintInfo sharedPrintInfo]
| Declaration | |
|---|---|
| From | + (NSPrintInfo *)sharedPrintInfo |
| To | + (NSPrintInfo * _Nonnull)sharedPrintInfo |
Modified +[NSPrintInfo sizeForPaperName:]
| Declaration | |
|---|---|
| From | + (NSSize)sizeForPaperName:(NSString *)name |
| To | + (NSSize)sizeForPaperName:(NSString * _Nullable)name |
| Declaration | |
|---|---|
| From | - (void)takeSettingsFromPDFInfo:(NSPDFInfo *)inPDFInfo |
| To | - (void)takeSettingsFromPDFInfo:(NSPDFInfo * _Nonnull)inPDFInfo |
NSPrintOperation.h
Modified -[NSPrintOperation accessoryView]
| Declaration | |
|---|---|
| From | - (NSView *)accessoryView |
| To | - (NSView * _Nullable)accessoryView |
Modified NSPrintOperation.context
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSGraphicsContext *context |
| To | @property(readonly, strong, nullable) NSGraphicsContext *context |
Modified -[NSPrintOperation createContext]
| Declaration | |
|---|---|
| From | - (NSGraphicsContext *)createContext |
| To | - (NSGraphicsContext * _Nullable)createContext |
Modified +[NSPrintOperation currentOperation]
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)currentOperation |
| To | + (NSPrintOperation * _Nullable)currentOperation |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)EPSOperationWithView:(NSView *)view insideRect:(NSRect)rect toData:(NSMutableData *)data |
| To | + (NSPrintOperation * _Nonnull)EPSOperationWithView:(NSView * _Nonnull)view insideRect:(NSRect)rect toData:(NSMutableData * _Nullable)data |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)EPSOperationWithView:(NSView *)view insideRect:(NSRect)rect toData:(NSMutableData *)data printInfo:(NSPrintInfo *)printInfo |
| To | + (NSPrintOperation * _Nonnull)EPSOperationWithView:(NSView * _Nonnull)view insideRect:(NSRect)rect toData:(NSMutableData * _Nonnull)data printInfo:(NSPrintInfo * _Nonnull)printInfo |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)EPSOperationWithView:(NSView *)view insideRect:(NSRect)rect toPath:(NSString *)path printInfo:(NSPrintInfo *)printInfo |
| To | + (NSPrintOperation * _Nonnull)EPSOperationWithView:(NSView * _Nonnull)view insideRect:(NSRect)rect toPath:(NSString * _Nonnull)path printInfo:(NSPrintInfo * _Nonnull)printInfo |
Modified -[NSPrintOperation jobStyleHint]
| Declaration | |
|---|---|
| From | - (NSString *)jobStyleHint |
| To | - (NSString * _Nullable)jobStyleHint |
Modified NSPrintOperation.jobTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *jobTitle |
| To | @property(copy, nullable) NSString *jobTitle |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)PDFOperationWithView:(NSView *)view insideRect:(NSRect)rect toData:(NSMutableData *)data |
| To | + (NSPrintOperation * _Nonnull)PDFOperationWithView:(NSView * _Nonnull)view insideRect:(NSRect)rect toData:(NSMutableData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)PDFOperationWithView:(NSView *)view insideRect:(NSRect)rect toData:(NSMutableData *)data printInfo:(NSPrintInfo *)printInfo |
| To | + (NSPrintOperation * _Nonnull)PDFOperationWithView:(NSView * _Nonnull)view insideRect:(NSRect)rect toData:(NSMutableData * _Nonnull)data printInfo:(NSPrintInfo * _Nonnull)printInfo |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)PDFOperationWithView:(NSView *)view insideRect:(NSRect)rect toPath:(NSString *)path printInfo:(NSPrintInfo *)printInfo |
| To | + (NSPrintOperation * _Nonnull)PDFOperationWithView:(NSView * _Nonnull)view insideRect:(NSRect)rect toPath:(NSString * _Nonnull)path printInfo:(NSPrintInfo * _Nonnull)printInfo |
Modified NSPrintOperation.PDFPanel
| Declaration | |
|---|---|
| From | @property(strong) NSPDFPanel *PDFPanel |
| To | @property(strong, nonnull) NSPDFPanel *PDFPanel |
Modified NSPrintOperation.printInfo
| Declaration | |
|---|---|
| From | @property(copy) NSPrintInfo *printInfo |
| To | @property(copy, nonnull) NSPrintInfo *printInfo |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)printOperationWithView:(NSView *)view |
| To | + (NSPrintOperation * _Nonnull)printOperationWithView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | + (NSPrintOperation *)printOperationWithView:(NSView *)view printInfo:(NSPrintInfo *)printInfo |
| To | + (NSPrintOperation * _Nonnull)printOperationWithView:(NSView * _Nonnull)view printInfo:(NSPrintInfo * _Nonnull)printInfo |
Modified NSPrintOperation.printPanel
| Declaration | |
|---|---|
| From | @property(strong) NSPrintPanel *printPanel |
| To | @property(strong, nonnull) NSPrintPanel *printPanel |
| Declaration | |
|---|---|
| From | - (void)runOperationModalForWindow:(NSWindow *)docWindow delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void *)contextInfo |
| To | - (void)runOperationModalForWindow:(NSWindow * _Nonnull)docWindow delegate:(id _Nullable)delegate didRunSelector:(SEL _Nullable)didRunSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)setAccessoryView:(NSView *)view |
| To | - (void)setAccessoryView:(NSView * _Nullable)view |
Modified +[NSPrintOperation setCurrentOperation:]
| Declaration | |
|---|---|
| From | + (void)setCurrentOperation:(NSPrintOperation *)operation |
| To | + (void)setCurrentOperation:(NSPrintOperation * _Nullable)operation |
Modified -[NSPrintOperation setJobStyleHint:]
| Declaration | |
|---|---|
| From | - (void)setJobStyleHint:(NSString *)hint |
| To | - (void)setJobStyleHint:(NSString * _Nullable)hint |
Modified NSPrintOperation.view
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSView *view |
| To | @property(readonly, strong, nullable) NSView *view |
NSPrintPanel.h
Modified NSPrintPanel.accessoryControllers
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *accessoryControllers |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSViewController *> *accessoryControllers |
Modified -[NSPrintPanel accessoryView]
| Declaration | |
|---|---|
| From | - (NSView *)accessoryView |
| To | - (NSView * _Nullable)accessoryView |
| Declaration | |
|---|---|
| From | - (void)addAccessoryController:(NSViewController<NSPrintPanelAccessorizing> *)accessoryController |
| To | - (void)addAccessoryController:(NSViewController<NSPrintPanelAccessorizing> * _Nonnull)accessoryController |
Modified -[NSPrintPanel beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:]
| Declaration | |
|---|---|
| From | - (void)beginSheetWithPrintInfo:(NSPrintInfo *)printInfo modalForWindow:(NSWindow *)docWindow delegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo |
| To | - (void)beginSheetWithPrintInfo:(NSPrintInfo * _Nonnull)printInfo modalForWindow:(NSWindow * _Nonnull)docWindow delegate:(id _Nullable)delegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Nullable)contextInfo |
Modified -[NSPrintPanel defaultButtonTitle]
| Declaration | |
|---|---|
| From | - (NSString *)defaultButtonTitle |
| To | - (NSString * _Nullable)defaultButtonTitle |
Modified NSPrintPanel.helpAnchor
| Declaration | |
|---|---|
| From | @property(copy) NSString *helpAnchor |
| To | @property(copy, nullable) NSString *helpAnchor |
Modified NSPrintPanel.jobStyleHint
| Declaration | |
|---|---|
| From | @property(copy) NSString *jobStyleHint |
| To | @property(copy, nullable) NSString *jobStyleHint |
Modified NSPrintPanel.printInfo
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSPrintInfo *printInfo |
| To | @property(readonly, strong, nonnull) NSPrintInfo *printInfo |
Modified +[NSPrintPanel printPanel]
| Declaration | |
|---|---|
| From | + (NSPrintPanel *)printPanel |
| To | + (NSPrintPanel * _Nonnull)printPanel |
| Declaration | |
|---|---|
| From | - (void)removeAccessoryController:(NSViewController<NSPrintPanelAccessorizing> *)accessoryController |
| To | - (void)removeAccessoryController:(NSViewController<NSPrintPanelAccessorizing> * _Nonnull)accessoryController |
| Declaration | |
|---|---|
| From | - (NSInteger)runModalWithPrintInfo:(NSPrintInfo *)printInfo |
| To | - (NSInteger)runModalWithPrintInfo:(NSPrintInfo * _Nonnull)printInfo |
Modified -[NSPrintPanel setAccessoryView:]
| Declaration | |
|---|---|
| From | - (void)setAccessoryView:(NSView *)accessoryView |
| To | - (void)setAccessoryView:(NSView * _Nullable)accessoryView |
| Declaration | |
|---|---|
| From | - (void)setDefaultButtonTitle:(NSString *)defaultButtonTitle |
| To | - (void)setDefaultButtonTitle:(NSString * _Nullable)defaultButtonTitle |
| Declaration | |
|---|---|
| From | - (NSSet *)keyPathsForValuesAffectingPreview |
| To | - (NSSet<NSString *> * _Nonnull)keyPathsForValuesAffectingPreview |
| Declaration | |
|---|---|
| From | - (NSArray *)localizedSummaryItems |
| To | - (NSArray<NSDictionary<NSString *,NSString *> *> * _Nonnull)localizedSummaryItems |
NSProgressIndicator.h
Modified -[NSProgressIndicator animate:]
| Declaration | |
|---|---|
| From | - (void)animate:(id)sender |
| To | - (void)animate:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)startAnimation:(id)sender |
| To | - (void)startAnimation:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)stopAnimation:(id)sender |
| To | - (void)stopAnimation:(id _Nullable)sender |
NSResponder.h
| Declaration | |
|---|---|
| From | - (void)beginGestureWithEvent:(NSEvent *)event |
| To | - (void)beginGestureWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder cancelOperation:]
| Declaration | |
|---|---|
| From | - (void)cancelOperation:(id)sender |
| To | - (void)cancelOperation:(id _Nullable)sender |
Modified -[NSResponder capitalizeWord:]
| Declaration | |
|---|---|
| From | - (void)capitalizeWord:(id)sender |
| To | - (void)capitalizeWord:(id _Nullable)sender |
Modified -[NSResponder centerSelectionInVisibleArea:]
| Declaration | |
|---|---|
| From | - (void)centerSelectionInVisibleArea:(id)sender |
| To | - (void)centerSelectionInVisibleArea:(id _Nullable)sender |
Modified -[NSResponder changeCaseOfLetter:]
| Declaration | |
|---|---|
| From | - (void)changeCaseOfLetter:(id)sender |
| To | - (void)changeCaseOfLetter:(id _Nullable)sender |
Modified -[NSResponder complete:]
| Declaration | |
|---|---|
| From | - (void)complete:(id)sender |
| To | - (void)complete:(id _Nullable)sender |
Modified -[NSResponder cursorUpdate:]
| Declaration | |
|---|---|
| From | - (void)cursorUpdate:(NSEvent *)event |
| To | - (void)cursorUpdate:(NSEvent * _Nonnull)event |
Modified -[NSResponder deleteBackward:]
| Declaration | |
|---|---|
| From | - (void)deleteBackward:(id)sender |
| To | - (void)deleteBackward:(id _Nullable)sender |
Modified -[NSResponder deleteBackwardByDecomposingPreviousCharacter:]
| Declaration | |
|---|---|
| From | - (void)deleteBackwardByDecomposingPreviousCharacter:(id)sender |
| To | - (void)deleteBackwardByDecomposingPreviousCharacter:(id _Nullable)sender |
Modified -[NSResponder deleteForward:]
| Declaration | |
|---|---|
| From | - (void)deleteForward:(id)sender |
| To | - (void)deleteForward:(id _Nullable)sender |
Modified -[NSResponder deleteToBeginningOfLine:]
| Declaration | |
|---|---|
| From | - (void)deleteToBeginningOfLine:(id)sender |
| To | - (void)deleteToBeginningOfLine:(id _Nullable)sender |
Modified -[NSResponder deleteToBeginningOfParagraph:]
| Declaration | |
|---|---|
| From | - (void)deleteToBeginningOfParagraph:(id)sender |
| To | - (void)deleteToBeginningOfParagraph:(id _Nullable)sender |
Modified -[NSResponder deleteToEndOfLine:]
| Declaration | |
|---|---|
| From | - (void)deleteToEndOfLine:(id)sender |
| To | - (void)deleteToEndOfLine:(id _Nullable)sender |
Modified -[NSResponder deleteToEndOfParagraph:]
| Declaration | |
|---|---|
| From | - (void)deleteToEndOfParagraph:(id)sender |
| To | - (void)deleteToEndOfParagraph:(id _Nullable)sender |
Modified -[NSResponder deleteToMark:]
| Declaration | |
|---|---|
| From | - (void)deleteToMark:(id)sender |
| To | - (void)deleteToMark:(id _Nullable)sender |
Modified -[NSResponder deleteWordBackward:]
| Declaration | |
|---|---|
| From | - (void)deleteWordBackward:(id)sender |
| To | - (void)deleteWordBackward:(id _Nullable)sender |
Modified -[NSResponder deleteWordForward:]
| Declaration | |
|---|---|
| From | - (void)deleteWordForward:(id)sender |
| To | - (void)deleteWordForward:(id _Nullable)sender |
Modified -[NSResponder doCommandBySelector:]
| Declaration | |
|---|---|
| From | - (void)doCommandBySelector:(SEL)aSelector |
| To | - (void)doCommandBySelector:(SEL _Nonnull)aSelector |
Modified -[NSResponder endGestureWithEvent:]
| Declaration | |
|---|---|
| From | - (void)endGestureWithEvent:(NSEvent *)event |
| To | - (void)endGestureWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder flagsChanged:]
| Declaration | |
|---|---|
| From | - (void)flagsChanged:(NSEvent *)theEvent |
| To | - (void)flagsChanged:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder helpRequested:]
| Declaration | |
|---|---|
| From | - (void)helpRequested:(NSEvent *)eventPtr |
| To | - (void)helpRequested:(NSEvent * _Nonnull)eventPtr |
Modified -[NSResponder indent:]
| Declaration | |
|---|---|
| From | - (void)indent:(id)sender |
| To | - (void)indent:(id _Nullable)sender |
Modified -[NSResponder init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSResponder initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSResponder insertBacktab:]
| Declaration | |
|---|---|
| From | - (void)insertBacktab:(id)sender |
| To | - (void)insertBacktab:(id _Nullable)sender |
Modified -[NSResponder insertContainerBreak:]
| Declaration | |
|---|---|
| From | - (void)insertContainerBreak:(id)sender |
| To | - (void)insertContainerBreak:(id _Nullable)sender |
Modified -[NSResponder insertDoubleQuoteIgnoringSubstitution:]
| Declaration | |
|---|---|
| From | - (void)insertDoubleQuoteIgnoringSubstitution:(id)sender |
| To | - (void)insertDoubleQuoteIgnoringSubstitution:(id _Nullable)sender |
Modified -[NSResponder insertLineBreak:]
| Declaration | |
|---|---|
| From | - (void)insertLineBreak:(id)sender |
| To | - (void)insertLineBreak:(id _Nullable)sender |
Modified -[NSResponder insertNewline:]
| Declaration | |
|---|---|
| From | - (void)insertNewline:(id)sender |
| To | - (void)insertNewline:(id _Nullable)sender |
Modified -[NSResponder insertNewlineIgnoringFieldEditor:]
| Declaration | |
|---|---|
| From | - (void)insertNewlineIgnoringFieldEditor:(id)sender |
| To | - (void)insertNewlineIgnoringFieldEditor:(id _Nullable)sender |
Modified -[NSResponder insertParagraphSeparator:]
| Declaration | |
|---|---|
| From | - (void)insertParagraphSeparator:(id)sender |
| To | - (void)insertParagraphSeparator:(id _Nullable)sender |
Modified -[NSResponder insertSingleQuoteIgnoringSubstitution:]
| Declaration | |
|---|---|
| From | - (void)insertSingleQuoteIgnoringSubstitution:(id)sender |
| To | - (void)insertSingleQuoteIgnoringSubstitution:(id _Nullable)sender |
Modified -[NSResponder insertTab:]
| Declaration | |
|---|---|
| From | - (void)insertTab:(id)sender |
| To | - (void)insertTab:(id _Nullable)sender |
Modified -[NSResponder insertTabIgnoringFieldEditor:]
| Declaration | |
|---|---|
| From | - (void)insertTabIgnoringFieldEditor:(id)sender |
| To | - (void)insertTabIgnoringFieldEditor:(id _Nullable)sender |
Modified -[NSResponder insertText:]
| Declaration | |
|---|---|
| From | - (void)insertText:(id)insertString |
| To | - (void)insertText:(id _Nonnull)insertString |
Modified -[NSResponder interpretKeyEvents:]
| Declaration | |
|---|---|
| From | - (void)interpretKeyEvents:(NSArray *)eventArray |
| To | - (void)interpretKeyEvents:(NSArray<NSEvent *> * _Nonnull)eventArray |
Modified -[NSResponder keyDown:]
| Declaration | |
|---|---|
| From | - (void)keyDown:(NSEvent *)theEvent |
| To | - (void)keyDown:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder keyUp:]
| Declaration | |
|---|---|
| From | - (void)keyUp:(NSEvent *)theEvent |
| To | - (void)keyUp:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder lowercaseWord:]
| Declaration | |
|---|---|
| From | - (void)lowercaseWord:(id)sender |
| To | - (void)lowercaseWord:(id _Nullable)sender |
Modified -[NSResponder magnifyWithEvent:]
| Declaration | |
|---|---|
| From | - (void)magnifyWithEvent:(NSEvent *)event |
| To | - (void)magnifyWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder makeBaseWritingDirectionLeftToRight:]
| Declaration | |
|---|---|
| From | - (void)makeBaseWritingDirectionLeftToRight:(id)sender |
| To | - (void)makeBaseWritingDirectionLeftToRight:(id _Nullable)sender |
Modified -[NSResponder makeBaseWritingDirectionNatural:]
| Declaration | |
|---|---|
| From | - (void)makeBaseWritingDirectionNatural:(id)sender |
| To | - (void)makeBaseWritingDirectionNatural:(id _Nullable)sender |
Modified -[NSResponder makeBaseWritingDirectionRightToLeft:]
| Declaration | |
|---|---|
| From | - (void)makeBaseWritingDirectionRightToLeft:(id)sender |
| To | - (void)makeBaseWritingDirectionRightToLeft:(id _Nullable)sender |
Modified -[NSResponder makeTextWritingDirectionLeftToRight:]
| Declaration | |
|---|---|
| From | - (void)makeTextWritingDirectionLeftToRight:(id)sender |
| To | - (void)makeTextWritingDirectionLeftToRight:(id _Nullable)sender |
Modified -[NSResponder makeTextWritingDirectionNatural:]
| Declaration | |
|---|---|
| From | - (void)makeTextWritingDirectionNatural:(id)sender |
| To | - (void)makeTextWritingDirectionNatural:(id _Nullable)sender |
Modified -[NSResponder makeTextWritingDirectionRightToLeft:]
| Declaration | |
|---|---|
| From | - (void)makeTextWritingDirectionRightToLeft:(id)sender |
| To | - (void)makeTextWritingDirectionRightToLeft:(id _Nullable)sender |
Modified NSResponder.menu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *menu |
| To | @property(strong, nullable) NSMenu *menu |
Modified -[NSResponder mouseDown:]
| Declaration | |
|---|---|
| From | - (void)mouseDown:(NSEvent *)theEvent |
| To | - (void)mouseDown:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder mouseDragged:]
| Declaration | |
|---|---|
| From | - (void)mouseDragged:(NSEvent *)theEvent |
| To | - (void)mouseDragged:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder mouseEntered:]
| Declaration | |
|---|---|
| From | - (void)mouseEntered:(NSEvent *)theEvent |
| To | - (void)mouseEntered:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder mouseExited:]
| Declaration | |
|---|---|
| From | - (void)mouseExited:(NSEvent *)theEvent |
| To | - (void)mouseExited:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder mouseMoved:]
| Declaration | |
|---|---|
| From | - (void)mouseMoved:(NSEvent *)theEvent |
| To | - (void)mouseMoved:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder mouseUp:]
| Declaration | |
|---|---|
| From | - (void)mouseUp:(NSEvent *)theEvent |
| To | - (void)mouseUp:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder moveBackward:]
| Declaration | |
|---|---|
| From | - (void)moveBackward:(id)sender |
| To | - (void)moveBackward:(id _Nullable)sender |
Modified -[NSResponder moveBackwardAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveBackwardAndModifySelection:(id)sender |
| To | - (void)moveBackwardAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveDown:]
| Declaration | |
|---|---|
| From | - (void)moveDown:(id)sender |
| To | - (void)moveDown:(id _Nullable)sender |
Modified -[NSResponder moveDownAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveDownAndModifySelection:(id)sender |
| To | - (void)moveDownAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveForward:]
| Declaration | |
|---|---|
| From | - (void)moveForward:(id)sender |
| To | - (void)moveForward:(id _Nullable)sender |
Modified -[NSResponder moveForwardAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveForwardAndModifySelection:(id)sender |
| To | - (void)moveForwardAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveLeft:]
| Declaration | |
|---|---|
| From | - (void)moveLeft:(id)sender |
| To | - (void)moveLeft:(id _Nullable)sender |
Modified -[NSResponder moveLeftAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveLeftAndModifySelection:(id)sender |
| To | - (void)moveLeftAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveParagraphBackwardAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveParagraphBackwardAndModifySelection:(id)sender |
| To | - (void)moveParagraphBackwardAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveParagraphForwardAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveParagraphForwardAndModifySelection:(id)sender |
| To | - (void)moveParagraphForwardAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveRight:]
| Declaration | |
|---|---|
| From | - (void)moveRight:(id)sender |
| To | - (void)moveRight:(id _Nullable)sender |
Modified -[NSResponder moveRightAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveRightAndModifySelection:(id)sender |
| To | - (void)moveRightAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToBeginningOfDocument:]
| Declaration | |
|---|---|
| From | - (void)moveToBeginningOfDocument:(id)sender |
| To | - (void)moveToBeginningOfDocument:(id _Nullable)sender |
Modified -[NSResponder moveToBeginningOfDocumentAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToBeginningOfDocumentAndModifySelection:(id)sender |
| To | - (void)moveToBeginningOfDocumentAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToBeginningOfLine:]
| Declaration | |
|---|---|
| From | - (void)moveToBeginningOfLine:(id)sender |
| To | - (void)moveToBeginningOfLine:(id _Nullable)sender |
Modified -[NSResponder moveToBeginningOfLineAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToBeginningOfLineAndModifySelection:(id)sender |
| To | - (void)moveToBeginningOfLineAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToBeginningOfParagraph:]
| Declaration | |
|---|---|
| From | - (void)moveToBeginningOfParagraph:(id)sender |
| To | - (void)moveToBeginningOfParagraph:(id _Nullable)sender |
Modified -[NSResponder moveToBeginningOfParagraphAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToBeginningOfParagraphAndModifySelection:(id)sender |
| To | - (void)moveToBeginningOfParagraphAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToEndOfDocument:]
| Declaration | |
|---|---|
| From | - (void)moveToEndOfDocument:(id)sender |
| To | - (void)moveToEndOfDocument:(id _Nullable)sender |
Modified -[NSResponder moveToEndOfDocumentAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToEndOfDocumentAndModifySelection:(id)sender |
| To | - (void)moveToEndOfDocumentAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToEndOfLine:]
| Declaration | |
|---|---|
| From | - (void)moveToEndOfLine:(id)sender |
| To | - (void)moveToEndOfLine:(id _Nullable)sender |
Modified -[NSResponder moveToEndOfLineAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToEndOfLineAndModifySelection:(id)sender |
| To | - (void)moveToEndOfLineAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToEndOfParagraph:]
| Declaration | |
|---|---|
| From | - (void)moveToEndOfParagraph:(id)sender |
| To | - (void)moveToEndOfParagraph:(id _Nullable)sender |
Modified -[NSResponder moveToEndOfParagraphAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToEndOfParagraphAndModifySelection:(id)sender |
| To | - (void)moveToEndOfParagraphAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToLeftEndOfLine:]
| Declaration | |
|---|---|
| From | - (void)moveToLeftEndOfLine:(id)sender |
| To | - (void)moveToLeftEndOfLine:(id _Nullable)sender |
Modified -[NSResponder moveToLeftEndOfLineAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToLeftEndOfLineAndModifySelection:(id)sender |
| To | - (void)moveToLeftEndOfLineAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveToRightEndOfLine:]
| Declaration | |
|---|---|
| From | - (void)moveToRightEndOfLine:(id)sender |
| To | - (void)moveToRightEndOfLine:(id _Nullable)sender |
Modified -[NSResponder moveToRightEndOfLineAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveToRightEndOfLineAndModifySelection:(id)sender |
| To | - (void)moveToRightEndOfLineAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveUp:]
| Declaration | |
|---|---|
| From | - (void)moveUp:(id)sender |
| To | - (void)moveUp:(id _Nullable)sender |
Modified -[NSResponder moveUpAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveUpAndModifySelection:(id)sender |
| To | - (void)moveUpAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveWordBackward:]
| Declaration | |
|---|---|
| From | - (void)moveWordBackward:(id)sender |
| To | - (void)moveWordBackward:(id _Nullable)sender |
Modified -[NSResponder moveWordBackwardAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveWordBackwardAndModifySelection:(id)sender |
| To | - (void)moveWordBackwardAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveWordForward:]
| Declaration | |
|---|---|
| From | - (void)moveWordForward:(id)sender |
| To | - (void)moveWordForward:(id _Nullable)sender |
Modified -[NSResponder moveWordForwardAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveWordForwardAndModifySelection:(id)sender |
| To | - (void)moveWordForwardAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveWordLeft:]
| Declaration | |
|---|---|
| From | - (void)moveWordLeft:(id)sender |
| To | - (void)moveWordLeft:(id _Nullable)sender |
Modified -[NSResponder moveWordLeftAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveWordLeftAndModifySelection:(id)sender |
| To | - (void)moveWordLeftAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder moveWordRight:]
| Declaration | |
|---|---|
| From | - (void)moveWordRight:(id)sender |
| To | - (void)moveWordRight:(id _Nullable)sender |
Modified -[NSResponder moveWordRightAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)moveWordRightAndModifySelection:(id)sender |
| To | - (void)moveWordRightAndModifySelection:(id _Nullable)sender |
Modified NSResponder.nextResponder
| Declaration | |
|---|---|
| From | @property(assign) NSResponder *nextResponder |
| To | @property(assign, nullable) NSResponder *nextResponder |
Modified -[NSResponder noResponderFor:]
| Declaration | |
|---|---|
| From | - (void)noResponderFor:(SEL)eventSelector |
| To | - (void)noResponderFor:(SEL _Nonnull)eventSelector |
Modified -[NSResponder otherMouseDown:]
| Declaration | |
|---|---|
| From | - (void)otherMouseDown:(NSEvent *)theEvent |
| To | - (void)otherMouseDown:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder otherMouseDragged:]
| Declaration | |
|---|---|
| From | - (void)otherMouseDragged:(NSEvent *)theEvent |
| To | - (void)otherMouseDragged:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder otherMouseUp:]
| Declaration | |
|---|---|
| From | - (void)otherMouseUp:(NSEvent *)theEvent |
| To | - (void)otherMouseUp:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder pageDown:]
| Declaration | |
|---|---|
| From | - (void)pageDown:(id)sender |
| To | - (void)pageDown:(id _Nullable)sender |
Modified -[NSResponder pageDownAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)pageDownAndModifySelection:(id)sender |
| To | - (void)pageDownAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder pageUp:]
| Declaration | |
|---|---|
| From | - (void)pageUp:(id)sender |
| To | - (void)pageUp:(id _Nullable)sender |
Modified -[NSResponder pageUpAndModifySelection:]
| Declaration | |
|---|---|
| From | - (void)pageUpAndModifySelection:(id)sender |
| To | - (void)pageUpAndModifySelection:(id _Nullable)sender |
Modified -[NSResponder performKeyEquivalent:]
| Declaration | |
|---|---|
| From | - (BOOL)performKeyEquivalent:(NSEvent *)theEvent |
| To | - (BOOL)performKeyEquivalent:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder performMnemonic:]
| Declaration | |
|---|---|
| From | - (BOOL)performMnemonic:(NSString *)theString |
| To | - (BOOL)performMnemonic:(NSString * _Nonnull)theString |
| Declaration | |
|---|---|
| From | - (void)performTextFinderAction:(id)sender |
| To | - (void)performTextFinderAction:(id _Nullable)sender |
Modified -[NSResponder presentError:]
| Declaration | |
|---|---|
| From | - (BOOL)presentError:(NSError *)error |
| To | - (BOOL)presentError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)presentError:(NSError *)error modalForWindow:(NSWindow *)window delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void *)contextInfo |
| To | - (void)presentError:(NSError * _Nonnull)error modalForWindow:(NSWindow * _Nonnull)window delegate:(id _Nullable)delegate didPresentSelector:(SEL _Nullable)didPresentSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)pressureChangeWithEvent:(NSEvent *)event |
| To | - (void)pressureChangeWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder quickLookPreviewItems:]
| Declaration | |
|---|---|
| From | - (void)quickLookPreviewItems:(id)sender |
| To | - (void)quickLookPreviewItems:(id _Nullable)sender |
Modified -[NSResponder quickLookWithEvent:]
| Declaration | |
|---|---|
| From | - (void)quickLookWithEvent:(NSEvent *)event |
| To | - (void)quickLookWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder rightMouseDown:]
| Declaration | |
|---|---|
| From | - (void)rightMouseDown:(NSEvent *)theEvent |
| To | - (void)rightMouseDown:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder rightMouseDragged:]
| Declaration | |
|---|---|
| From | - (void)rightMouseDragged:(NSEvent *)theEvent |
| To | - (void)rightMouseDragged:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder rightMouseUp:]
| Declaration | |
|---|---|
| From | - (void)rightMouseUp:(NSEvent *)theEvent |
| To | - (void)rightMouseUp:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder rotateWithEvent:]
| Declaration | |
|---|---|
| From | - (void)rotateWithEvent:(NSEvent *)event |
| To | - (void)rotateWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder scrollLineDown:]
| Declaration | |
|---|---|
| From | - (void)scrollLineDown:(id)sender |
| To | - (void)scrollLineDown:(id _Nullable)sender |
Modified -[NSResponder scrollLineUp:]
| Declaration | |
|---|---|
| From | - (void)scrollLineUp:(id)sender |
| To | - (void)scrollLineUp:(id _Nullable)sender |
Modified -[NSResponder scrollPageDown:]
| Declaration | |
|---|---|
| From | - (void)scrollPageDown:(id)sender |
| To | - (void)scrollPageDown:(id _Nullable)sender |
Modified -[NSResponder scrollPageUp:]
| Declaration | |
|---|---|
| From | - (void)scrollPageUp:(id)sender |
| To | - (void)scrollPageUp:(id _Nullable)sender |
Modified -[NSResponder scrollToBeginningOfDocument:]
| Declaration | |
|---|---|
| From | - (void)scrollToBeginningOfDocument:(id)sender |
| To | - (void)scrollToBeginningOfDocument:(id _Nullable)sender |
Modified -[NSResponder scrollToEndOfDocument:]
| Declaration | |
|---|---|
| From | - (void)scrollToEndOfDocument:(id)sender |
| To | - (void)scrollToEndOfDocument:(id _Nullable)sender |
Modified -[NSResponder scrollWheel:]
| Declaration | |
|---|---|
| From | - (void)scrollWheel:(NSEvent *)theEvent |
| To | - (void)scrollWheel:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder selectAll:]
| Declaration | |
|---|---|
| From | - (void)selectAll:(id)sender |
| To | - (void)selectAll:(id _Nullable)sender |
Modified -[NSResponder selectLine:]
| Declaration | |
|---|---|
| From | - (void)selectLine:(id)sender |
| To | - (void)selectLine:(id _Nullable)sender |
Modified -[NSResponder selectParagraph:]
| Declaration | |
|---|---|
| From | - (void)selectParagraph:(id)sender |
| To | - (void)selectParagraph:(id _Nullable)sender |
Modified -[NSResponder selectToMark:]
| Declaration | |
|---|---|
| From | - (void)selectToMark:(id)sender |
| To | - (void)selectToMark:(id _Nullable)sender |
Modified -[NSResponder selectWord:]
| Declaration | |
|---|---|
| From | - (void)selectWord:(id)sender |
| To | - (void)selectWord:(id _Nullable)sender |
Modified -[NSResponder setMark:]
| Declaration | |
|---|---|
| From | - (void)setMark:(id)sender |
| To | - (void)setMark:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)shouldBeTreatedAsInkEvent:(NSEvent *)theEvent |
| To | - (BOOL)shouldBeTreatedAsInkEvent:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder showContextHelp:]
| Declaration | |
|---|---|
| From | - (void)showContextHelp:(id)sender |
| To | - (void)showContextHelp:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)smartMagnifyWithEvent:(NSEvent *)event |
| To | - (void)smartMagnifyWithEvent:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (id)supplementalTargetForAction:(SEL)action sender:(id)sender |
| To | - (id _Nullable)supplementalTargetForAction:(SEL _Nonnull)action sender:(id _Nullable)sender |
Modified -[NSResponder swapWithMark:]
| Declaration | |
|---|---|
| From | - (void)swapWithMark:(id)sender |
| To | - (void)swapWithMark:(id _Nullable)sender |
Modified -[NSResponder swipeWithEvent:]
| Declaration | |
|---|---|
| From | - (void)swipeWithEvent:(NSEvent *)event |
| To | - (void)swipeWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder tabletPoint:]
| Declaration | |
|---|---|
| From | - (void)tabletPoint:(NSEvent *)theEvent |
| To | - (void)tabletPoint:(NSEvent * _Nonnull)theEvent |
Modified -[NSResponder tabletProximity:]
| Declaration | |
|---|---|
| From | - (void)tabletProximity:(NSEvent *)theEvent |
| To | - (void)tabletProximity:(NSEvent * _Nonnull)theEvent |
| Declaration | |
|---|---|
| From | - (void)touchesBeganWithEvent:(NSEvent *)event |
| To | - (void)touchesBeganWithEvent:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)touchesCancelledWithEvent:(NSEvent *)event |
| To | - (void)touchesCancelledWithEvent:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)touchesEndedWithEvent:(NSEvent *)event |
| To | - (void)touchesEndedWithEvent:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)touchesMovedWithEvent:(NSEvent *)event |
| To | - (void)touchesMovedWithEvent:(NSEvent * _Nonnull)event |
Modified -[NSResponder transpose:]
| Declaration | |
|---|---|
| From | - (void)transpose:(id)sender |
| To | - (void)transpose:(id _Nullable)sender |
Modified -[NSResponder transposeWords:]
| Declaration | |
|---|---|
| From | - (void)transposeWords:(id)sender |
| To | - (void)transposeWords:(id _Nullable)sender |
Modified -[NSResponder tryToPerform:with:]
| Declaration | |
|---|---|
| From | - (BOOL)tryToPerform:(SEL)anAction with:(id)anObject |
| To | - (BOOL)tryToPerform:(SEL _Nonnull)anAction with:(id _Nullable)anObject |
Modified NSResponder.undoManager
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSUndoManager *undoManager |
| To | @property(readonly, strong, nullable) NSUndoManager *undoManager |
Modified -[NSResponder uppercaseWord:]
| Declaration | |
|---|---|
| From | - (void)uppercaseWord:(id)sender |
| To | - (void)uppercaseWord:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)validateProposedFirstResponder:(NSResponder *)responder forEvent:(NSEvent *)event |
| To | - (BOOL)validateProposedFirstResponder:(NSResponder * _Nonnull)responder forEvent:(NSEvent * _Nullable)event |
| Declaration | |
|---|---|
| From | - (id)validRequestorForSendType:(NSString *)sendType returnType:(NSString *)returnType |
| To | - (id _Nullable)validRequestorForSendType:(NSString * _Nonnull)sendType returnType:(NSString * _Nonnull)returnType |
Modified -[NSResponder willPresentError:]
| Declaration | |
|---|---|
| From | - (NSError *)willPresentError:(NSError *)error |
| To | - (NSError * _Nonnull)willPresentError:(NSError * _Nonnull)error |
Modified -[NSResponder yank:]
| Declaration | |
|---|---|
| From | - (void)yank:(id)sender |
| To | - (void)yank:(id _Nullable)sender |
NSRuleEditor.h
Modified -[NSRuleEditor addRow:]
| Declaration | |
|---|---|
| From | - (void)addRow:(id)sender |
| To | - (void)addRow:(id _Nullable)sender |
Modified -[NSRuleEditor criteriaForRow:]
| Declaration | |
|---|---|
| From | - (NSArray *)criteriaForRow:(NSInteger)row |
| To | - (NSArray * _Nonnull)criteriaForRow:(NSInteger)row |
Modified NSRuleEditor.criteriaKeyPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *criteriaKeyPath |
| To | @property(copy, nonnull) NSString *criteriaKeyPath |
Modified NSRuleEditor.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSRuleEditorDelegate> delegate |
| To | @property(assign, nullable) id<NSRuleEditorDelegate> delegate |
Modified -[NSRuleEditor displayValuesForRow:]
| Declaration | |
|---|---|
| From | - (NSArray *)displayValuesForRow:(NSInteger)row |
| To | - (NSArray * _Nonnull)displayValuesForRow:(NSInteger)row |
Modified NSRuleEditor.displayValuesKeyPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *displayValuesKeyPath |
| To | @property(copy, nonnull) NSString *displayValuesKeyPath |
Modified NSRuleEditor.formattingDictionary
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *formattingDictionary |
| To | @property(copy, nullable) NSDictionary<NSString *,NSString *> *formattingDictionary |
| Declaration | |
|---|---|
| From | @property(copy) NSString *formattingStringsFilename |
| To | @property(copy, nullable) NSString *formattingStringsFilename |
Modified NSRuleEditor.predicate
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSPredicate *predicate |
| To | @property(readonly, strong, nullable) NSPredicate *predicate |
Modified -[NSRuleEditor predicateForRow:]
| Declaration | |
|---|---|
| From | - (NSPredicate *)predicateForRow:(NSInteger)row |
| To | - (NSPredicate * _Nullable)predicateForRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)removeRowsAtIndexes:(NSIndexSet *)rowIndexes includeSubrows:(BOOL)includeSubrows |
| To | - (void)removeRowsAtIndexes:(NSIndexSet * _Nonnull)rowIndexes includeSubrows:(BOOL)includeSubrows |
Modified NSRuleEditor.rowClass
| Declaration | |
|---|---|
| From | @property(assign) Class rowClass |
| To | @property(assign, nonnull) Class rowClass |
Modified -[NSRuleEditor rowForDisplayValue:]
| Declaration | |
|---|---|
| From | - (NSInteger)rowForDisplayValue:(id)displayValue |
| To | - (NSInteger)rowForDisplayValue:(id _Nonnull)displayValue |
Modified NSRuleEditor.rowTypeKeyPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *rowTypeKeyPath |
| To | @property(copy, nonnull) NSString *rowTypeKeyPath |
Modified NSRuleEditor.selectedRowIndexes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSIndexSet *selectedRowIndexes |
| To | @property(readonly, copy, nonnull) NSIndexSet *selectedRowIndexes |
| Declaration | |
|---|---|
| From | - (void)selectRowIndexes:(NSIndexSet *)indexes byExtendingSelection:(BOOL)extend |
| To | - (void)selectRowIndexes:(NSIndexSet * _Nonnull)indexes byExtendingSelection:(BOOL)extend |
| Declaration | |
|---|---|
| From | - (void)setCriteria:(NSArray *)criteria andDisplayValues:(NSArray *)values forRowAtIndex:(NSInteger)rowIndex |
| To | - (void)setCriteria:(NSArray * _Nonnull)criteria andDisplayValues:(NSArray * _Nonnull)values forRowAtIndex:(NSInteger)rowIndex |
Modified -[NSRuleEditor subrowIndexesForRow:]
| Declaration | |
|---|---|
| From | - (NSIndexSet *)subrowIndexesForRow:(NSInteger)rowIndex |
| To | - (NSIndexSet * _Nonnull)subrowIndexesForRow:(NSInteger)rowIndex |
Modified NSRuleEditor.subrowsKeyPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *subrowsKeyPath |
| To | @property(copy, nonnull) NSString *subrowsKeyPath |
| Declaration | |
|---|---|
| From | - (id)ruleEditor:(NSRuleEditor *)editor child:(NSInteger)index forCriterion:(id)criterion withRowType:(NSRuleEditorRowType)rowType |
| To | - (id _Nonnull)ruleEditor:(NSRuleEditor * _Nonnull)editor child:(NSInteger)index forCriterion:(id _Nullable)criterion withRowType:(NSRuleEditorRowType)rowType |
| Declaration | |
|---|---|
| From | - (id)ruleEditor:(NSRuleEditor *)editor displayValueForCriterion:(id)criterion inRow:(NSInteger)row |
| To | - (id _Nonnull)ruleEditor:(NSRuleEditor * _Nonnull)editor displayValueForCriterion:(id _Nonnull)criterion inRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (NSInteger)ruleEditor:(NSRuleEditor *)editor numberOfChildrenForCriterion:(id)criterion withRowType:(NSRuleEditorRowType)rowType |
| To | - (NSInteger)ruleEditor:(NSRuleEditor * _Nonnull)editor numberOfChildrenForCriterion:(id _Nullable)criterion withRowType:(NSRuleEditorRowType)rowType |
| Declaration | |
|---|---|
| From | - (NSDictionary *)ruleEditor:(NSRuleEditor *)editor predicatePartsForCriterion:(id)criterion withDisplayValue:(id)value inRow:(NSInteger)row |
| To | - (NSDictionary<NSString *,id> * _Nullable)ruleEditor:(NSRuleEditor * _Nonnull)editor predicatePartsForCriterion:(id _Nonnull)criterion withDisplayValue:(id _Nonnull)value inRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)ruleEditorRowsDidChange:(NSNotification *)notification |
| To | - (void)ruleEditorRowsDidChange:(NSNotification * _Nonnull)notification |
NSRulerMarker.h
Modified NSRulerMarker.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nonnull) NSImage *image |
| Declaration | |
|---|---|
| From | - (instancetype)initWithRulerView:(NSRulerView *)ruler markerLocation:(CGFloat)location image:(NSImage *)image imageOrigin:(NSPoint)imageOrigin |
| To | - (instancetype _Nonnull)initWithRulerView:(NSRulerView * _Nonnull)ruler markerLocation:(CGFloat)location image:(NSImage * _Nonnull)image imageOrigin:(NSPoint)imageOrigin |
Modified NSRulerMarker.representedObject
| Declaration | |
|---|---|
| From | @property(strong) id<NSCopying> representedObject |
| To | @property(strong, nullable) id<NSCopying> representedObject |
Modified NSRulerMarker.ruler
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSRulerView *ruler |
| To | @property(readonly, assign, nonnull) NSRulerView *ruler |
Modified -[NSRulerMarker trackMouse:adding:]
| Declaration | |
|---|---|
| From | - (BOOL)trackMouse:(NSEvent *)mouseDownEvent adding:(BOOL)isAdding |
| To | - (BOOL)trackMouse:(NSEvent * _Nonnull)mouseDownEvent adding:(BOOL)isAdding |
NSRulerView.h
Modified NSRulerView.accessoryView
| Declaration | |
|---|---|
| From | @property(strong) NSView *accessoryView |
| To | @property(strong, nullable) NSView *accessoryView |
Modified -[NSRulerView addMarker:]
| Declaration | |
|---|---|
| From | - (void)addMarker:(NSRulerMarker *)marker |
| To | - (void)addMarker:(NSRulerMarker * _Nonnull)marker |
Modified NSRulerView.clientView
| Declaration | |
|---|---|
| From | @property(assign) NSView *clientView |
| To | @property(assign, nullable) NSView *clientView |
| Declaration | |
|---|---|
| From | - (instancetype)initWithScrollView:(NSScrollView *)scrollView orientation:(NSRulerOrientation)orientation |
| To | - (instancetype _Nonnull)initWithScrollView:(NSScrollView * _Nullable)scrollView orientation:(NSRulerOrientation)orientation |
Modified NSRulerView.markers
| Declaration | |
|---|---|
| From | @property(copy) NSArray *markers |
| To | @property(copy, nullable) NSArray<NSRulerMarker *> *markers |
Modified NSRulerView.measurementUnits
| Declaration | |
|---|---|
| From | @property(copy) NSString *measurementUnits |
| To | @property(copy, nonnull) NSString *measurementUnits |
| Declaration | |
|---|---|
| From | + (void)registerUnitWithName:(NSString *)unitName abbreviation:(NSString *)abbreviation unitToPointsConversionFactor:(CGFloat)conversionFactor stepUpCycle:(NSArray *)stepUpCycle stepDownCycle:(NSArray *)stepDownCycle |
| To | + (void)registerUnitWithName:(NSString * _Nonnull)unitName abbreviation:(NSString * _Nonnull)abbreviation unitToPointsConversionFactor:(CGFloat)conversionFactor stepUpCycle:(NSArray<NSNumber *> * _Nonnull)stepUpCycle stepDownCycle:(NSArray<NSNumber *> * _Nonnull)stepDownCycle |
Modified -[NSRulerView removeMarker:]
| Declaration | |
|---|---|
| From | - (void)removeMarker:(NSRulerMarker *)marker |
| To | - (void)removeMarker:(NSRulerMarker * _Nonnull)marker |
Modified NSRulerView.scrollView
| Declaration | |
|---|---|
| From | @property(assign) NSScrollView *scrollView |
| To | @property(assign, nullable) NSScrollView *scrollView |
| Declaration | |
|---|---|
| From | - (BOOL)trackMarker:(NSRulerMarker *)marker withMouseEvent:(NSEvent *)event |
| To | - (BOOL)trackMarker:(NSRulerMarker * _Nonnull)marker withMouseEvent:(NSEvent * _Nonnull)event |
Modified -[NSView rulerView:didAddMarker:]
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler didAddMarker:(NSRulerMarker *)marker |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler didAddMarker:(NSRulerMarker * _Nonnull)marker |
Modified -[NSView rulerView:didMoveMarker:]
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler didMoveMarker:(NSRulerMarker *)marker |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler didMoveMarker:(NSRulerMarker * _Nonnull)marker |
Modified -[NSView rulerView:didRemoveMarker:]
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler didRemoveMarker:(NSRulerMarker *)marker |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler didRemoveMarker:(NSRulerMarker * _Nonnull)marker |
Modified -[NSView rulerView:handleMouseDown:]
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler handleMouseDown:(NSEvent *)event |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler handleMouseDown:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (CGFloat)rulerView:(NSRulerView *)ruler locationForPoint:(NSPoint)aPoint |
| To | - (CGFloat)rulerView:(NSRulerView * _Nonnull)ruler locationForPoint:(NSPoint)aPoint |
| Declaration | |
|---|---|
| From | - (NSPoint)rulerView:(NSRulerView *)ruler pointForLocation:(CGFloat)aPoint |
| To | - (NSPoint)rulerView:(NSRulerView * _Nonnull)ruler pointForLocation:(CGFloat)aPoint |
Modified -[NSView rulerView:shouldAddMarker:]
| Declaration | |
|---|---|
| From | - (BOOL)rulerView:(NSRulerView *)ruler shouldAddMarker:(NSRulerMarker *)marker |
| To | - (BOOL)rulerView:(NSRulerView * _Nonnull)ruler shouldAddMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (BOOL)rulerView:(NSRulerView *)ruler shouldMoveMarker:(NSRulerMarker *)marker |
| To | - (BOOL)rulerView:(NSRulerView * _Nonnull)ruler shouldMoveMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (BOOL)rulerView:(NSRulerView *)ruler shouldRemoveMarker:(NSRulerMarker *)marker |
| To | - (BOOL)rulerView:(NSRulerView * _Nonnull)ruler shouldRemoveMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (CGFloat)rulerView:(NSRulerView *)ruler willAddMarker:(NSRulerMarker *)marker atLocation:(CGFloat)location |
| To | - (CGFloat)rulerView:(NSRulerView * _Nonnull)ruler willAddMarker:(NSRulerMarker * _Nonnull)marker atLocation:(CGFloat)location |
| Declaration | |
|---|---|
| From | - (CGFloat)rulerView:(NSRulerView *)ruler willMoveMarker:(NSRulerMarker *)marker toLocation:(CGFloat)location |
| To | - (CGFloat)rulerView:(NSRulerView * _Nonnull)ruler willMoveMarker:(NSRulerMarker * _Nonnull)marker toLocation:(CGFloat)location |
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler willSetClientView:(NSView *)newClient |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler willSetClientView:(NSView * _Nonnull)newClient |
NSRunningApplication.h
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *bundleIdentifier |
| To | @property(readonly, copy, nullable) NSString *bundleIdentifier |
Modified NSRunningApplication.bundleURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *bundleURL |
| To | @property(readonly, copy, nullable) NSURL *bundleURL |
| Declaration | |
|---|---|
| From | + (instancetype)currentApplication |
| To | + (instancetype _Nonnull)currentApplication |
Modified NSRunningApplication.executableURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *executableURL |
| To | @property(readonly, copy, nullable) NSURL *executableURL |
Modified NSRunningApplication.icon
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSImage *icon |
| To | @property(readonly, strong, nullable) NSImage *icon |
Modified NSRunningApplication.launchDate
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *launchDate |
| To | @property(readonly, copy, nullable) NSDate *launchDate |
Modified NSRunningApplication.localizedName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedName |
| To | @property(readonly, copy, nullable) NSString *localizedName |
| Declaration | |
|---|---|
| From | + (NSArray *)runningApplicationsWithBundleIdentifier:(NSString *)bundleIdentifier |
| To | + (NSArray<NSRunningApplication *> * _Nonnull)runningApplicationsWithBundleIdentifier:(NSString * _Nonnull)bundleIdentifier |
| Declaration | |
|---|---|
| From | + (instancetype)runningApplicationWithProcessIdentifier:(pid_t)pid |
| To | + (instancetype _Nullable)runningApplicationWithProcessIdentifier:(pid_t)pid |
Modified NSWorkspace.runningApplications
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *runningApplications |
| To | @property(readonly, copy, nonnull) NSArray<NSRunningApplication *> *runningApplications |
NSSavePanel.h
| Declaration | |
|---|---|
| From | - (NSComparisonResult)panel:(id)sender compareFilename:(NSString *)name1 with:(NSString *)name2 caseSensitive:(BOOL)caseSensitive |
| To | - (NSComparisonResult)panel:(id _Nonnull)sender compareFilename:(NSString * _Nonnull)name1 with:(NSString * _Nonnull)name2 caseSensitive:(BOOL)caseSensitive |
| Declaration | |
|---|---|
| From | - (void)panel:(id)sender directoryDidChange:(NSString *)path |
| To | - (void)panel:(id _Nonnull)sender directoryDidChange:(NSString * _Nonnull)path |
Modified -[NSObject panel:isValidFilename:]
| Declaration | |
|---|---|
| From | - (BOOL)panel:(id)sender isValidFilename:(NSString *)filename |
| To | - (BOOL)panel:(id _Nonnull)sender isValidFilename:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | - (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename |
| To | - (BOOL)panel:(id _Nonnull)sender shouldShowFilename:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | - (void)panel:(id)sender didChangeToDirectoryURL:(NSURL *)url |
| To | - (void)panel:(id _Nonnull)sender didChangeToDirectoryURL:(NSURL * _Nullable)url |
| Declaration | |
|---|---|
| From | - (BOOL)panel:(id)sender shouldEnableURL:(NSURL *)url |
| To | - (BOOL)panel:(id _Nonnull)sender shouldEnableURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (NSString *)panel:(id)sender userEnteredFilename:(NSString *)filename confirmed:(BOOL)okFlag |
| To | - (NSString * _Nullable)panel:(id _Nonnull)sender userEnteredFilename:(NSString * _Nonnull)filename confirmed:(BOOL)okFlag |
| Declaration | |
|---|---|
| From | - (BOOL)panel:(id)sender validateURL:(NSURL *)url error:(NSError **)outError |
| To | - (BOOL)panel:(id _Nonnull)sender validateURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (void)panel:(id)sender willExpand:(BOOL)expanding |
| To | - (void)panel:(id _Nonnull)sender willExpand:(BOOL)expanding |
| Declaration | |
|---|---|
| From | - (void)panelSelectionDidChange:(id)sender |
| To | - (void)panelSelectionDidChange:(id _Nullable)sender |
Modified NSSavePanel.accessoryView
| Declaration | |
|---|---|
| From | @property(strong) NSView *accessoryView |
| To | @property(strong, nullable) NSView *accessoryView |
Modified NSSavePanel.allowedFileTypes
| Declaration | |
|---|---|
| From | @property(copy) NSArray *allowedFileTypes |
| To | @property(copy, nullable) NSArray<NSString *> *allowedFileTypes |
Modified -[NSSavePanel beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:]
| Declaration | |
|---|---|
| From | - (void)beginSheetForDirectory:(NSString *)path file:(NSString *)name modalForWindow:(NSWindow *)docWindow modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo |
| To | - (void)beginSheetForDirectory:(NSString * _Nonnull)path file:(NSString * _Nullable)name modalForWindow:(NSWindow * _Nullable)docWindow modalDelegate:(id _Nullable)delegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (void)beginSheetModalForWindow:(NSWindow *)window completionHandler:(void (^)(NSInteger result))handler |
| To | - (void)beginSheetModalForWindow:(NSWindow * _Nonnull)window completionHandler:(void (^ _Nonnull)(NSInteger result))handler |
| Declaration | |
|---|---|
| From | - (void)beginWithCompletionHandler:(void (^)(NSInteger result))handler |
| To | - (void)beginWithCompletionHandler:(void (^ _Nonnull)(NSInteger result))handler |
Modified -[NSSavePanel cancel:]
| Declaration | |
|---|---|
| From | - (IBAction)cancel:(id)sender |
| To | - (IBAction)cancel:(id _Nullable)sender |
Modified NSSavePanel.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSOpenSavePanelDelegate> delegate |
| To | @property(assign, nullable) id<NSOpenSavePanelDelegate> delegate |
Modified -[NSSavePanel directory]
| Declaration | |
|---|---|
| From | - (NSString *)directory |
| To | - (NSString * _Nonnull)directory |
Modified NSSavePanel.directoryURL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *directoryURL |
| To | @property(copy, nullable) NSURL *directoryURL |
Modified -[NSSavePanel filename]
| Declaration | |
|---|---|
| From | - (NSString *)filename |
| To | - (NSString * _Nonnull)filename |
Modified NSSavePanel.message
| Declaration | |
|---|---|
| From | @property(copy) NSString *message |
| To | @property(copy) NSString * _Null_unspecified message |
Modified NSSavePanel.nameFieldLabel
| Declaration | |
|---|---|
| From | @property(copy) NSString *nameFieldLabel |
| To | @property(copy) NSString * _Null_unspecified nameFieldLabel |
Modified NSSavePanel.nameFieldStringValue
| Declaration | |
|---|---|
| From | @property(copy) NSString *nameFieldStringValue |
| To | @property(copy, nonnull) NSString *nameFieldStringValue |
Modified -[NSSavePanel ok:]
| Declaration | |
|---|---|
| From | - (IBAction)ok:(id)sender |
| To | - (IBAction)ok:(id _Nullable)sender |
Modified NSSavePanel.prompt
| Declaration | |
|---|---|
| From | @property(copy) NSString *prompt |
| To | @property(copy) NSString * _Null_unspecified prompt |
Modified -[NSSavePanel requiredFileType]
| Declaration | |
|---|---|
| From | - (NSString *)requiredFileType |
| To | - (NSString * _Nullable)requiredFileType |
| Declaration | |
|---|---|
| From | - (NSInteger)runModalForDirectory:(NSString *)path file:(NSString *)name |
| To | - (NSInteger)runModalForDirectory:(NSString * _Nullable)path file:(NSString * _Nullable)name |
Modified +[NSSavePanel savePanel]
| Declaration | |
|---|---|
| From | + (NSSavePanel *)savePanel |
| To | + (NSSavePanel * _Nonnull)savePanel |
Modified -[NSSavePanel selectText:]
| Declaration | |
|---|---|
| From | - (IBAction)selectText:(id)sender |
| To | - (IBAction)selectText:(id _Nullable)sender |
Modified -[NSSavePanel setDirectory:]
| Declaration | |
|---|---|
| From | - (void)setDirectory:(NSString *)path |
| To | - (void)setDirectory:(NSString * _Nullable)path |
Modified -[NSSavePanel setRequiredFileType:]
| Declaration | |
|---|---|
| From | - (void)setRequiredFileType:(NSString *)type |
| To | - (void)setRequiredFileType:(NSString * _Nullable)type |
Modified NSSavePanel.tagNames
| Declaration | |
|---|---|
| From | @property(copy) NSArray *tagNames |
| To | @property(copy, nullable) NSArray<NSString *> *tagNames |
Modified NSSavePanel.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy) NSString * _Null_unspecified title |
Modified NSSavePanel.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nullable) NSURL *URL |
NSScreen.h
Added NSScreen(NSExtendedDynamicRange)
Modified NSScreen.colorSpace
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSColorSpace *colorSpace |
| To | @property(readonly, strong, nullable) NSColorSpace *colorSpace |
Modified +[NSScreen deepestScreen]
| Declaration | |
|---|---|
| From | + (NSScreen *)deepestScreen |
| To | + (NSScreen * _Nullable)deepestScreen |
Modified NSScreen.deviceDescription
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *deviceDescription |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *deviceDescription |
Modified +[NSScreen mainScreen]
| Declaration | |
|---|---|
| From | + (NSScreen *)mainScreen |
| To | + (NSScreen * _Nullable)mainScreen |
Modified +[NSScreen screens]
| Declaration | |
|---|---|
| From | + (NSArray *)screens |
| To | + (NSArray<NSScreen *> * _Nullable)screens |
Modified NSScreen.supportedWindowDepths
| Declaration | |
|---|---|
| From | @property(readonly) const NSWindowDepth *supportedWindowDepths |
| To | @property(readonly, nonnull) const NSWindowDepth *supportedWindowDepths |
NSScroller.h
Modified -[NSScroller trackKnob:]
| Declaration | |
|---|---|
| From | - (void)trackKnob:(NSEvent *)theEvent |
| To | - (void)trackKnob:(NSEvent * _Nonnull)theEvent |
Modified -[NSScroller trackScrollButtons:]
| Declaration | |
|---|---|
| From | - (void)trackScrollButtons:(NSEvent *)theEvent |
| To | - (void)trackScrollButtons:(NSEvent * _Nonnull)theEvent |
NSScrollView.h
| Declaration | |
|---|---|
| From | - (void)addFloatingSubview:(NSView *)view forAxis:(NSEventGestureAxis)axis |
| To | - (void)addFloatingSubview:(NSView * _Nonnull)view forAxis:(NSEventGestureAxis)axis |
Modified NSScrollView.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
| Declaration | |
|---|---|
| From | + (NSSize)contentSizeForFrameSize:(NSSize)fSize horizontalScrollerClass:(Class)horizontalScrollerClass verticalScrollerClass:(Class)verticalScrollerClass borderType:(NSBorderType)aType controlSize:(NSControlSize)controlSize scrollerStyle:(NSScrollerStyle)scrollerStyle |
| To | + (NSSize)contentSizeForFrameSize:(NSSize)fSize horizontalScrollerClass:(Class _Nullable)horizontalScrollerClass verticalScrollerClass:(Class _Nullable)verticalScrollerClass borderType:(NSBorderType)aType controlSize:(NSControlSize)controlSize scrollerStyle:(NSScrollerStyle)scrollerStyle |
Modified NSScrollView.contentView
| Declaration | |
|---|---|
| From | @property(strong) NSClipView *contentView |
| To | @property(strong, nonnull) NSClipView *contentView |
Modified NSScrollView.documentCursor
| Declaration | |
|---|---|
| From | @property(strong) NSCursor *documentCursor |
| To | @property(strong, nullable) NSCursor *documentCursor |
Modified NSScrollView.documentView
| Declaration | |
|---|---|
| From | @property(assign) id documentView |
| To | @property(assign, nullable) id documentView |
| Declaration | |
|---|---|
| From | + (NSSize)frameSizeForContentSize:(NSSize)cSize horizontalScrollerClass:(Class)horizontalScrollerClass verticalScrollerClass:(Class)verticalScrollerClass borderType:(NSBorderType)aType controlSize:(NSControlSize)controlSize scrollerStyle:(NSScrollerStyle)scrollerStyle |
| To | + (NSSize)frameSizeForContentSize:(NSSize)cSize horizontalScrollerClass:(Class _Nullable)horizontalScrollerClass verticalScrollerClass:(Class _Nullable)verticalScrollerClass borderType:(NSBorderType)aType controlSize:(NSControlSize)controlSize scrollerStyle:(NSScrollerStyle)scrollerStyle |
Modified NSScrollView.horizontalRulerView
| Declaration | |
|---|---|
| From | @property(strong) NSRulerView *horizontalRulerView |
| To | @property(strong, nullable) NSRulerView *horizontalRulerView |
Modified NSScrollView.horizontalScroller
| Declaration | |
|---|---|
| From | @property(strong) NSScroller *horizontalScroller |
| To | @property(strong, nullable) NSScroller *horizontalScroller |
Modified -[NSScrollView initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSScrollView initWithFrame:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect |
| Declaration | |
|---|---|
| From | - (void)reflectScrolledClipView:(NSClipView *)cView |
| To | - (void)reflectScrolledClipView:(NSClipView * _Nonnull)cView |
Modified +[NSScrollView rulerViewClass]
| Declaration | |
|---|---|
| From | + (Class)rulerViewClass |
| To | + (Class _Nonnull)rulerViewClass |
Modified -[NSScrollView scrollWheel:]
| Declaration | |
|---|---|
| From | - (void)scrollWheel:(NSEvent *)theEvent |
| To | - (void)scrollWheel:(NSEvent * _Nonnull)theEvent |
Modified +[NSScrollView setRulerViewClass:]
| Declaration | |
|---|---|
| From | + (void)setRulerViewClass:(Class)rulerViewClass |
| To | + (void)setRulerViewClass:(Class _Nullable)rulerViewClass |
Modified NSScrollView.verticalRulerView
| Declaration | |
|---|---|
| From | @property(strong) NSRulerView *verticalRulerView |
| To | @property(strong, nullable) NSRulerView *verticalRulerView |
Modified NSScrollView.verticalScroller
| Declaration | |
|---|---|
| From | @property(strong) NSScroller *verticalScroller |
| To | @property(strong, nullable) NSScroller *verticalScroller |
NSSearchField.h
Added NSSearchField.delegate
Added NSSearchFieldDelegate
Modified NSSearchField.recentsAutosaveName
| Declaration | |
|---|---|
| From | @property(copy) NSString *recentsAutosaveName |
| To | @property(copy, nullable) NSString *recentsAutosaveName |
Modified NSSearchField.recentSearches
| Declaration | |
|---|---|
| From | @property(copy) NSArray *recentSearches |
| To | @property(copy, nonnull) NSArray<NSString *> *recentSearches |
Modified NSSearchField.searchMenuTemplate
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *searchMenuTemplate |
| To | @property(strong, nullable) NSMenu *searchMenuTemplate |
NSSearchFieldCell.h
Modified NSSearchFieldCell.cancelButtonCell
| Declaration | |
|---|---|
| From | @property(strong) NSButtonCell *cancelButtonCell |
| To | @property(strong, nullable) NSButtonCell *cancelButtonCell |
| Declaration | |
|---|---|
| From | @property(copy) NSString *recentsAutosaveName |
| To | @property(copy, nullable) NSString *recentsAutosaveName |
Modified NSSearchFieldCell.recentSearches
| Declaration | |
|---|---|
| From | @property(copy) NSArray *recentSearches |
| To | @property(copy) NSArray<NSString *> * _Null_unspecified recentSearches |
Modified NSSearchFieldCell.searchButtonCell
| Declaration | |
|---|---|
| From | @property(strong) NSButtonCell *searchButtonCell |
| To | @property(strong, nullable) NSButtonCell *searchButtonCell |
Modified NSSearchFieldCell.searchMenuTemplate
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *searchMenuTemplate |
| To | @property(strong, nullable) NSMenu *searchMenuTemplate |
NSSegmentedCell.h
| Declaration | |
|---|---|
| From | - (void)drawSegment:(NSInteger)segment inFrame:(NSRect)frame withView:(NSView *)controlView |
| To | - (void)drawSegment:(NSInteger)segment inFrame:(NSRect)frame withView:(NSView * _Nonnull)controlView |
Modified -[NSSegmentedCell imageForSegment:]
| Declaration | |
|---|---|
| From | - (NSImage *)imageForSegment:(NSInteger)segment |
| To | - (NSImage * _Nullable)imageForSegment:(NSInteger)segment |
Modified -[NSSegmentedCell labelForSegment:]
| Declaration | |
|---|---|
| From | - (NSString *)labelForSegment:(NSInteger)segment |
| To | - (NSString * _Nullable)labelForSegment:(NSInteger)segment |
Modified -[NSSegmentedCell menuForSegment:]
| Declaration | |
|---|---|
| From | - (NSMenu *)menuForSegment:(NSInteger)segment |
| To | - (NSMenu * _Nullable)menuForSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (void)setImage:(NSImage *)image forSegment:(NSInteger)segment |
| To | - (void)setImage:(NSImage * _Nullable)image forSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (void)setLabel:(NSString *)label forSegment:(NSInteger)segment |
| To | - (void)setLabel:(NSString * _Nonnull)label forSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (void)setMenu:(NSMenu *)menu forSegment:(NSInteger)segment |
| To | - (void)setMenu:(NSMenu * _Nullable)menu forSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (void)setToolTip:(NSString *)toolTip forSegment:(NSInteger)segment |
| To | - (void)setToolTip:(NSString * _Nullable)toolTip forSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (NSString *)toolTipForSegment:(NSInteger)segment |
| To | - (NSString * _Nullable)toolTipForSegment:(NSInteger)segment |
NSSegmentedControl.h
| Declaration | |
|---|---|
| From | - (double)doubleValueForSelectedSegment |
| To | @property(readonly) double doubleValueForSelectedSegment |
| Declaration | |
|---|---|
| From | - (NSImage *)imageForSegment:(NSInteger)segment |
| To | - (NSImage * _Nullable)imageForSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (NSString *)labelForSegment:(NSInteger)segment |
| To | - (NSString * _Nullable)labelForSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (NSMenu *)menuForSegment:(NSInteger)segment |
| To | - (NSMenu * _Nullable)menuForSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (void)setImage:(NSImage *)image forSegment:(NSInteger)segment |
| To | - (void)setImage:(NSImage * _Nullable)image forSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (void)setLabel:(NSString *)label forSegment:(NSInteger)segment |
| To | - (void)setLabel:(NSString * _Nonnull)label forSegment:(NSInteger)segment |
| Declaration | |
|---|---|
| From | - (void)setMenu:(NSMenu *)menu forSegment:(NSInteger)segment |
| To | - (void)setMenu:(NSMenu * _Nullable)menu forSegment:(NSInteger)segment |
NSShadow.h
Modified -[NSShadow init]
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)init | -- |
| To | - (instancetype _Nonnull)init | yes |
Modified NSShadow.shadowColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *shadowColor |
| To | @property(copy, nullable) NSColor *shadowColor |
NSSharingService.h
Modified NSSharingService.accountName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *accountName |
| To | @property(readonly, copy, nullable) NSString *accountName |
Modified NSSharingService.alternateImage
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSImage *alternateImage |
| To | @property(readonly, strong, nullable) NSImage *alternateImage |
Modified NSSharingService.attachmentFileURLs
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *attachmentFileURLs |
| To | @property(readonly, copy, nullable) NSArray<NSURL *> *attachmentFileURLs |
| Declaration | |
|---|---|
| From | - (BOOL)canPerformWithItems:(NSArray *)items |
| To | - (BOOL)canPerformWithItems:(NSArray * _Nullable)items |
Modified NSSharingService.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSSharingServiceDelegate> delegate |
| To | @property(assign, nullable) id<NSSharingServiceDelegate> delegate |
Modified NSSharingService.image
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSImage *image |
| To | @property(readonly, strong, nonnull) NSImage *image |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithTitle:(NSString *)title image:(NSImage *)image alternateImage:(NSImage *)alternateImage handler:(void (^)(void))block | -- |
| To | - (instancetype _Nonnull)initWithTitle:(NSString * _Nonnull)title image:(NSImage * _Nonnull)image alternateImage:(NSImage * _Nullable)alternateImage handler:(void (^ _Nonnull)(void))block | yes |
Modified NSSharingService.menuItemTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *menuItemTitle |
| To | @property(copy, nonnull) NSString *menuItemTitle |
Modified NSSharingService.messageBody
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *messageBody |
| To | @property(readonly, copy, nullable) NSString *messageBody |
| Declaration | |
|---|---|
| From | - (void)performWithItems:(NSArray *)items |
| To | - (void)performWithItems:(NSArray * _Nonnull)items |
Modified NSSharingService.permanentLink
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *permanentLink |
| To | @property(readonly, copy, nullable) NSURL *permanentLink |
Modified NSSharingService.recipients
| Declaration | |
|---|---|
| From | @property(copy) NSArray *recipients |
| To | @property(copy, nullable) NSArray<NSString *> *recipients |
| Declaration | |
|---|---|
| From | + (NSSharingService *)sharingServiceNamed:(NSString *)serviceName |
| To | + (NSSharingService * _Nullable)sharingServiceNamed:(NSString * _Nonnull)serviceName |
| Declaration | |
|---|---|
| From | + (NSArray *)sharingServicesForItems:(NSArray *)items |
| To | + (NSArray<NSSharingService *> * _Nonnull)sharingServicesForItems:(NSArray * _Nonnull)items |
Modified NSSharingService.subject
| Declaration | |
|---|---|
| From | @property(copy) NSString *subject |
| To | @property(copy, nullable) NSString *subject |
Modified NSSharingService.title
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *title |
| To | @property(readonly, copy, nonnull) NSString *title |
| Declaration | |
|---|---|
| From | - (void)sharingService:(NSSharingService *)sharingService didFailToShareItems:(NSArray *)items error:(NSError *)error |
| To | - (void)sharingService:(NSSharingService * _Nonnull)sharingService didFailToShareItems:(NSArray * _Nonnull)items error:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)sharingService:(NSSharingService *)sharingService didShareItems:(NSArray *)items |
| To | - (void)sharingService:(NSSharingService * _Nonnull)sharingService didShareItems:(NSArray * _Nonnull)items |
| Declaration | |
|---|---|
| From | - (NSRect)sharingService:(NSSharingService *)sharingService sourceFrameOnScreenForShareItem:(id<NSPasteboardWriting>)item |
| To | - (NSRect)sharingService:(NSSharingService * _Nonnull)sharingService sourceFrameOnScreenForShareItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (NSWindow *)sharingService:(NSSharingService *)sharingService sourceWindowForShareItems:(NSArray *)items sharingContentScope:(NSSharingContentScope *)sharingContentScope |
| To | - (NSWindow * _Nullable)sharingService:(NSSharingService * _Nonnull)sharingService sourceWindowForShareItems:(NSArray * _Nonnull)items sharingContentScope:(NSSharingContentScope * _Nonnull)sharingContentScope |
| Declaration | |
|---|---|
| From | - (NSImage *)sharingService:(NSSharingService *)sharingService transitionImageForShareItem:(id<NSPasteboardWriting>)item contentRect:(NSRect *)contentRect |
| To | - (NSImage * _Nonnull)sharingService:(NSSharingService * _Nonnull)sharingService transitionImageForShareItem:(id _Nonnull)item contentRect:(NSRect * _Nonnull)contentRect |
| Declaration | |
|---|---|
| From | - (void)sharingService:(NSSharingService *)sharingService willShareItems:(NSArray *)items |
| To | - (void)sharingService:(NSSharingService * _Nonnull)sharingService willShareItems:(NSArray * _Nonnull)items |
Modified NSSharingServicePicker.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSSharingServicePickerDelegate> delegate |
| To | @property(assign, nullable) id<NSSharingServicePickerDelegate> delegate |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithItems:(NSArray *)items | -- |
| To | - (instancetype _Nonnull)initWithItems:(NSArray * _Nonnull)items | yes |
| Declaration | |
|---|---|
| From | - (void)showRelativeToRect:(NSRect)rect ofView:(NSView *)view preferredEdge:(NSRectEdge)preferredEdge |
| To | - (void)showRelativeToRect:(NSRect)rect ofView:(NSView * _Nonnull)view preferredEdge:(NSRectEdge)preferredEdge |
| Declaration | |
|---|---|
| From | - (id<NSSharingServiceDelegate>)sharingServicePicker:(NSSharingServicePicker *)sharingServicePicker delegateForSharingService:(NSSharingService *)sharingService |
| To | - (id<NSSharingServiceDelegate> _Nullable)sharingServicePicker:(NSSharingServicePicker * _Nonnull)sharingServicePicker delegateForSharingService:(NSSharingService * _Nonnull)sharingService |
| Declaration | |
|---|---|
| From | - (void)sharingServicePicker:(NSSharingServicePicker *)sharingServicePicker didChooseSharingService:(NSSharingService *)service |
| To | - (void)sharingServicePicker:(NSSharingServicePicker * _Nonnull)sharingServicePicker didChooseSharingService:(NSSharingService * _Nullable)service |
| Declaration | |
|---|---|
| From | - (NSArray *)sharingServicePicker:(NSSharingServicePicker *)sharingServicePicker sharingServicesForItems:(NSArray *)items proposedSharingServices:(NSArray *)proposedServices |
| To | - (NSArray<NSSharingService *> * _Nonnull)sharingServicePicker:(NSSharingServicePicker * _Nonnull)sharingServicePicker sharingServicesForItems:(NSArray * _Nonnull)items proposedSharingServices:(NSArray<NSSharingService *> * _Nonnull)proposedServices |
NSSlider.h
Modified -[NSSlider acceptsFirstMouse:]
| Declaration | |
|---|---|
| From | - (BOOL)acceptsFirstMouse:(NSEvent *)theEvent |
| To | - (BOOL)acceptsFirstMouse:(NSEvent * _Nullable)theEvent |
Modified -[NSSlider image]
| Declaration | |
|---|---|
| From | - (NSImage *)image |
| To | - (NSImage * _Null_unspecified)image |
Modified -[NSSlider setImage:]
| Declaration | |
|---|---|
| From | - (void)setImage:(NSImage *)backgroundImage |
| To | - (void)setImage:(NSImage * _Null_unspecified)backgroundImage |
Modified -[NSSlider setTitle:]
| Declaration | |
|---|---|
| From | - (void)setTitle:(NSString *)aString |
| To | - (void)setTitle:(NSString * _Null_unspecified)aString |
Modified -[NSSlider setTitleCell:]
| Declaration | |
|---|---|
| From | - (void)setTitleCell:(NSCell *)aCell |
| To | - (void)setTitleCell:(NSCell * _Null_unspecified)aCell |
Modified -[NSSlider setTitleColor:]
| Declaration | |
|---|---|
| From | - (void)setTitleColor:(NSColor *)newColor |
| To | - (void)setTitleColor:(NSColor * _Null_unspecified)newColor |
Modified -[NSSlider setTitleFont:]
| Declaration | |
|---|---|
| From | - (void)setTitleFont:(NSFont *)fontObj |
| To | - (void)setTitleFont:(NSFont * _Null_unspecified)fontObj |
Modified -[NSSlider title]
| Declaration | |
|---|---|
| From | - (NSString *)title |
| To | - (NSString * _Null_unspecified)title |
Modified -[NSSlider titleCell]
| Declaration | |
|---|---|
| From | - (id)titleCell |
| To | - (id _Null_unspecified)titleCell |
Modified -[NSSlider titleColor]
| Declaration | |
|---|---|
| From | - (NSColor *)titleColor |
| To | - (NSColor * _Null_unspecified)titleColor |
Modified -[NSSlider titleFont]
| Declaration | |
|---|---|
| From | - (NSFont *)titleFont |
| To | - (NSFont * _Null_unspecified)titleFont |
NSSound.h
Modified -[NSBundle pathForSoundResource:]
| Declaration | |
|---|---|
| From | - (NSString *)pathForSoundResource:(NSString *)name |
| To | - (NSString * _Nullable)pathForSoundResource:(NSString * _Nonnull)name |
Modified +[NSSound canInitWithPasteboard:]
| Declaration | |
|---|---|
| From | + (BOOL)canInitWithPasteboard:(NSPasteboard *)pasteboard |
| To | + (BOOL)canInitWithPasteboard:(NSPasteboard * _Nonnull)pasteboard |
Modified -[NSSound channelMapping]
| Declaration | |
|---|---|
| From | - (NSArray *)channelMapping |
| To | - (NSArray * _Null_unspecified)channelMapping |
Modified NSSound.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSSoundDelegate> delegate |
| To | @property(assign, nullable) id<NSSoundDelegate> delegate |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfFile:(NSString *)path byReference:(BOOL)byRef |
| To | - (instancetype _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path byReference:(BOOL)byRef |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url byReference:(BOOL)byRef |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url byReference:(BOOL)byRef |
Modified -[NSSound initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data |
Modified -[NSSound initWithPasteboard:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithPasteboard:(NSPasteboard *)pasteboard |
| To | - (instancetype _Nullable)initWithPasteboard:(NSPasteboard * _Nonnull)pasteboard |
Modified NSSound.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nullable) NSString *name |
Modified NSSound.playbackDeviceIdentifier
| Declaration | |
|---|---|
| From | @property(copy) NSString *playbackDeviceIdentifier |
| To | @property(copy, nullable) NSString *playbackDeviceIdentifier |
Modified -[NSSound setChannelMapping:]
| Declaration | |
|---|---|
| From | - (void)setChannelMapping:(NSArray *)channelMapping |
| To | - (void)setChannelMapping:(NSArray * _Null_unspecified)channelMapping |
Modified -[NSSound setName:]
| Declaration | |
|---|---|
| From | - (BOOL)setName:(NSString *)string |
| To | - (BOOL)setName:(NSString * _Nullable)string |
Modified +[NSSound soundNamed:]
| Declaration | |
|---|---|
| From | + (NSSound *)soundNamed:(NSString *)name |
| To | + (NSSound * _Nullable)soundNamed:(NSString * _Nonnull)name |
Modified +[NSSound soundUnfilteredFileTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)soundUnfilteredFileTypes |
| To | + (NSArray * _Null_unspecified)soundUnfilteredFileTypes |
| Declaration | |
|---|---|
| From | + (NSArray *)soundUnfilteredPasteboardTypes |
| To | + (NSArray * _Null_unspecified)soundUnfilteredPasteboardTypes |
Modified +[NSSound soundUnfilteredTypes]
| Declaration | |
|---|---|
| From | + (NSArray *)soundUnfilteredTypes |
| To | + (NSArray<NSString *> * _Nonnull)soundUnfilteredTypes |
Modified -[NSSound writeToPasteboard:]
| Declaration | |
|---|---|
| From | - (void)writeToPasteboard:(NSPasteboard *)pasteboard |
| To | - (void)writeToPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (void)sound:(NSSound *)sound didFinishPlaying:(BOOL)aBool |
| To | - (void)sound:(NSSound * _Nonnull)sound didFinishPlaying:(BOOL)aBool |
NSSpeechRecognizer.h
Modified NSSpeechRecognizer.commands
| Declaration | |
|---|---|
| From | @property(copy) NSArray *commands |
| To | @property(copy, nullable) NSArray<NSString *> *commands |
Modified NSSpeechRecognizer.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSSpeechRecognizerDelegate> delegate |
| To | @property(assign, nullable) id<NSSpeechRecognizerDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(copy) NSString *displayedCommandsTitle |
| To | @property(copy, nullable) NSString *displayedCommandsTitle |
Modified -[NSSpeechRecognizer init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nullable)init |
| Declaration | |
|---|---|
| From | - (void)speechRecognizer:(NSSpeechRecognizer *)sender didRecognizeCommand:(id)command |
| To | - (void)speechRecognizer:(NSSpeechRecognizer * _Nonnull)sender didRecognizeCommand:(NSString * _Nonnull)command |
NSSpeechSynthesizer.h
| Declaration | |
|---|---|
| From | - (void)addSpeechDictionary:(NSDictionary *)speechDictionary |
| To | - (void)addSpeechDictionary:(NSDictionary<NSString *,id> * _Nonnull)speechDictionary |
| Declaration | |
|---|---|
| From | + (NSDictionary *)attributesForVoice:(NSString *)voice |
| To | + (NSDictionary<NSString *,id> * _Nonnull)attributesForVoice:(NSString * _Nonnull)voice |
| Declaration | |
|---|---|
| From | + (NSArray *)availableVoices |
| To | + (NSArray<NSString *> * _Nonnull)availableVoices |
Modified +[NSSpeechSynthesizer defaultVoice]
| Declaration | |
|---|---|
| From | + (NSString *)defaultVoice |
| To | + (NSString * _Nonnull)defaultVoice |
Modified NSSpeechSynthesizer.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSSpeechSynthesizerDelegate> delegate |
| To | @property(assign, nullable) id<NSSpeechSynthesizerDelegate> delegate |
| Declaration | |
|---|---|
| From | - (instancetype)initWithVoice:(NSString *)voice |
| To | - (instancetype _Nullable)initWithVoice:(NSString * _Nullable)voice |
| Declaration | |
|---|---|
| From | - (id)objectForProperty:(NSString *)property error:(NSError **)outError |
| To | - (id _Nullable)objectForProperty:(NSString * _Nonnull)property error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (NSString *)phonemesFromText:(NSString *)text |
| To | - (NSString * _Nonnull)phonemesFromText:(NSString * _Nonnull)text |
| Declaration | |
|---|---|
| From | - (BOOL)setObject:(id)object forProperty:(NSString *)property error:(NSError **)outError |
| To | - (BOOL)setObject:(id _Nullable)object forProperty:(NSString * _Nonnull)property error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSSpeechSynthesizer setVoice:]
| Declaration | |
|---|---|
| From | - (BOOL)setVoice:(NSString *)voice |
| To | - (BOOL)setVoice:(NSString * _Nullable)voice |
| Declaration | |
|---|---|
| From | - (BOOL)startSpeakingString:(NSString *)string |
| To | - (BOOL)startSpeakingString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (BOOL)startSpeakingString:(NSString *)string toURL:(NSURL *)url |
| To | - (BOOL)startSpeakingString:(NSString * _Nonnull)string toURL:(NSURL * _Nonnull)url |
Modified -[NSSpeechSynthesizer voice]
| Declaration | |
|---|---|
| From | - (NSString *)voice |
| To | - (NSString * _Nullable)voice |
Modified -[NSSpeechSynthesizerDelegate speechSynthesizer:didEncounterErrorAtIndex:ofString:message:]
| Declaration | |
|---|---|
| From | - (void)speechSynthesizer:(NSSpeechSynthesizer *)sender didEncounterErrorAtIndex:(NSUInteger)characterIndex ofString:(NSString *)string message:(NSString *)message |
| To | - (void)speechSynthesizer:(NSSpeechSynthesizer * _Nonnull)sender didEncounterErrorAtIndex:(NSUInteger)characterIndex ofString:(NSString * _Nonnull)string message:(NSString * _Nonnull)message |
| Declaration | |
|---|---|
| From | - (void)speechSynthesizer:(NSSpeechSynthesizer *)sender didEncounterSyncMessage:(NSString *)message |
| To | - (void)speechSynthesizer:(NSSpeechSynthesizer * _Nonnull)sender didEncounterSyncMessage:(NSString * _Nonnull)message |
| Declaration | |
|---|---|
| From | - (void)speechSynthesizer:(NSSpeechSynthesizer *)sender didFinishSpeaking:(BOOL)finishedSpeaking |
| To | - (void)speechSynthesizer:(NSSpeechSynthesizer * _Nonnull)sender didFinishSpeaking:(BOOL)finishedSpeaking |
| Declaration | |
|---|---|
| From | - (void)speechSynthesizer:(NSSpeechSynthesizer *)sender willSpeakPhoneme:(short)phonemeOpcode |
| To | - (void)speechSynthesizer:(NSSpeechSynthesizer * _Nonnull)sender willSpeakPhoneme:(short)phonemeOpcode |
| Declaration | |
|---|---|
| From | - (void)speechSynthesizer:(NSSpeechSynthesizer *)sender willSpeakWord:(NSRange)characterRange ofString:(NSString *)string |
| To | - (void)speechSynthesizer:(NSSpeechSynthesizer * _Nonnull)sender willSpeakWord:(NSRange)characterRange ofString:(NSString * _Nonnull)string |
NSSpellChecker.h
Modified NSSpellChecker.accessoryView
| Declaration | |
|---|---|
| From | @property(strong) NSView *accessoryView |
| To | @property(strong, nullable) NSView *accessoryView |
Modified NSSpellChecker.availableLanguages
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *availableLanguages |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *availableLanguages |
Modified -[NSSpellChecker checkGrammarOfString:startingAt:language:wrap:inSpellDocumentWithTag:details:]
| Declaration | |
|---|---|
| From | - (NSRange)checkGrammarOfString:(NSString *)stringToCheck startingAt:(NSInteger)startingOffset language:(NSString *)language wrap:(BOOL)wrapFlag inSpellDocumentWithTag:(NSInteger)tag details:(NSArray **)details |
| To | - (NSRange)checkGrammarOfString:(NSString * _Nonnull)stringToCheck startingAt:(NSInteger)startingOffset language:(NSString * _Nullable)language wrap:(BOOL)wrapFlag inSpellDocumentWithTag:(NSInteger)tag details:(NSArray<NSDictionary<NSString *,id> *> * _Nullable * _Nullable)details |
| Declaration | |
|---|---|
| From | - (NSRange)checkSpellingOfString:(NSString *)stringToCheck startingAt:(NSInteger)startingOffset |
| To | - (NSRange)checkSpellingOfString:(NSString * _Nonnull)stringToCheck startingAt:(NSInteger)startingOffset |
Modified -[NSSpellChecker checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag:wordCount:]
| Declaration | |
|---|---|
| From | - (NSRange)checkSpellingOfString:(NSString *)stringToCheck startingAt:(NSInteger)startingOffset language:(NSString *)language wrap:(BOOL)wrapFlag inSpellDocumentWithTag:(NSInteger)tag wordCount:(NSInteger *)wordCount |
| To | - (NSRange)checkSpellingOfString:(NSString * _Nonnull)stringToCheck startingAt:(NSInteger)startingOffset language:(NSString * _Nullable)language wrap:(BOOL)wrapFlag inSpellDocumentWithTag:(NSInteger)tag wordCount:(NSInteger * _Nullable)wordCount |
Modified -[NSSpellChecker checkString:range:types:options:inSpellDocumentWithTag:orthography:wordCount:]
| Declaration | |
|---|---|
| From | - (NSArray *)checkString:(NSString *)stringToCheck range:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary *)options inSpellDocumentWithTag:(NSInteger)tag orthography:(NSOrthography **)orthography wordCount:(NSInteger *)wordCount |
| To | - (NSArray<NSTextCheckingResult *> * _Nonnull)checkString:(NSString * _Nonnull)stringToCheck range:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary<NSString *,id> * _Nullable)options inSpellDocumentWithTag:(NSInteger)tag orthography:(NSOrthography * _Nullable * _Nullable)orthography wordCount:(NSInteger * _Nullable)wordCount |
| Declaration | |
|---|---|
| From | - (NSArray *)completionsForPartialWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language inSpellDocumentWithTag:(NSInteger)tag |
| To | - (NSArray<NSString *> * _Nullable)completionsForPartialWordRange:(NSRange)range inString:(NSString * _Nonnull)string language:(NSString * _Nullable)language inSpellDocumentWithTag:(NSInteger)tag |
| Declaration | |
|---|---|
| From | - (NSString *)correctionForWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language inSpellDocumentWithTag:(NSInteger)tag |
| To | - (NSString * _Nullable)correctionForWordRange:(NSRange)range inString:(NSString * _Nonnull)string language:(NSString * _Nonnull)language inSpellDocumentWithTag:(NSInteger)tag |
| Declaration | |
|---|---|
| From | - (NSInteger)countWordsInString:(NSString *)stringToCount language:(NSString *)language |
| To | - (NSInteger)countWordsInString:(NSString * _Nonnull)stringToCount language:(NSString * _Nullable)language |
| Declaration | |
|---|---|
| From | - (void)dismissCorrectionIndicatorForView:(NSView *)view |
| To | - (void)dismissCorrectionIndicatorForView:(NSView * _Nonnull)view |
Modified -[NSSpellChecker forgetWord:]
| Declaration | |
|---|---|
| From | - (void)forgetWord:(NSString *)word |
| To | - (void)forgetWord:(NSString * _Null_unspecified)word |
Modified -[NSSpellChecker guessesForWord:]
| Declaration | |
|---|---|
| From | - (NSArray *)guessesForWord:(NSString *)word |
| To | - (NSArray * _Null_unspecified)guessesForWord:(NSString * _Null_unspecified)word |
| Declaration | |
|---|---|
| From | - (NSArray *)guessesForWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language inSpellDocumentWithTag:(NSInteger)tag |
| To | - (NSArray<NSString *> * _Nullable)guessesForWordRange:(NSRange)range inString:(NSString * _Nonnull)string language:(NSString * _Nullable)language inSpellDocumentWithTag:(NSInteger)tag |
Modified -[NSSpellChecker hasLearnedWord:]
| Declaration | |
|---|---|
| From | - (BOOL)hasLearnedWord:(NSString *)word |
| To | - (BOOL)hasLearnedWord:(NSString * _Nonnull)word |
| Declaration | |
|---|---|
| From | - (NSArray *)ignoredWordsInSpellDocumentWithTag:(NSInteger)tag |
| To | - (NSArray<NSString *> * _Nullable)ignoredWordsInSpellDocumentWithTag:(NSInteger)tag |
| Declaration | |
|---|---|
| From | - (void)ignoreWord:(NSString *)wordToIgnore inSpellDocumentWithTag:(NSInteger)tag |
| To | - (void)ignoreWord:(NSString * _Nonnull)wordToIgnore inSpellDocumentWithTag:(NSInteger)tag |
Modified -[NSSpellChecker language]
| Declaration | |
|---|---|
| From | - (NSString *)language |
| To | - (NSString * _Nonnull)language |
| Declaration | |
|---|---|
| From | - (NSString *)languageForWordRange:(NSRange)range inString:(NSString *)string orthography:(NSOrthography *)orthography |
| To | - (NSString * _Nullable)languageForWordRange:(NSRange)range inString:(NSString * _Nonnull)string orthography:(NSOrthography * _Nullable)orthography |
Modified -[NSSpellChecker learnWord:]
| Declaration | |
|---|---|
| From | - (void)learnWord:(NSString *)word |
| To | - (void)learnWord:(NSString * _Nonnull)word |
| Declaration | |
|---|---|
| From | - (NSMenu *)menuForResult:(NSTextCheckingResult *)result string:(NSString *)checkedString options:(NSDictionary *)options atLocation:(NSPoint)location inView:(NSView *)view |
| To | - (NSMenu * _Nullable)menuForResult:(NSTextCheckingResult * _Nonnull)result string:(NSString * _Nonnull)checkedString options:(NSDictionary<NSString *,id> * _Nullable)options atLocation:(NSPoint)location inView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (void)recordResponse:(NSCorrectionResponse)response toCorrection:(NSString *)correction forWord:(NSString *)word language:(NSString *)language inSpellDocumentWithTag:(NSInteger)tag |
| To | - (void)recordResponse:(NSCorrectionResponse)response toCorrection:(NSString * _Nonnull)correction forWord:(NSString * _Nonnull)word language:(NSString * _Nullable)language inSpellDocumentWithTag:(NSInteger)tag |
| Declaration | |
|---|---|
| From | - (NSInteger)requestCheckingOfString:(NSString *)stringToCheck range:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary *)options inSpellDocumentWithTag:(NSInteger)tag completionHandler:(void (^)(NSInteger sequenceNumber, NSArray *results, NSOrthography *orthography, NSInteger wordCount))completionHandler |
| To | - (NSInteger)requestCheckingOfString:(NSString * _Nonnull)stringToCheck range:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary<NSString *,id> * _Nullable)options inSpellDocumentWithTag:(NSInteger)tag completionHandler:(void (^ _Nullable)(NSInteger sequenceNumber, NSArray<NSTextCheckingResult *> * _Nonnull results, NSOrthography * _Nonnull orthography, NSInteger wordCount))completionHandler |
| Declaration | |
|---|---|
| From | - (void)setIgnoredWords:(NSArray *)words inSpellDocumentWithTag:(NSInteger)tag |
| To | - (void)setIgnoredWords:(NSArray<NSString *> * _Nonnull)words inSpellDocumentWithTag:(NSInteger)tag |
Modified -[NSSpellChecker setLanguage:]
| Declaration | |
|---|---|
| From | - (BOOL)setLanguage:(NSString *)language |
| To | - (BOOL)setLanguage:(NSString * _Nonnull)language |
| Declaration | |
|---|---|
| From | - (void)setWordFieldStringValue:(NSString *)aString |
| To | - (void)setWordFieldStringValue:(NSString * _Nonnull)aString |
Modified +[NSSpellChecker sharedSpellChecker]
| Declaration | |
|---|---|
| From | + (NSSpellChecker *)sharedSpellChecker |
| To | + (NSSpellChecker * _Nonnull)sharedSpellChecker |
| Declaration | |
|---|---|
| From | - (void)showCorrectionIndicatorOfType:(NSCorrectionIndicatorType)type primaryString:(NSString *)primaryString alternativeStrings:(NSArray *)alternativeStrings forStringInRect:(NSRect)rectOfTypedString view:(NSView *)view completionHandler:(void (^)(NSString *acceptedString))completionBlock |
| To | - (void)showCorrectionIndicatorOfType:(NSCorrectionIndicatorType)type primaryString:(NSString * _Nonnull)primaryString alternativeStrings:(NSArray<NSString *> * _Nonnull)alternativeStrings forStringInRect:(NSRect)rectOfTypedString view:(NSView * _Nonnull)view completionHandler:(void (^ _Nullable)(NSString * _Null_unspecified acceptedString))completionBlock |
Modified NSSpellChecker.spellingPanel
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSPanel *spellingPanel |
| To | @property(readonly, strong, nonnull) NSPanel *spellingPanel |
Modified NSSpellChecker.substitutionsPanel
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSPanel *substitutionsPanel |
| To | @property(readonly, strong, nonnull) NSPanel *substitutionsPanel |
| Declaration | |
|---|---|
| From | @property(strong) NSViewController *substitutionsPanelAccessoryViewController |
| To | @property(strong, nullable) NSViewController *substitutionsPanelAccessoryViewController |
Modified -[NSSpellChecker unlearnWord:]
| Declaration | |
|---|---|
| From | - (void)unlearnWord:(NSString *)word |
| To | - (void)unlearnWord:(NSString * _Nonnull)word |
| Declaration | |
|---|---|
| From | - (void)updateSpellingPanelWithGrammarString:(NSString *)string detail:(NSDictionary *)detail |
| To | - (void)updateSpellingPanelWithGrammarString:(NSString * _Nonnull)string detail:(NSDictionary<NSString *,id> * _Nonnull)detail |
| Declaration | |
|---|---|
| From | - (void)updateSpellingPanelWithMisspelledWord:(NSString *)word |
| To | - (void)updateSpellingPanelWithMisspelledWord:(NSString * _Nonnull)word |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *userPreferredLanguages |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *userPreferredLanguages |
| Declaration | |
|---|---|
| From | - (NSArray *)userQuotesArrayForLanguage:(NSString *)language |
| To | - (NSArray<NSString *> * _Nonnull)userQuotesArrayForLanguage:(NSString * _Nonnull)language |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *userReplacementsDictionary |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,NSString *> *userReplacementsDictionary |
NSSpellProtocol.h
Modified -[NSChangeSpelling changeSpelling:]
| Declaration | |
|---|---|
| From | - (void)changeSpelling:(id)sender |
| To | - (void)changeSpelling:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)ignoreSpelling:(id)sender |
| To | - (void)ignoreSpelling:(id _Nullable)sender |
NSSplitView.h
Added NSSplitView(NSSplitViewArrangedSubviews)
Modified NSSplitView.autosaveName
| Declaration | |
|---|---|
| From | @property(copy) NSString *autosaveName |
| To | @property(copy, nullable) NSString *autosaveName |
Modified NSSplitView.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSSplitViewDelegate> delegate |
| To | @property(assign, nullable) id<NSSplitViewDelegate> delegate |
Modified NSSplitView.dividerColor
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSColor *dividerColor |
| To | @property(readonly, copy, nonnull) NSColor *dividerColor |
Modified -[NSSplitView isSubviewCollapsed:]
| Declaration | |
|---|---|
| From | - (BOOL)isSubviewCollapsed:(NSView *)subview |
| To | - (BOOL)isSubviewCollapsed:(NSView * _Nonnull)subview |
| Declaration | |
|---|---|
| From | - (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(NSInteger)dividerIndex |
| To | - (NSRect)splitView:(NSSplitView * _Nonnull)splitView additionalEffectiveRectOfDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (BOOL)splitView:(NSSplitView *)splitView canCollapseSubview:(NSView *)subview |
| To | - (BOOL)splitView:(NSSplitView * _Nonnull)splitView canCollapseSubview:(NSView * _Nonnull)subview |
| Declaration | |
|---|---|
| From | - (CGFloat)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(CGFloat)proposedMaximumPosition ofSubviewAt:(NSInteger)dividerIndex |
| To | - (CGFloat)splitView:(NSSplitView * _Nonnull)splitView constrainMaxCoordinate:(CGFloat)proposedMaximumPosition ofSubviewAt:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (CGFloat)splitView:(NSSplitView *)splitView constrainMinCoordinate:(CGFloat)proposedMinimumPosition ofSubviewAt:(NSInteger)dividerIndex |
| To | - (CGFloat)splitView:(NSSplitView * _Nonnull)splitView constrainMinCoordinate:(CGFloat)proposedMinimumPosition ofSubviewAt:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (CGFloat)splitView:(NSSplitView *)splitView constrainSplitPosition:(CGFloat)proposedPosition ofSubviewAt:(NSInteger)dividerIndex |
| To | - (CGFloat)splitView:(NSSplitView * _Nonnull)splitView constrainSplitPosition:(CGFloat)proposedPosition ofSubviewAt:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (NSRect)splitView:(NSSplitView *)splitView effectiveRect:(NSRect)proposedEffectiveRect forDrawnRect:(NSRect)drawnRect ofDividerAtIndex:(NSInteger)dividerIndex |
| To | - (NSRect)splitView:(NSSplitView * _Nonnull)splitView effectiveRect:(NSRect)proposedEffectiveRect forDrawnRect:(NSRect)drawnRect ofDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (void)splitView:(NSSplitView *)splitView resizeSubviewsWithOldSize:(NSSize)oldSize |
| To | - (void)splitView:(NSSplitView * _Nonnull)splitView resizeSubviewsWithOldSize:(NSSize)oldSize |
| Declaration | |
|---|---|
| From | - (BOOL)splitView:(NSSplitView *)splitView shouldAdjustSizeOfSubview:(NSView *)view |
| To | - (BOOL)splitView:(NSSplitView * _Nonnull)splitView shouldAdjustSizeOfSubview:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (BOOL)splitView:(NSSplitView *)splitView shouldCollapseSubview:(NSView *)subview forDoubleClickOnDividerAtIndex:(NSInteger)dividerIndex |
| To | - (BOOL)splitView:(NSSplitView * _Nonnull)splitView shouldCollapseSubview:(NSView * _Nonnull)subview forDoubleClickOnDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (BOOL)splitView:(NSSplitView *)splitView shouldHideDividerAtIndex:(NSInteger)dividerIndex |
| To | - (BOOL)splitView:(NSSplitView * _Nonnull)splitView shouldHideDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (void)splitViewDidResizeSubviews:(NSNotification *)notification |
| To | - (void)splitViewDidResizeSubviews:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)splitViewWillResizeSubviews:(NSNotification *)notification |
| To | - (void)splitViewWillResizeSubviews:(NSNotification * _Nonnull)notification |
NSSplitViewController.h
Added NSSplitViewItem.behavior
Added NSSplitViewController(NSSplitViewControllerToggleSidebarAction)
Added NSSplitViewItemBehavior
| Declaration | |
|---|---|
| From | - (void)addSplitViewItem:(NSSplitViewItem *)splitViewItem |
| To | - (void)addSplitViewItem:(NSSplitViewItem * _Nonnull)splitViewItem |
| Declaration | |
|---|---|
| From | - (void)insertSplitViewItem:(NSSplitViewItem *)splitViewItem atIndex:(NSInteger)index |
| To | - (void)insertSplitViewItem:(NSSplitViewItem * _Nonnull)splitViewItem atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (void)removeSplitViewItem:(NSSplitViewItem *)splitViewItem |
| To | - (void)removeSplitViewItem:(NSSplitViewItem * _Nonnull)splitViewItem |
Modified NSSplitViewController.splitView
| Declaration | |
|---|---|
| From | @property(strong) NSSplitView *splitView |
| To | @property(strong, nonnull) NSSplitView *splitView |
| Declaration | |
|---|---|
| From | - (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(NSInteger)dividerIndex |
| To | - (NSRect)splitView:(NSSplitView * _Nonnull)splitView additionalEffectiveRectOfDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (BOOL)splitView:(NSSplitView *)splitView canCollapseSubview:(NSView *)subview |
| To | - (BOOL)splitView:(NSSplitView * _Nonnull)splitView canCollapseSubview:(NSView * _Nonnull)subview |
| Declaration | |
|---|---|
| From | - (NSRect)splitView:(NSSplitView *)splitView effectiveRect:(NSRect)proposedEffectiveRect forDrawnRect:(NSRect)drawnRect ofDividerAtIndex:(NSInteger)dividerIndex |
| To | - (NSRect)splitView:(NSSplitView * _Nonnull)splitView effectiveRect:(NSRect)proposedEffectiveRect forDrawnRect:(NSRect)drawnRect ofDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (BOOL)splitView:(NSSplitView *)splitView shouldCollapseSubview:(NSView *)subview forDoubleClickOnDividerAtIndex:(NSInteger)dividerIndex |
| To | - (BOOL)splitView:(NSSplitView * _Nonnull)splitView shouldCollapseSubview:(NSView * _Nonnull)subview forDoubleClickOnDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (BOOL)splitView:(NSSplitView *)splitView shouldHideDividerAtIndex:(NSInteger)dividerIndex |
| To | - (BOOL)splitView:(NSSplitView * _Nonnull)splitView shouldHideDividerAtIndex:(NSInteger)dividerIndex |
| Declaration | |
|---|---|
| From | - (NSSplitViewItem *)splitViewItemForViewController:(NSViewController *)viewController |
| To | - (NSSplitViewItem * _Nullable)splitViewItemForViewController:(NSViewController * _Nonnull)viewController |
Modified NSSplitViewController.splitViewItems
| Declaration | |
|---|---|
| From | @property(copy) NSArray *splitViewItems |
| To | @property(copy, nonnull) NSArray<__kindof NSSplitViewItem *> *splitViewItems |
| Declaration | |
|---|---|
| From | + (instancetype)splitViewItemWithViewController:(NSViewController *)viewController |
| To | + (instancetype _Nonnull)splitViewItemWithViewController:(NSViewController * _Nonnull)viewController |
Modified NSSplitViewItem.viewController
| Declaration | |
|---|---|
| From | @property(strong) NSViewController *viewController |
| To | @property(strong, nonnull) NSViewController *viewController |
NSStackView.h
Added NSStackView.distribution
Added NSStackView(NSStackViewArrangedSubviews)
Added NSStackView(NSStackViewDeprecated)
Added NSStackViewDistribution
Modified -[NSStackView addView:inGravity:]
| Declaration | |
|---|---|
| From | - (void)addView:(NSView *)aView inGravity:(NSStackViewGravity)gravity |
| To | - (void)addView:(NSView * _Nonnull)aView inGravity:(NSStackViewGravity)gravity |
| Declaration | |
|---|---|
| From | - (CGFloat)customSpacingAfterView:(NSView *)aView |
| To | - (CGFloat)customSpacingAfterView:(NSView * _Nonnull)aView |
Modified NSStackView.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSStackViewDelegate> delegate |
| To | @property(assign, nullable) id<NSStackViewDelegate> delegate |
Modified NSStackView.detachedViews
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *detachedViews |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSView *> *detachedViews |
Modified NSStackView.hasEqualSpacing
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)insertView:(NSView *)aView atIndex:(NSUInteger)index inGravity:(NSStackViewGravity)gravity |
| To | - (void)insertView:(NSView * _Nonnull)aView atIndex:(NSUInteger)index inGravity:(NSStackViewGravity)gravity |
Modified -[NSStackView removeView:]
| Declaration | |
|---|---|
| From | - (void)removeView:(NSView *)aView |
| To | - (void)removeView:(NSView * _Nonnull)aView |
| Declaration | |
|---|---|
| From | - (void)setCustomSpacing:(CGFloat)spacing afterView:(NSView *)aView |
| To | - (void)setCustomSpacing:(CGFloat)spacing afterView:(NSView * _Nonnull)aView |
Modified -[NSStackView setViews:inGravity:]
| Declaration | |
|---|---|
| From | - (void)setViews:(NSArray *)views inGravity:(NSStackViewGravity)gravity |
| To | - (void)setViews:(NSArray<NSView *> * _Nonnull)views inGravity:(NSStackViewGravity)gravity |
| Declaration | |
|---|---|
| From | - (void)setVisibilityPriority:(NSStackViewVisibilityPriority)priority forView:(NSView *)aView |
| To | - (void)setVisibilityPriority:(NSStackViewVisibilityPriority)priority forView:(NSView * _Nonnull)aView |
Modified +[NSStackView stackViewWithViews:]
| Declaration | |
|---|---|
| From | + (instancetype)stackViewWithViews:(NSArray *)views |
| To | + (instancetype _Nonnull)stackViewWithViews:(NSArray<NSView *> * _Nonnull)views |
Modified NSStackView.views
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *views |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSView *> *views |
Modified -[NSStackView viewsInGravity:]
| Declaration | |
|---|---|
| From | - (NSArray *)viewsInGravity:(NSStackViewGravity)gravity |
| To | - (NSArray<__kindof NSView *> * _Nonnull)viewsInGravity:(NSStackViewGravity)gravity |
| Declaration | |
|---|---|
| From | - (NSStackViewVisibilityPriority)visibilityPriorityForView:(NSView *)aView |
| To | - (NSStackViewVisibilityPriority)visibilityPriorityForView:(NSView * _Nonnull)aView |
| Declaration | |
|---|---|
| From | - (void)stackView:(NSStackView *)stackView didReattachViews:(NSArray *)views |
| To | - (void)stackView:(NSStackView * _Nonnull)stackView didReattachViews:(NSArray<NSView *> * _Nonnull)views |
| Declaration | |
|---|---|
| From | - (void)stackView:(NSStackView *)stackView willDetachViews:(NSArray *)views |
| To | - (void)stackView:(NSStackView * _Nonnull)stackView willDetachViews:(NSArray<NSView *> * _Nonnull)views |
Modified NSUserInterfaceLayoutOrientation
| Header | |
|---|---|
| From | AppKit/NSStackView.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSStackView.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSStackView.h |
| To | AppKit/NSUserInterfaceLayout.h |
NSStatusBar.h
Modified -[NSStatusBar removeStatusItem:]
| Declaration | |
|---|---|
| From | - (void)removeStatusItem:(NSStatusItem *)item |
| To | - (void)removeStatusItem:(NSStatusItem * _Nonnull)item |
Modified -[NSStatusBar statusItemWithLength:]
| Declaration | |
|---|---|
| From | - (NSStatusItem *)statusItemWithLength:(CGFloat)length |
| To | - (NSStatusItem * _Nonnull)statusItemWithLength:(CGFloat)length |
Modified +[NSStatusBar systemStatusBar]
| Declaration | |
|---|---|
| From | + (NSStatusBar *)systemStatusBar |
| To | + (NSStatusBar * _Nonnull)systemStatusBar |
NSStatusItem.h
Modified NSStatusItem.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nullable) SEL action |
Modified NSStatusItem.alternateImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *alternateImage |
| To | @property(strong, nullable) NSImage *alternateImage |
Modified NSStatusItem.attributedTitle
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedTitle |
| To | @property(copy, nullable) NSAttributedString *attributedTitle |
Modified NSStatusItem.button
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSStatusBarButton *button |
| To | @property(readonly, strong, nullable) NSStatusBarButton *button |
Modified NSStatusItem.doubleAction
| Declaration | |
|---|---|
| From | @property SEL doubleAction |
| To | @property(nullable) SEL doubleAction |
Modified NSStatusItem.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
Modified NSStatusItem.menu
| Declaration | |
|---|---|
| From | @property(strong) NSMenu *menu |
| To | @property(strong, nullable) NSMenu *menu |
Modified -[NSStatusItem popUpStatusItemMenu:]
| Declaration | |
|---|---|
| From | - (void)popUpStatusItemMenu:(NSMenu *)menu |
| To | - (void)popUpStatusItemMenu:(NSMenu * _Nonnull)menu |
Modified NSStatusItem.statusBar
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSStatusBar *statusBar |
| To | @property(readonly, assign, nonnull) NSStatusBar *statusBar |
Modified NSStatusItem.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
Modified NSStatusItem.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nullable) NSString *title |
Modified NSStatusItem.toolTip
| Declaration | |
|---|---|
| From | @property(copy) NSString *toolTip |
| To | @property(copy, nullable) NSString *toolTip |
Modified NSStatusItem.view
| Declaration | |
|---|---|
| From | @property(strong) NSView *view |
| To | @property(strong, nullable) NSView *view |
NSStoryboard.h
| Declaration | |
|---|---|
| From | - (id)instantiateControllerWithIdentifier:(NSString *)identifier |
| To | - (id _Nonnull)instantiateControllerWithIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | - (id)instantiateInitialController |
| To | - (id _Nullable)instantiateInitialController |
| Declaration | |
|---|---|
| From | + (instancetype)storyboardWithName:(NSString *)name bundle:(NSBundle *)storyboardBundleOrNil |
| To | + (instancetype _Nonnull)storyboardWithName:(NSString * _Nonnull)name bundle:(NSBundle * _Nullable)storyboardBundleOrNil |
NSStoryboardSegue.h
| Declaration | |
|---|---|
| From | - (void)performSegueWithIdentifier:(NSString *)identifier sender:(id)sender |
| To | - (void)performSegueWithIdentifier:(NSString * _Nonnull)identifier sender:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)prepareForSegue:(NSStoryboardSegue *)segue sender:(id)sender |
| To | - (void)prepareForSegue:(NSStoryboardSegue * _Nonnull)segue sender:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)shouldPerformSegueWithIdentifier:(NSString *)identifier sender:(id)sender |
| To | - (BOOL)shouldPerformSegueWithIdentifier:(NSString * _Nonnull)identifier sender:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | @property(readonly, strong) id destinationController |
| To | @property(readonly, strong, nonnull) id destinationController |
Modified NSStoryboardSegue.identifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *identifier |
| To | @property(readonly, copy, nullable) NSString *identifier |
| Declaration | |
|---|---|
| From | - (instancetype)initWithIdentifier:(NSString *)identifier source:(id)sourceController destination:(id)destinationController |
| To | - (instancetype _Nonnull)initWithIdentifier:(NSString * _Nonnull)identifier source:(id _Nonnull)sourceController destination:(id _Nonnull)destinationController |
| Declaration | |
|---|---|
| From | + (instancetype)segueWithIdentifier:(NSString *)identifier source:(id)sourceController destination:(id)destinationController performHandler:(void (^)(void))performHandler |
| To | + (instancetype _Nonnull)segueWithIdentifier:(NSString * _Nonnull)identifier source:(id _Nonnull)sourceController destination:(id _Nonnull)destinationController performHandler:(void (^ _Nonnull)(void))performHandler |
Modified NSStoryboardSegue.sourceController
| Declaration | |
|---|---|
| From | @property(readonly, strong) id sourceController |
| To | @property(readonly, strong, nonnull) id sourceController |
NSStringDrawing.h
Added NSStringDrawingContext
Added NSAttributedString(NSStringDrawingDeprecated)
Added NSString(NSStringDrawingDeprecated)
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified -[NSAttributedString size]
| Declaration | |
|---|---|
| From | @property(readonly) NSSize size |
| To | - (NSSize)size |
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSRect)boundingRectWithSize:(NSSize)size options:(NSStringDrawingOptions)options attributes:(NSDictionary *)attributes | -- |
| To | - (NSRect)boundingRectWithSize:(NSSize)size options:(NSStringDrawingOptions)options attributes:(NSDictionary<NSString *,id> * _Nullable)attributes | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)drawAtPoint:(NSPoint)point withAttributes:(NSDictionary *)attrs |
| To | - (void)drawAtPoint:(NSPoint)point withAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Declaration | |
|---|---|
| From | - (void)drawInRect:(NSRect)rect withAttributes:(NSDictionary *)attrs |
| To | - (void)drawInRect:(NSRect)rect withAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)drawWithRect:(NSRect)rect options:(NSStringDrawingOptions)options attributes:(NSDictionary *)attributes | -- |
| To | - (void)drawWithRect:(NSRect)rect options:(NSStringDrawingOptions)options attributes:(NSDictionary<NSString *,id> * _Nullable)attributes | OS X 10.11 |
Modified -[NSString sizeWithAttributes:]
| Declaration | |
|---|---|
| From | - (NSSize)sizeWithAttributes:(NSDictionary *)attrs |
| To | - (NSSize)sizeWithAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.4 | -- |
| To | OS X 10.0 | OS X 10.11 |
Modified NSStringDrawingOneShot
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.4 | -- |
| To | OS X 10.0 | OS X 10.11 |
Modified NSStringDrawingUsesDeviceMetrics
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
Modified NSStringDrawingUsesFontLeading
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
| Introduction | |
|---|---|
| From | OS X 10.4 |
| To | OS X 10.0 |
NSTableCellView.h
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSArray *draggingImageComponents |
| To | @property(readonly, strong, nonnull) NSArray<NSDraggingImageComponent *> *draggingImageComponents |
Modified NSTableCellView.imageView
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet NSImageView *imageView |
| To | @property(assign, nullable) IBOutlet NSImageView *imageView |
Modified NSTableCellView.objectValue
| Declaration | |
|---|---|
| From | @property(strong) id objectValue |
| To | @property(strong, nullable) id objectValue |
Modified NSTableCellView.textField
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet NSTextField *textField |
| To | @property(assign, nullable) IBOutlet NSTextField *textField |
NSTableColumn.h
Modified NSTableColumn.dataCell
| Declaration | |
|---|---|
| From | @property(strong) id dataCell |
| To | @property(strong, nonnull) id dataCell |
Modified -[NSTableColumn dataCellForRow:]
| Declaration | |
|---|---|
| From | - (id)dataCellForRow:(NSInteger)row |
| To | - (id _Nonnull)dataCellForRow:(NSInteger)row |
Modified NSTableColumn.headerCell
| Declaration | |
|---|---|
| From | @property(strong) id headerCell |
| To | @property(strong, nonnull) __kindof NSTableHeaderCell *headerCell |
Modified NSTableColumn.headerToolTip
| Declaration | |
|---|---|
| From | @property(copy) NSString *headerToolTip |
| To | @property(copy, nullable) NSString *headerToolTip |
Modified NSTableColumn.identifier
| Declaration | |
|---|---|
| From | @property(copy) NSString *identifier |
| To | @property(copy, nonnull) NSString *identifier |
Modified -[NSTableColumn initWithIdentifier:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithIdentifier:(NSString *)identifier |
| To | - (instancetype _Nonnull)initWithIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | @property(copy) NSSortDescriptor *sortDescriptorPrototype |
| To | @property(copy, nullable) NSSortDescriptor *sortDescriptorPrototype |
Modified NSTableColumn.tableView
| Declaration | |
|---|---|
| From | @property(assign) NSTableView *tableView |
| To | @property(assign, nullable) NSTableView *tableView |
Modified NSTableColumn.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
NSTableHeaderCell.h
| Declaration | |
|---|---|
| From | - (void)drawSortIndicatorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView ascending:(BOOL)ascending priority:(NSInteger)priority |
| To | - (void)drawSortIndicatorWithFrame:(NSRect)cellFrame inView:(NSView * _Nonnull)controlView ascending:(BOOL)ascending priority:(NSInteger)priority |
NSTableHeaderView.h
Modified NSTableHeaderView.tableView
| Declaration | |
|---|---|
| From | @property(assign) NSTableView *tableView |
| To | @property(assign, nullable) NSTableView *tableView |
NSTableRowView.h
Modified NSTableRowView.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
Modified -[NSTableRowView viewAtColumn:]
| Declaration | |
|---|---|
| From | - (id)viewAtColumn:(NSInteger)column |
| To | - (id _Nullable)viewAtColumn:(NSInteger)column |
NSTableView.h
Added NSTableRowActionEdge
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView writeRows:(NSArray *)rows toPasteboard:(NSPasteboard *)pboard |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView writeRows:(NSArray * _Nonnull)rows toPasteboard:(NSPasteboard * _Nonnull)pboard |
Modified -[NSTableView addTableColumn:]
| Declaration | |
|---|---|
| From | - (void)addTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)addTableColumn:(NSTableColumn * _Nonnull)tableColumn |
Modified NSTableView.autosaveName
| Declaration | |
|---|---|
| From | @property(copy) NSString *autosaveName |
| To | @property(copy, nullable) NSString *autosaveName |
Modified NSTableView.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
| Declaration | |
|---|---|
| From | - (BOOL)canDragRowsWithIndexes:(NSIndexSet *)rowIndexes atPoint:(NSPoint)mouseDownPoint |
| To | - (BOOL)canDragRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes atPoint:(NSPoint)mouseDownPoint |
Modified -[NSTableView columnForView:]
| Declaration | |
|---|---|
| From | - (NSInteger)columnForView:(NSView *)view |
| To | - (NSInteger)columnForView:(NSView * _Nonnull)view |
Modified -[NSTableView columnIndexesInRect:]
| Declaration | |
|---|---|
| From | - (NSIndexSet *)columnIndexesInRect:(NSRect)rect |
| To | - (NSIndexSet * _Nonnull)columnIndexesInRect:(NSRect)rect |
Modified -[NSTableView columnWithIdentifier:]
| Declaration | |
|---|---|
| From | - (NSInteger)columnWithIdentifier:(NSString *)identifier |
| To | - (NSInteger)columnWithIdentifier:(NSString * _Nonnull)identifier |
Modified NSTableView.cornerView
| Declaration | |
|---|---|
| From | @property(strong) NSView *cornerView |
| To | @property(strong, nullable) NSView *cornerView |
Modified -[NSTableView dataSource]
| Declaration | |
|---|---|
| From | - (id<NSTableViewDataSource>)dataSource |
| To | - (id<NSTableViewDataSource> _Nullable)dataSource |
Modified -[NSTableView delegate]
| Declaration | |
|---|---|
| From | - (id<NSTableViewDelegate>)delegate |
| To | - (id<NSTableViewDelegate> _Nullable)delegate |
Modified -[NSTableView deselectAll:]
| Declaration | |
|---|---|
| From | - (void)deselectAll:(id)sender |
| To | - (void)deselectAll:(id _Nullable)sender |
Modified -[NSTableView didAddRowView:forRow:]
| Declaration | |
|---|---|
| From | - (void)didAddRowView:(NSTableRowView *)rowView forRow:(NSInteger)row |
| To | - (void)didAddRowView:(NSTableRowView * _Nonnull)rowView forRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)didRemoveRowView:(NSTableRowView *)rowView forRow:(NSInteger)row |
| To | - (void)didRemoveRowView:(NSTableRowView * _Nonnull)rowView forRow:(NSInteger)row |
Modified NSTableView.doubleAction
| Declaration | |
|---|---|
| From | @property SEL doubleAction |
| To | @property(nullable) SEL doubleAction |
| Declaration | |
|---|---|
| From | - (NSImage *)dragImageForRows:(NSArray *)dragRows event:(NSEvent *)dragEvent dragImageOffset:(NSPointPointer)dragImageOffset |
| To | - (NSImage * _Nullable)dragImageForRows:(NSArray * _Nonnull)dragRows event:(NSEvent * _Nonnull)dragEvent dragImageOffset:(NSPointPointer _Nonnull)dragImageOffset |
| Declaration | |
|---|---|
| From | - (NSImage *)dragImageForRowsWithIndexes:(NSIndexSet *)dragRows tableColumns:(NSArray *)tableColumns event:(NSEvent *)dragEvent offset:(NSPointPointer)dragImageOffset |
| To | - (NSImage * _Nonnull)dragImageForRowsWithIndexes:(NSIndexSet * _Nonnull)dragRows tableColumns:(NSArray<NSTableColumn *> * _Nonnull)tableColumns event:(NSEvent * _Nonnull)dragEvent offset:(NSPointPointer _Nonnull)dragImageOffset |
| Declaration | |
|---|---|
| From | - (void)editColumn:(NSInteger)column row:(NSInteger)row withEvent:(NSEvent *)theEvent select:(BOOL)select |
| To | - (void)editColumn:(NSInteger)column row:(NSInteger)row withEvent:(NSEvent * _Nullable)theEvent select:(BOOL)select |
| Declaration | |
|---|---|
| From | - (void)enumerateAvailableRowViewsUsingBlock:(void (^)(NSTableRowView *rowView, NSInteger row))handler |
| To | - (void)enumerateAvailableRowViewsUsingBlock:(void (^ _Nonnull)(__kindof NSTableRowView * _Nonnull rowView, NSInteger row))handler |
Modified NSTableView.gridColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *gridColor |
| To | @property(copy, nonnull) NSColor *gridColor |
Modified NSTableView.headerView
| Declaration | |
|---|---|
| From | @property(strong) NSTableHeaderView *headerView |
| To | @property(strong, nullable) NSTableHeaderView *headerView |
Modified NSTableView.highlightedTableColumn
| Declaration | |
|---|---|
| From | @property(assign) NSTableColumn *highlightedTableColumn |
| To | @property(assign, nullable) NSTableColumn *highlightedTableColumn |
| Declaration | |
|---|---|
| From | - (NSImage *)indicatorImageInTableColumn:(NSTableColumn *)tableColumn |
| To | - (NSImage * _Nullable)indicatorImageInTableColumn:(NSTableColumn * _Nonnull)tableColumn |
Modified -[NSTableView initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSTableView initWithFrame:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect |
| Declaration | |
|---|---|
| From | - (void)insertRowsAtIndexes:(NSIndexSet *)indexes withAnimation:(NSTableViewAnimationOptions)animationOptions |
| To | - (void)insertRowsAtIndexes:(NSIndexSet * _Nonnull)indexes withAnimation:(NSTableViewAnimationOptions)animationOptions |
| Declaration | |
|---|---|
| From | - (id)makeViewWithIdentifier:(NSString *)identifier owner:(id)owner |
| To | - (__kindof NSView * _Nullable)makeViewWithIdentifier:(NSString * _Nonnull)identifier owner:(id _Nullable)owner |
| Declaration | |
|---|---|
| From | - (void)noteHeightOfRowsWithIndexesChanged:(NSIndexSet *)indexSet |
| To | - (void)noteHeightOfRowsWithIndexesChanged:(NSIndexSet * _Nonnull)indexSet |
| Declaration | |
|---|---|
| From | - (NSCell *)preparedCellAtColumn:(NSInteger)column row:(NSInteger)row |
| To | - (NSCell * _Nullable)preparedCellAtColumn:(NSInteger)column row:(NSInteger)row |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *registeredNibsByIdentifier |
| To | @property(readonly, copy, nullable) NSDictionary<NSString *,NSNib *> *registeredNibsByIdentifier |
| Declaration | |
|---|---|
| From | - (void)registerNib:(NSNib *)nib forIdentifier:(NSString *)identifier |
| To | - (void)registerNib:(NSNib * _Nullable)nib forIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | - (void)reloadDataForRowIndexes:(NSIndexSet *)rowIndexes columnIndexes:(NSIndexSet *)columnIndexes |
| To | - (void)reloadDataForRowIndexes:(NSIndexSet * _Nonnull)rowIndexes columnIndexes:(NSIndexSet * _Nonnull)columnIndexes |
| Declaration | |
|---|---|
| From | - (void)removeRowsAtIndexes:(NSIndexSet *)indexes withAnimation:(NSTableViewAnimationOptions)animationOptions |
| To | - (void)removeRowsAtIndexes:(NSIndexSet * _Nonnull)indexes withAnimation:(NSTableViewAnimationOptions)animationOptions |
Modified -[NSTableView removeTableColumn:]
| Declaration | |
|---|---|
| From | - (void)removeTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)removeTableColumn:(NSTableColumn * _Nonnull)tableColumn |
Modified -[NSTableView rowForView:]
| Declaration | |
|---|---|
| From | - (NSInteger)rowForView:(NSView *)view |
| To | - (NSInteger)rowForView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (id)rowViewAtRow:(NSInteger)row makeIfNecessary:(BOOL)makeIfNecessary |
| To | - (__kindof NSTableRowView * _Nullable)rowViewAtRow:(NSInteger)row makeIfNecessary:(BOOL)makeIfNecessary |
Modified -[NSTableView selectAll:]
| Declaration | |
|---|---|
| From | - (void)selectAll:(id)sender |
| To | - (void)selectAll:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)selectColumnIndexes:(NSIndexSet *)indexes byExtendingSelection:(BOOL)extend |
| To | - (void)selectColumnIndexes:(NSIndexSet * _Nonnull)indexes byExtendingSelection:(BOOL)extend |
| Declaration | |
|---|---|
| From | - (NSEnumerator *)selectedColumnEnumerator |
| To | - (NSEnumerator * _Nonnull)selectedColumnEnumerator |
Modified NSTableView.selectedColumnIndexes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSIndexSet *selectedColumnIndexes |
| To | @property(readonly, copy, nonnull) NSIndexSet *selectedColumnIndexes |
Modified -[NSTableView selectedRowEnumerator]
| Declaration | |
|---|---|
| From | - (NSEnumerator *)selectedRowEnumerator |
| To | - (NSEnumerator * _Nonnull)selectedRowEnumerator |
Modified NSTableView.selectedRowIndexes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSIndexSet *selectedRowIndexes |
| To | @property(readonly, copy, nonnull) NSIndexSet *selectedRowIndexes |
| Declaration | |
|---|---|
| From | - (void)selectRowIndexes:(NSIndexSet *)indexes byExtendingSelection:(BOOL)extend |
| To | - (void)selectRowIndexes:(NSIndexSet * _Nonnull)indexes byExtendingSelection:(BOOL)extend |
Modified -[NSTableView setDataSource:]
| Declaration | |
|---|---|
| From | - (void)setDataSource:(id<NSTableViewDataSource>)aSource |
| To | - (void)setDataSource:(id<NSTableViewDataSource> _Nullable)aSource |
Modified -[NSTableView setDelegate:]
| Declaration | |
|---|---|
| From | - (void)setDelegate:(id<NSTableViewDelegate>)delegate |
| To | - (void)setDelegate:(id<NSTableViewDelegate> _Nullable)delegate |
| Declaration | |
|---|---|
| From | - (void)setIndicatorImage:(NSImage *)anImage inTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)setIndicatorImage:(NSImage * _Nullable)anImage inTableColumn:(NSTableColumn * _Nonnull)tableColumn |
| Declaration | |
|---|---|
| From | - (BOOL)shouldFocusCell:(NSCell *)cell atColumn:(NSInteger)column row:(NSInteger)row |
| To | - (BOOL)shouldFocusCell:(NSCell * _Nonnull)cell atColumn:(NSInteger)column row:(NSInteger)row |
Modified NSTableView.sortDescriptors
| Declaration | |
|---|---|
| From | @property(copy) NSArray *sortDescriptors |
| To | @property(copy, nonnull) NSArray<NSSortDescriptor *> *sortDescriptors |
Modified NSTableView.tableColumns
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *tableColumns |
| To | @property(readonly, copy, nonnull) NSArray<NSTableColumn *> *tableColumns |
| Declaration | |
|---|---|
| From | - (NSTableColumn *)tableColumnWithIdentifier:(NSString *)identifier |
| To | - (NSTableColumn * _Nullable)tableColumnWithIdentifier:(NSString * _Nonnull)identifier |
Modified -[NSTableView textDidBeginEditing:]
| Declaration | |
|---|---|
| From | - (void)textDidBeginEditing:(NSNotification *)notification |
| To | - (void)textDidBeginEditing:(NSNotification * _Nonnull)notification |
Modified -[NSTableView textDidChange:]
| Declaration | |
|---|---|
| From | - (void)textDidChange:(NSNotification *)notification |
| To | - (void)textDidChange:(NSNotification * _Nonnull)notification |
Modified -[NSTableView textDidEndEditing:]
| Declaration | |
|---|---|
| From | - (void)textDidEndEditing:(NSNotification *)notification |
| To | - (void)textDidEndEditing:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)textShouldBeginEditing:(NSText *)textObject |
| To | - (BOOL)textShouldBeginEditing:(NSText * _Nonnull)textObject |
Modified -[NSTableView textShouldEndEditing:]
| Declaration | |
|---|---|
| From | - (BOOL)textShouldEndEditing:(NSText *)textObject |
| To | - (BOOL)textShouldEndEditing:(NSText * _Nonnull)textObject |
| Declaration | |
|---|---|
| From | - (id)viewAtColumn:(NSInteger)column row:(NSInteger)row makeIfNecessary:(BOOL)makeIfNecessary |
| To | - (__kindof NSView * _Nullable)viewAtColumn:(NSInteger)column row:(NSInteger)row makeIfNecessary:(BOOL)makeIfNecessary |
| Declaration | |
|---|---|
| From | - (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView |
| To | - (NSInteger)numberOfRowsInTableView:(NSTableView * _Nonnull)tableView |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView acceptDrop:(id<NSDraggingInfo>)info row:(NSInteger)row dropOperation:(NSTableViewDropOperation)dropOperation |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView acceptDrop:(id<NSDraggingInfo> _Nonnull)info row:(NSInteger)row dropOperation:(NSTableViewDropOperation)dropOperation |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView draggingSession:(NSDraggingSession *)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView draggingSession:(NSDraggingSession * _Nonnull)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView draggingSession:(NSDraggingSession *)session willBeginAtPoint:(NSPoint)screenPoint forRowIndexes:(NSIndexSet *)rowIndexes |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView draggingSession:(NSDraggingSession * _Nonnull)session willBeginAtPoint:(NSPoint)screenPoint forRowIndexes:(NSIndexSet * _Nonnull)rowIndexes |
| Declaration | |
|---|---|
| From | - (NSArray *)tableView:(NSTableView *)tableView namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination forDraggedRowsWithIndexes:(NSIndexSet *)indexSet |
| To | - (NSArray<NSString *> * _Nonnull)tableView:(NSTableView * _Nonnull)tableView namesOfPromisedFilesDroppedAtDestination:(NSURL * _Nonnull)dropDestination forDraggedRowsWithIndexes:(NSIndexSet * _Nonnull)indexSet |
| Declaration | |
|---|---|
| From | - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (id _Nullable)tableView:(NSTableView * _Nonnull)tableView objectValueForTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (id<NSPasteboardWriting>)tableView:(NSTableView *)tableView pasteboardWriterForRow:(NSInteger)row |
| To | - (id<NSPasteboardWriting> _Nullable)tableView:(NSTableView * _Nonnull)tableView pasteboardWriterForRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView setObjectValue:(id _Nullable)object forTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView sortDescriptorsDidChange:(NSArray *)oldDescriptors |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView sortDescriptorsDidChange:(NSArray<NSSortDescriptor *> * _Nonnull)oldDescriptors |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView updateDraggingItemsForDrag:(id<NSDraggingInfo>)draggingInfo |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView updateDraggingItemsForDrag:(id<NSDraggingInfo> _Nonnull)draggingInfo |
| Declaration | |
|---|---|
| From | - (NSDragOperation)tableView:(NSTableView *)tableView validateDrop:(id<NSDraggingInfo>)info proposedRow:(NSInteger)row proposedDropOperation:(NSTableViewDropOperation)dropOperation |
| To | - (NSDragOperation)tableView:(NSTableView * _Nonnull)tableView validateDrop:(id<NSDraggingInfo> _Nonnull)info proposedRow:(NSInteger)row proposedDropOperation:(NSTableViewDropOperation)dropOperation |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard *)pboard |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView writeRowsWithIndexes:(NSIndexSet * _Nonnull)rowIndexes toPasteboard:(NSPasteboard * _Nonnull)pboard |
| Declaration | |
|---|---|
| From | - (BOOL)selectionShouldChangeInTableView:(NSTableView *)tableView |
| To | - (BOOL)selectionShouldChangeInTableView:(NSTableView * _Nonnull)tableView |
| Declaration | |
|---|---|
| From | - (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (NSCell * _Nullable)tableView:(NSTableView * _Nonnull)tableView dataCellForTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView didAddRowView:(NSTableRowView *)rowView forRow:(NSInteger)row |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView didAddRowView:(NSTableRowView * _Nonnull)rowView forRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView didClickTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView didClickTableColumn:(NSTableColumn * _Nonnull)tableColumn |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView didDragTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView didDragTableColumn:(NSTableColumn * _Nonnull)tableColumn |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView didRemoveRowView:(NSTableRowView *)rowView forRow:(NSInteger)row |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView didRemoveRowView:(NSTableRowView * _Nonnull)rowView forRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger)row |
| To | - (CGFloat)tableView:(NSTableView * _Nonnull)tableView heightOfRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView isGroupRow:(NSInteger)row |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView isGroupRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView mouseDownInHeaderOfTableColumn:(NSTableColumn *)tableColumn |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView mouseDownInHeaderOfTableColumn:(NSTableColumn * _Nonnull)tableColumn |
| Declaration | |
|---|---|
| From | - (NSInteger)tableView:(NSTableView *)tableView nextTypeSelectMatchFromRow:(NSInteger)startRow toRow:(NSInteger)endRow forString:(NSString *)searchString |
| To | - (NSInteger)tableView:(NSTableView * _Nonnull)tableView nextTypeSelectMatchFromRow:(NSInteger)startRow toRow:(NSInteger)endRow forString:(NSString * _Nonnull)searchString |
| Declaration | |
|---|---|
| From | - (NSTableRowView *)tableView:(NSTableView *)tableView rowViewForRow:(NSInteger)row |
| To | - (NSTableRowView * _Nullable)tableView:(NSTableView * _Nonnull)tableView rowViewForRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (NSIndexSet *)tableView:(NSTableView *)tableView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes |
| To | - (NSIndexSet * _Nonnull)tableView:(NSTableView * _Nonnull)tableView selectionIndexesForProposedSelection:(NSIndexSet * _Nonnull)proposedSelectionIndexes |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView shouldEditTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView shouldEditTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView shouldReorderColumn:(NSInteger)columnIndex toColumn:(NSInteger)newColumnIndex |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView shouldReorderColumn:(NSInteger)columnIndex toColumn:(NSInteger)newColumnIndex |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView shouldSelectRow:(NSInteger)row |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView shouldSelectRow:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView shouldSelectTableColumn:(NSTableColumn *)tableColumn |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView shouldSelectTableColumn:(NSTableColumn * _Nullable)tableColumn |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView shouldShowCellExpansionForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView shouldShowCellExpansionForTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView shouldTrackCell:(NSCell *)cell forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView shouldTrackCell:(NSCell * _Nonnull)cell forTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (BOOL)tableView:(NSTableView *)tableView shouldTypeSelectForEvent:(NSEvent *)event withCurrentSearchString:(NSString *)searchString |
| To | - (BOOL)tableView:(NSTableView * _Nonnull)tableView shouldTypeSelectForEvent:(NSEvent * _Nonnull)event withCurrentSearchString:(NSString * _Nullable)searchString |
| Declaration | |
|---|---|
| From | - (CGFloat)tableView:(NSTableView *)tableView sizeToFitWidthOfColumn:(NSInteger)column |
| To | - (CGFloat)tableView:(NSTableView * _Nonnull)tableView sizeToFitWidthOfColumn:(NSInteger)column |
| Declaration | |
|---|---|
| From | - (NSString *)tableView:(NSTableView *)tableView toolTipForCell:(NSCell *)cell rect:(NSRectPointer)rect tableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row mouseLocation:(NSPoint)mouseLocation |
| To | - (NSString * _Nonnull)tableView:(NSTableView * _Nonnull)tableView toolTipForCell:(NSCell * _Nonnull)cell rect:(NSRectPointer _Nonnull)rect tableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row mouseLocation:(NSPoint)mouseLocation |
| Declaration | |
|---|---|
| From | - (NSString *)tableView:(NSTableView *)tableView typeSelectStringForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (NSString * _Nullable)tableView:(NSTableView * _Nonnull)tableView typeSelectStringForTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (NSView * _Nullable)tableView:(NSTableView * _Nonnull)tableView viewForTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)tableView:(NSTableView *)tableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row |
| To | - (void)tableView:(NSTableView * _Nonnull)tableView willDisplayCell:(id _Nonnull)cell forTableColumn:(NSTableColumn * _Nullable)tableColumn row:(NSInteger)row |
| Declaration | |
|---|---|
| From | - (void)tableViewColumnDidMove:(NSNotification *)notification |
| To | - (void)tableViewColumnDidMove:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)tableViewColumnDidResize:(NSNotification *)notification |
| To | - (void)tableViewColumnDidResize:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)tableViewSelectionDidChange:(NSNotification *)notification |
| To | - (void)tableViewSelectionDidChange:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)tableViewSelectionIsChanging:(NSNotification *)notification |
| To | - (void)tableViewSelectionIsChanging:(NSNotification * _Nonnull)notification |
NSTableViewRowAction.h (Added)
Added NSTableViewRowAction
NSTabView.h
Modified -[NSTabView addTabViewItem:]
| Declaration | |
|---|---|
| From | - (void)addTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)addTabViewItem:(NSTabViewItem * _Nonnull)tabViewItem |
Modified NSTabView.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSTabViewDelegate> delegate |
| To | @property(assign, nullable) id<NSTabViewDelegate> delegate |
Modified NSTabView.font
| Declaration | |
|---|---|
| From | @property(strong) NSFont *font |
| To | @property(strong, nonnull) NSFont *font |
Modified -[NSTabView indexOfTabViewItem:]
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (NSInteger)indexOfTabViewItem:(NSTabViewItem * _Nonnull)tabViewItem |
| Declaration | |
|---|---|
| From | - (NSInteger)indexOfTabViewItemWithIdentifier:(id)identifier |
| To | - (NSInteger)indexOfTabViewItemWithIdentifier:(id _Nonnull)identifier |
| Declaration | |
|---|---|
| From | - (void)insertTabViewItem:(NSTabViewItem *)tabViewItem atIndex:(NSInteger)index |
| To | - (void)insertTabViewItem:(NSTabViewItem * _Nonnull)tabViewItem atIndex:(NSInteger)index |
Modified -[NSTabView removeTabViewItem:]
| Declaration | |
|---|---|
| From | - (void)removeTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)removeTabViewItem:(NSTabViewItem * _Nonnull)tabViewItem |
Modified NSTabView.selectedTabViewItem
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSTabViewItem *selectedTabViewItem |
| To | @property(readonly, strong, nullable) NSTabViewItem *selectedTabViewItem |
Modified -[NSTabView selectFirstTabViewItem:]
| Declaration | |
|---|---|
| From | - (void)selectFirstTabViewItem:(id)sender |
| To | - (void)selectFirstTabViewItem:(id _Nullable)sender |
Modified -[NSTabView selectLastTabViewItem:]
| Declaration | |
|---|---|
| From | - (void)selectLastTabViewItem:(id)sender |
| To | - (void)selectLastTabViewItem:(id _Nullable)sender |
Modified -[NSTabView selectNextTabViewItem:]
| Declaration | |
|---|---|
| From | - (void)selectNextTabViewItem:(id)sender |
| To | - (void)selectNextTabViewItem:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)selectPreviousTabViewItem:(id)sender |
| To | - (void)selectPreviousTabViewItem:(id _Nullable)sender |
Modified -[NSTabView selectTabViewItem:]
| Declaration | |
|---|---|
| From | - (void)selectTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)selectTabViewItem:(NSTabViewItem * _Nullable)tabViewItem |
| Declaration | |
|---|---|
| From | - (void)selectTabViewItemWithIdentifier:(id)identifier |
| To | - (void)selectTabViewItemWithIdentifier:(id _Nonnull)identifier |
Modified -[NSTabView tabViewItemAtIndex:]
| Declaration | |
|---|---|
| From | - (NSTabViewItem *)tabViewItemAtIndex:(NSInteger)index |
| To | - (NSTabViewItem * _Nonnull)tabViewItemAtIndex:(NSInteger)index |
Modified -[NSTabView tabViewItemAtPoint:]
| Declaration | |
|---|---|
| From | - (NSTabViewItem *)tabViewItemAtPoint:(NSPoint)point |
| To | - (NSTabViewItem * _Nullable)tabViewItemAtPoint:(NSPoint)point |
Modified NSTabView.tabViewItems
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *tabViewItems |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSTabViewItem *> *tabViewItems |
| Declaration | |
|---|---|
| From | - (void)takeSelectedTabViewItemFromSender:(id)sender |
| To | - (void)takeSelectedTabViewItemFromSender:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)tabView:(NSTabView * _Nonnull)tabView didSelectTabViewItem:(NSTabViewItem * _Nullable)tabViewItem |
| Declaration | |
|---|---|
| From | - (BOOL)tabView:(NSTabView *)tabView shouldSelectTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (BOOL)tabView:(NSTabView * _Nonnull)tabView shouldSelectTabViewItem:(NSTabViewItem * _Nullable)tabViewItem |
| Declaration | |
|---|---|
| From | - (void)tabView:(NSTabView *)tabView willSelectTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)tabView:(NSTabView * _Nonnull)tabView willSelectTabViewItem:(NSTabViewItem * _Nullable)tabViewItem |
| Declaration | |
|---|---|
| From | - (void)tabViewDidChangeNumberOfTabViewItems:(NSTabView *)tabView |
| To | - (void)tabViewDidChangeNumberOfTabViewItems:(NSTabView * _Nonnull)tabView |
NSTabViewController.h
| Declaration | |
|---|---|
| From | - (void)addTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)addTabViewItem:(NSTabViewItem * _Nonnull)tabViewItem |
| Declaration | |
|---|---|
| From | - (void)insertTabViewItem:(NSTabViewItem *)tabViewItem atIndex:(NSInteger)index |
| To | - (void)insertTabViewItem:(NSTabViewItem * _Nonnull)tabViewItem atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (void)removeTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)removeTabViewItem:(NSTabViewItem * _Nonnull)tabViewItem |
Modified NSTabViewController.tabView
| Declaration | |
|---|---|
| From | @property(strong) NSTabView *tabView |
| To | @property(strong, nonnull) NSTabView *tabView |
| Declaration | |
|---|---|
| From | - (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)tabView:(NSTabView * _Nonnull)tabView didSelectTabViewItem:(NSTabViewItem * _Nullable)tabViewItem |
| Declaration | |
|---|---|
| From | - (BOOL)tabView:(NSTabView *)tabView shouldSelectTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (BOOL)tabView:(NSTabView * _Nonnull)tabView shouldSelectTabViewItem:(NSTabViewItem * _Nullable)tabViewItem |
| Declaration | |
|---|---|
| From | - (void)tabView:(NSTabView *)tabView willSelectTabViewItem:(NSTabViewItem *)tabViewItem |
| To | - (void)tabView:(NSTabView * _Nonnull)tabView willSelectTabViewItem:(NSTabViewItem * _Nullable)tabViewItem |
| Declaration | |
|---|---|
| From | - (NSTabViewItem *)tabViewItemForViewController:(NSViewController *)viewController |
| To | - (NSTabViewItem * _Nullable)tabViewItemForViewController:(NSViewController * _Nonnull)viewController |
Modified NSTabViewController.tabViewItems
| Declaration | |
|---|---|
| From | @property(copy) NSArray *tabViewItems |
| To | @property(copy, nonnull) NSArray<__kindof NSTabViewItem *> *tabViewItems |
| Declaration | |
|---|---|
| From | - (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag |
| To | - (NSToolbarItem * _Nullable)toolbar:(NSToolbar * _Nonnull)toolbar itemForItemIdentifier:(NSString * _Nonnull)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar *)toolbar |
| To | - (NSArray<NSString *> * _Nonnull)toolbarAllowedItemIdentifiers:(NSToolbar * _Nonnull)toolbar |
| Declaration | |
|---|---|
| From | - (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar *)toolbar |
| To | - (NSArray<NSString *> * _Nonnull)toolbarDefaultItemIdentifiers:(NSToolbar * _Nonnull)toolbar |
| Declaration | |
|---|---|
| From | - (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar |
| To | - (NSArray<NSString *> * _Nonnull)toolbarSelectableItemIdentifiers:(NSToolbar * _Nonnull)toolbar |
NSTabViewItem.h
Modified NSTabViewItem.color
| Declaration | |
|---|---|
| From | @property(copy) NSColor *color |
| To | @property(copy, nonnull) NSColor *color |
Modified NSTabViewItem.identifier
| Declaration | |
|---|---|
| From | @property(strong) id identifier |
| To | @property(strong, nonnull) id identifier |
Modified NSTabViewItem.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
Modified NSTabViewItem.initialFirstResponder
| Declaration | |
|---|---|
| From | @property(assign) NSView *initialFirstResponder |
| To | @property(assign, nullable) NSView *initialFirstResponder |
Modified -[NSTabViewItem initWithIdentifier:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithIdentifier:(id)identifier |
| To | - (instancetype _Nonnull)initWithIdentifier:(id _Nonnull)identifier |
Modified NSTabViewItem.label
| Declaration | |
|---|---|
| From | @property(copy) NSString *label |
| To | @property(copy, nonnull) NSString *label |
Modified NSTabViewItem.tabView
| Declaration | |
|---|---|
| From | @property(readonly) NSTabView *tabView |
| To | @property(readonly, nullable) NSTabView *tabView |
| Declaration | |
|---|---|
| From | + (instancetype)tabViewItemWithViewController:(NSViewController *)viewController |
| To | + (instancetype _Nonnull)tabViewItemWithViewController:(NSViewController * _Nonnull)viewController |
Modified NSTabViewItem.toolTip
| Declaration | |
|---|---|
| From | @property(copy) NSString *toolTip |
| To | @property(copy, nullable) NSString *toolTip |
Modified NSTabViewItem.view
| Declaration | |
|---|---|
| From | @property(strong) NSView *view |
| To | @property(strong, nullable) NSView *view |
Modified NSTabViewItem.viewController
| Declaration | |
|---|---|
| From | @property(strong) NSViewController *viewController |
| To | @property(strong, nullable) NSViewController *viewController |
NSText.h
Removed NSCenterTextAlignment
Removed NSJustifiedTextAlignment
Removed NSLeftTextAlignment
Removed NSNaturalTextAlignment
Removed NSRightTextAlignment
Added NSCenterTextAlignment
Added NSJustifiedTextAlignment
Added NSLeftTextAlignment
Added NSNaturalTextAlignment
Added NSRightTextAlignment
Added NSTextAlignmentCenter
Added NSTextAlignmentJustified
Added NSTextAlignmentLeft
Added NSTextAlignmentNatural
Added NSTextAlignmentRight
Modified -[NSText alignCenter:]
| Declaration | |
|---|---|
| From | - (void)alignCenter:(id)sender |
| To | - (void)alignCenter:(id _Nullable)sender |
Modified -[NSText alignLeft:]
| Declaration | |
|---|---|
| From | - (void)alignLeft:(id)sender |
| To | - (void)alignLeft:(id _Nullable)sender |
Modified -[NSText alignRight:]
| Declaration | |
|---|---|
| From | - (void)alignRight:(id)sender |
| To | - (void)alignRight:(id _Nullable)sender |
Modified NSText.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nullable) NSColor *backgroundColor |
Modified -[NSText changeFont:]
| Declaration | |
|---|---|
| From | - (void)changeFont:(id)sender |
| To | - (void)changeFont:(id _Nullable)sender |
Modified -[NSText checkSpelling:]
| Declaration | |
|---|---|
| From | - (void)checkSpelling:(id)sender |
| To | - (void)checkSpelling:(id _Nullable)sender |
Modified -[NSText copy:]
| Declaration | |
|---|---|
| From | - (void)copy:(id)sender |
| To | - (void)copy:(id _Nullable)sender |
Modified -[NSText copyFont:]
| Declaration | |
|---|---|
| From | - (void)copyFont:(id)sender |
| To | - (void)copyFont:(id _Nullable)sender |
Modified -[NSText copyRuler:]
| Declaration | |
|---|---|
| From | - (void)copyRuler:(id)sender |
| To | - (void)copyRuler:(id _Nullable)sender |
Modified -[NSText cut:]
| Declaration | |
|---|---|
| From | - (void)cut:(id)sender |
| To | - (void)cut:(id _Nullable)sender |
Modified NSText.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSTextDelegate> delegate |
| To | @property(assign, nullable) id<NSTextDelegate> delegate |
Modified -[NSText delete:]
| Declaration | |
|---|---|
| From | - (void)delete:(id)sender |
| To | - (void)delete:(id _Nullable)sender |
Modified NSText.font
| Declaration | |
|---|---|
| From | @property(strong) NSFont *font |
| To | @property(strong, nullable) NSFont *font |
Modified -[NSText initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSText initWithFrame:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect |
Modified -[NSText paste:]
| Declaration | |
|---|---|
| From | - (void)paste:(id)sender |
| To | - (void)paste:(id _Nullable)sender |
Modified -[NSText pasteFont:]
| Declaration | |
|---|---|
| From | - (void)pasteFont:(id)sender |
| To | - (void)pasteFont:(id _Nullable)sender |
Modified -[NSText pasteRuler:]
| Declaration | |
|---|---|
| From | - (void)pasteRuler:(id)sender |
| To | - (void)pasteRuler:(id _Nullable)sender |
Modified -[NSText readRTFDFromFile:]
| Declaration | |
|---|---|
| From | - (BOOL)readRTFDFromFile:(NSString *)path |
| To | - (BOOL)readRTFDFromFile:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (void)replaceCharactersInRange:(NSRange)range withRTF:(NSData *)rtfData |
| To | - (void)replaceCharactersInRange:(NSRange)range withRTF:(NSData * _Nonnull)rtfData |
| Declaration | |
|---|---|
| From | - (void)replaceCharactersInRange:(NSRange)range withRTFD:(NSData *)rtfdData |
| To | - (void)replaceCharactersInRange:(NSRange)range withRTFD:(NSData * _Nonnull)rtfdData |
| Declaration | |
|---|---|
| From | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)aString |
| To | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString * _Nonnull)aString |
Modified -[NSText RTFDFromRange:]
| Declaration | |
|---|---|
| From | - (NSData *)RTFDFromRange:(NSRange)range |
| To | - (NSData * _Nullable)RTFDFromRange:(NSRange)range |
Modified -[NSText RTFFromRange:]
| Declaration | |
|---|---|
| From | - (NSData *)RTFFromRange:(NSRange)range |
| To | - (NSData * _Nullable)RTFFromRange:(NSRange)range |
Modified -[NSText selectAll:]
| Declaration | |
|---|---|
| From | - (void)selectAll:(id)sender |
| To | - (void)selectAll:(id _Nullable)sender |
Modified -[NSText setFont:range:]
| Declaration | |
|---|---|
| From | - (void)setFont:(NSFont *)font range:(NSRange)range |
| To | - (void)setFont:(NSFont * _Nonnull)font range:(NSRange)range |
Modified -[NSText setTextColor:range:]
| Declaration | |
|---|---|
| From | - (void)setTextColor:(NSColor *)color range:(NSRange)range |
| To | - (void)setTextColor:(NSColor * _Nullable)color range:(NSRange)range |
Modified -[NSText showGuessPanel:]
| Declaration | |
|---|---|
| From | - (void)showGuessPanel:(id)sender |
| To | - (void)showGuessPanel:(id _Nullable)sender |
Modified NSText.string
| Declaration | |
|---|---|
| From | @property(copy) NSString *string |
| To | @property(copy, nullable) NSString *string |
Modified -[NSText subscript:]
| Declaration | |
|---|---|
| From | - (void)subscript:(id)sender |
| To | - (void)subscript:(id _Nullable)sender |
Modified -[NSText superscript:]
| Declaration | |
|---|---|
| From | - (void)superscript:(id)sender |
| To | - (void)superscript:(id _Nullable)sender |
Modified NSText.textColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *textColor |
| To | @property(copy, nullable) NSColor *textColor |
Modified -[NSText toggleRuler:]
| Declaration | |
|---|---|
| From | - (void)toggleRuler:(id)sender |
| To | - (void)toggleRuler:(id _Nullable)sender |
Modified -[NSText underline:]
| Declaration | |
|---|---|
| From | - (void)underline:(id)sender |
| To | - (void)underline:(id _Nullable)sender |
Modified -[NSText unscript:]
| Declaration | |
|---|---|
| From | - (void)unscript:(id)sender |
| To | - (void)unscript:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)writeRTFDToFile:(NSString *)path atomically:(BOOL)flag |
| To | - (BOOL)writeRTFDToFile:(NSString * _Nonnull)path atomically:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (void)textDidBeginEditing:(NSNotification *)notification |
| To | - (void)textDidBeginEditing:(NSNotification * _Nonnull)notification |
Modified -[NSTextDelegate textDidChange:]
| Declaration | |
|---|---|
| From | - (void)textDidChange:(NSNotification *)notification |
| To | - (void)textDidChange:(NSNotification * _Nonnull)notification |
Modified -[NSTextDelegate textDidEndEditing:]
| Declaration | |
|---|---|
| From | - (void)textDidEndEditing:(NSNotification *)notification |
| To | - (void)textDidEndEditing:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)textShouldBeginEditing:(NSText *)textObject |
| To | - (BOOL)textShouldBeginEditing:(NSText * _Nonnull)textObject |
| Declaration | |
|---|---|
| From | - (BOOL)textShouldEndEditing:(NSText *)textObject |
| To | - (BOOL)textShouldEndEditing:(NSText * _Nonnull)textObject |
Modified NSTextWritingDirectionEmbedding
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.6 | -- |
| To | OS X 10.0 | OS X 10.11 |
Modified NSTextWritingDirectionOverride
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.6 | -- |
| To | OS X 10.0 | OS X 10.11 |
NSTextAlternatives.h
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *alternativeStrings |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *alternativeStrings |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPrimaryString:(NSString *)primaryString alternativeStrings:(NSArray *)alternativeStrings |
| To | - (instancetype _Nonnull)initWithPrimaryString:(NSString * _Nonnull)primaryString alternativeStrings:(NSArray<NSString *> * _Nonnull)alternativeStrings |
| Declaration | |
|---|---|
| From | - (void)noteSelectedAlternativeString:(NSString *)alternativeString |
| To | - (void)noteSelectedAlternativeString:(NSString * _Nonnull)alternativeString |
Modified NSTextAlternatives.primaryString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *primaryString |
| To | @property(readonly, copy, nonnull) NSString *primaryString |
NSTextAttachment.h
Added NSTextAttachment.bounds
Added NSTextAttachment.image
| Declaration | |
|---|---|
| From | + (NSAttributedString *)attributedStringWithAttachment:(NSTextAttachment *)attachment |
| To | + (NSAttributedString * _Nonnull)attributedStringWithAttachment:(NSTextAttachment * _Nonnull)attachment |
| Declaration | |
|---|---|
| From | - (void)updateAttachmentsFromPath:(NSString *)path |
| To | - (void)updateAttachmentsFromPath:(NSString * _Nonnull)path |
Modified NSTextAttachment
| Protocols | |
|---|---|
| From | NSCoding |
| To | NSCoding, NSTextAttachmentContainer |
Modified NSTextAttachment.attachmentCell
| Declaration | |
|---|---|
| From | @property(strong) id<NSTextAttachmentCell> attachmentCell |
| To | @property(strong, nullable) id<NSTextAttachmentCell> attachmentCell |
Modified NSTextAttachment.fileWrapper
| Declaration | |
|---|---|
| From | @property(strong) NSFileWrapper *fileWrapper |
| To | @property(strong, nullable) NSFileWrapper *fileWrapper |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFileWrapper:(NSFileWrapper *)fileWrapper |
| To | - (instancetype _Nonnull)initWithFileWrapper:(NSFileWrapper * _Nullable)fileWrapper |
Modified -[NSTextAttachmentCell cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:]
| Declaration | |
|---|---|
| From | - (NSRect)cellFrameForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(NSRect)lineFrag glyphPosition:(NSPoint)position characterIndex:(NSUInteger)charIndex |
| To | - (NSRect)cellFrameForTextContainer:(NSTextContainer * _Nonnull)textContainer proposedLineFragment:(NSRect)lineFrag glyphPosition:(NSPoint)position characterIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView * _Nullable)controlView |
| Declaration | |
|---|---|
| From | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView characterIndex:(NSUInteger)charIndex |
| To | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView * _Nullable)controlView characterIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView characterIndex:(NSUInteger)charIndex layoutManager:(NSLayoutManager *)layoutManager |
| To | - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView * _Nullable)controlView characterIndex:(NSUInteger)charIndex layoutManager:(NSLayoutManager * _Nonnull)layoutManager |
| Declaration | |
|---|---|
| From | - (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView:(NSView *)controlView |
| To | - (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView:(NSView * _Nullable)controlView |
| Declaration | |
|---|---|
| From | - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView atCharacterIndex:(NSUInteger)charIndex untilMouseUp:(BOOL)flag |
| To | - (BOOL)trackMouse:(NSEvent * _Nonnull)theEvent inRect:(NSRect)cellFrame ofView:(NSView * _Nullable)controlView atCharacterIndex:(NSUInteger)charIndex untilMouseUp:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)flag |
| To | - (BOOL)trackMouse:(NSEvent * _Nonnull)theEvent inRect:(NSRect)cellFrame ofView:(NSView * _Nullable)controlView untilMouseUp:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (BOOL)wantsToTrackMouseForEvent:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView atCharacterIndex:(NSUInteger)charIndex |
| To | - (BOOL)wantsToTrackMouseForEvent:(NSEvent * _Nonnull)theEvent inRect:(NSRect)cellFrame ofView:(NSView * _Nullable)controlView atCharacterIndex:(NSUInteger)charIndex |
NSTextContainer.h
Added NSTextContainer.size
Added NSTextContainer(NSTextContainerDeprecated)
Modified NSTextContainer.containerSize
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified -[NSTextContainer containsPoint:]
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Declaration | Deprecation | |
|---|---|---|
| From | - (instancetype)initWithContainerSize:(NSSize)size | -- |
| To | - (instancetype _Nonnull)initWithContainerSize:(NSSize)aContainerSize | OS X 10.11 |
Modified NSTextContainer.layoutManager
| Declaration | |
|---|---|
| From | @property(assign) NSLayoutManager *layoutManager |
| To | @property(assign, nullable) NSLayoutManager *layoutManager |
Modified -[NSTextContainer lineFragmentRectForProposedRect:sweepDirection:movementDirection:remainingRect:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSRect)lineFragmentRectForProposedRect:(NSRect)proposedRect sweepDirection:(NSLineSweepDirection)sweepDirection movementDirection:(NSLineMovementDirection)movementDirection remainingRect:(NSRectPointer)remainingRect | -- |
| To | - (NSRect)lineFragmentRectForProposedRect:(NSRect)proposedRect sweepDirection:(NSLineSweepDirection)sweepDirection movementDirection:(NSLineMovementDirection)movementDirection remainingRect:(NSRectPointer _Nullable)remainingRect | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (void)replaceLayoutManager:(NSLayoutManager *)newLayoutManager |
| To | - (void)replaceLayoutManager:(NSLayoutManager * _Nonnull)newLayoutManager |
| Introduction | |
|---|---|
| From | OS X 10.10 |
| To | OS X 10.0 |
Modified NSTextContainer.textView
| Declaration | |
|---|---|
| From | @property(strong) NSTextView *textView |
| To | @property(strong, nullable) NSTextView *textView |
NSTextField.h
Modified NSTextField.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nullable) NSColor *backgroundColor |
Modified NSTextField.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSTextFieldDelegate> delegate |
| To | @property(assign, nullable) id<NSTextFieldDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *placeholderAttributedString |
| To | @property(copy, nullable) NSAttributedString *placeholderAttributedString |
Modified NSTextField.placeholderString
| Declaration | |
|---|---|
| From | @property(copy) NSString *placeholderString |
| To | @property(copy, nullable) NSString *placeholderString |
Modified -[NSTextField selectText:]
| Declaration | |
|---|---|
| From | - (void)selectText:(id)sender |
| To | - (void)selectText:(id _Nullable)sender |
Modified -[NSTextField setTitleWithMnemonic:]
| Declaration | |
|---|---|
| From | - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand |
| To | - (void)setTitleWithMnemonic:(NSString * _Null_unspecified)stringWithAmpersand |
Modified NSTextField.textColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *textColor |
| To | @property(copy, nullable) NSColor *textColor |
Modified -[NSTextField textDidBeginEditing:]
| Declaration | |
|---|---|
| From | - (void)textDidBeginEditing:(NSNotification *)notification |
| To | - (void)textDidBeginEditing:(NSNotification * _Nonnull)notification |
Modified -[NSTextField textDidChange:]
| Declaration | |
|---|---|
| From | - (void)textDidChange:(NSNotification *)notification |
| To | - (void)textDidChange:(NSNotification * _Nonnull)notification |
Modified -[NSTextField textDidEndEditing:]
| Declaration | |
|---|---|
| From | - (void)textDidEndEditing:(NSNotification *)notification |
| To | - (void)textDidEndEditing:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)textShouldBeginEditing:(NSText *)textObject |
| To | - (BOOL)textShouldBeginEditing:(NSText * _Nonnull)textObject |
Modified -[NSTextField textShouldEndEditing:]
| Declaration | |
|---|---|
| From | - (BOOL)textShouldEndEditing:(NSText *)textObject |
| To | - (BOOL)textShouldEndEditing:(NSText * _Nonnull)textObject |
NSTextFieldCell.h
| Declaration | |
|---|---|
| From | @property(copy) NSArray *allowedInputSourceLocales |
| To | @property(copy, nullable) NSArray<NSString *> *allowedInputSourceLocales |
Modified NSTextFieldCell.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nullable) NSColor *backgroundColor |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *placeholderAttributedString |
| To | @property(copy, nullable) NSAttributedString *placeholderAttributedString |
Modified NSTextFieldCell.placeholderString
| Declaration | |
|---|---|
| From | @property(copy) NSString *placeholderString |
| To | @property(copy, nullable) NSString *placeholderString |
| Declaration | |
|---|---|
| From | - (NSText *)setUpFieldEditorAttributes:(NSText *)textObj |
| To | - (NSText * _Nonnull)setUpFieldEditorAttributes:(NSText * _Nonnull)textObj |
Modified NSTextFieldCell.textColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *textColor |
| To | @property(copy, nullable) NSColor *textColor |
NSTextFinder.h
Modified NSTextFinder.client
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet id<NSTextFinderClient> client |
| To | @property(assign, nullable) IBOutlet id<NSTextFinderClient> client |
Modified NSTextFinder.findBarContainer
| Declaration | |
|---|---|
| From | @property(assign) IBOutlet id<NSTextFinderBarContainer> findBarContainer |
| To | @property(assign, nullable) IBOutlet id<NSTextFinderBarContainer> findBarContainer |
Modified NSTextFinder.incrementalMatchRanges
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *incrementalMatchRanges |
| To | @property(readonly, copy, nonnull) NSArray<NSValue *> *incrementalMatchRanges |
Modified -[NSTextFinder init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (NSView *)contentView |
| To | - (NSView * _Nullable)contentView |
Modified NSTextFinderBarContainer.findBarView
| Declaration | |
|---|---|
| From | @property(strong) NSView *findBarView |
| To | @property(strong, nullable) NSView *findBarView |
| Declaration | |
|---|---|
| From | - (NSView *)contentViewAtIndex:(NSUInteger)index effectiveCharacterRange:(NSRangePointer)outRange |
| To | - (NSView * _Nonnull)contentViewAtIndex:(NSUInteger)index effectiveCharacterRange:(NSRangePointer _Nonnull)outRange |
| Declaration | |
|---|---|
| From | - (void)drawCharactersInRange:(NSRange)range forContentView:(NSView *)view |
| To | - (void)drawCharactersInRange:(NSRange)range forContentView:(NSView * _Nonnull)view |
| Declaration | |
|---|---|
| From | - (NSArray *)rectsForCharacterRange:(NSRange)range |
| To | - (NSArray<NSValue *> * _Nullable)rectsForCharacterRange:(NSRange)range |
| Declaration | |
|---|---|
| From | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string |
| To | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString * _Nonnull)string |
Modified NSTextFinderClient.selectedRanges
| Declaration | |
|---|---|
| From | @property(copy) NSArray *selectedRanges |
| To | @property(copy, nonnull) NSArray<NSValue *> *selectedRanges |
| Declaration | |
|---|---|
| From | - (BOOL)shouldReplaceCharactersInRanges:(NSArray *)ranges withStrings:(NSArray *)strings |
| To | - (BOOL)shouldReplaceCharactersInRanges:(NSArray<NSValue *> * _Nonnull)ranges withStrings:(NSArray<NSString *> * _Nonnull)strings |
Modified NSTextFinderClient.string
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSString *string |
| To | @property(readonly, strong, nonnull) NSString *string |
| Declaration | |
|---|---|
| From | - (NSString *)stringAtIndex:(NSUInteger)characterIndex effectiveRange:(NSRangePointer)outRange endsWithSearchBoundary:(BOOL *)outFlag |
| To | - (NSString * _Nonnull)stringAtIndex:(NSUInteger)characterIndex effectiveRange:(NSRangePointer _Nonnull)outRange endsWithSearchBoundary:(BOOL * _Nonnull)outFlag |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *visibleCharacterRanges |
| To | @property(readonly, copy, nonnull) NSArray<NSValue *> *visibleCharacterRanges |
NSTextInputClient.h
| Declaration | |
|---|---|
| From | - (NSAttributedString *)attributedString |
| To | - (NSAttributedString * _Nonnull)attributedString |
| Declaration | |
|---|---|
| From | - (NSAttributedString *)attributedSubstringForProposedRange:(NSRange)aRange actualRange:(NSRangePointer)actualRange |
| To | - (NSAttributedString * _Nullable)attributedSubstringForProposedRange:(NSRange)aRange actualRange:(NSRangePointer _Nullable)actualRange |
| Declaration | |
|---|---|
| From | - (void)doCommandBySelector:(SEL)aSelector |
| To | - (void)doCommandBySelector:(SEL _Nonnull)aSelector |
| Declaration | |
|---|---|
| From | - (NSRect)firstRectForCharacterRange:(NSRange)aRange actualRange:(NSRangePointer)actualRange |
| To | - (NSRect)firstRectForCharacterRange:(NSRange)aRange actualRange:(NSRangePointer _Nullable)actualRange |
| Declaration | |
|---|---|
| From | - (void)insertText:(id)aString replacementRange:(NSRange)replacementRange |
| To | - (void)insertText:(id _Nonnull)aString replacementRange:(NSRange)replacementRange |
| Declaration | |
|---|---|
| From | - (void)setMarkedText:(id)aString selectedRange:(NSRange)selectedRange replacementRange:(NSRange)replacementRange |
| To | - (void)setMarkedText:(id _Nonnull)aString selectedRange:(NSRange)selectedRange replacementRange:(NSRange)replacementRange |
| Declaration | |
|---|---|
| From | - (NSArray *)validAttributesForMarkedText |
| To | - (NSArray<NSString *> * _Nonnull)validAttributesForMarkedText |
NSTextInputContext.h
| Declaration | |
|---|---|
| From | @property(copy) NSArray *allowedInputSourceLocales |
| To | @property(copy, nullable) NSArray<NSString *> *allowedInputSourceLocales |
Modified NSTextInputContext.client
| Declaration | |
|---|---|
| From | @property(readonly) id<NSTextInputClient> client |
| To | @property(readonly, nonnull) id<NSTextInputClient> client |
| Declaration | |
|---|---|
| From | + (NSTextInputContext *)currentInputContext |
| To | + (NSTextInputContext * _Nullable)currentInputContext |
Modified -[NSTextInputContext handleEvent:]
| Declaration | |
|---|---|
| From | - (BOOL)handleEvent:(NSEvent *)theEvent |
| To | - (BOOL)handleEvent:(NSEvent * _Nonnull)theEvent |
| Declaration | |
|---|---|
| From | - (instancetype)initWithClient:(id<NSTextInputClient>)theClient |
| To | - (instancetype _Nonnull)initWithClient:(id<NSTextInputClient> _Nonnull)theClient |
| Declaration | |
|---|---|
| From | @property(readonly) NSArray *keyboardInputSources |
| To | @property(readonly, nullable) NSArray<NSString *> *keyboardInputSources |
| Declaration | |
|---|---|
| From | + (NSString *)localizedNameForInputSource:(NSString *)inputSourceIdentifier |
| To | + (NSString * _Nullable)localizedNameForInputSource:(NSString * _Nonnull)inputSourceIdentifier |
| Declaration | |
|---|---|
| From | @property(copy) NSString *selectedKeyboardInputSource |
| To | @property(copy, nullable) NSString *selectedKeyboardInputSource |
NSTextList.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithMarkerFormat:(NSString *)format options:(NSUInteger)mask |
| To | - (instancetype _Nonnull)initWithMarkerFormat:(NSString * _Nonnull)format options:(NSUInteger)mask |
Modified -[NSTextList markerForItemNumber:]
| Declaration | |
|---|---|
| From | - (NSString *)markerForItemNumber:(NSInteger)itemNum |
| To | - (NSString * _Nonnull)markerForItemNumber:(NSInteger)itemNum |
Modified NSTextList.markerFormat
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *markerFormat |
| To | @property(readonly, copy, nonnull) NSString *markerFormat |
NSTextStorage.h
Added NSObject(NSDeprecatedTextStorageDelegateInterface)
Added NSTextStorageEditActions
Modified -[NSTextStorage addLayoutManager:]
| Declaration | |
|---|---|
| From | - (void)addLayoutManager:(NSLayoutManager *)obj |
| To | - (void)addLayoutManager:(NSLayoutManager * _Nonnull)aLayoutManager |
Modified NSTextStorage.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSTextStorageDelegate> delegate |
| To | @property(assign, nullable) id<NSTextStorageDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)edited:(NSUInteger)editedMask range:(NSRange)range changeInLength:(NSInteger)delta |
| To | - (void)edited:(NSTextStorageEditActions)editedMask range:(NSRange)editedRange changeInLength:(NSInteger)delta |
Modified NSTextStorage.editedMask
| Declaration | |
|---|---|
| From | @property(readonly) NSUInteger editedMask |
| To | @property(readonly) NSTextStorageEditActions editedMask |
Modified NSTextStorage.layoutManagers
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *layoutManagers |
| To | @property(readonly, copy, nonnull) NSArray<NSLayoutManager *> *layoutManagers |
| Declaration | |
|---|---|
| From | - (void)removeLayoutManager:(NSLayoutManager *)obj |
| To | - (void)removeLayoutManager:(NSLayoutManager * _Nonnull)aLayoutManager |
Modified NSTextStorageEditedAttributes
| Introduction | |
|---|---|
| From | OS X 10.0 |
| To | OS X 10.11 |
Modified NSTextStorageEditedCharacters
| Introduction | |
|---|---|
| From | OS X 10.0 |
| To | OS X 10.11 |
NSTextStorageScripting.h
Modified NSTextStorage.attributeRuns
| Declaration | |
|---|---|
| From | @property(copy) NSArray *attributeRuns |
| To | @property(copy, nonnull) NSArray<NSTextStorage *> *attributeRuns |
Modified NSTextStorage.characters
| Declaration | |
|---|---|
| From | @property(copy) NSArray *characters |
| To | @property(copy, nonnull) NSArray<NSTextStorage *> *characters |
Modified NSTextStorage.font
| Declaration | |
|---|---|
| From | @property(strong) NSFont *font |
| To | @property(strong, nullable) NSFont *font |
Modified NSTextStorage.foregroundColor
| Declaration | |
|---|---|
| From | @property(strong) NSColor *foregroundColor |
| To | @property(strong, nullable) NSColor *foregroundColor |
Modified NSTextStorage.paragraphs
| Declaration | |
|---|---|
| From | @property(copy) NSArray *paragraphs |
| To | @property(copy, nonnull) NSArray<NSTextStorage *> *paragraphs |
Modified NSTextStorage.words
| Declaration | |
|---|---|
| From | @property(copy) NSArray *words |
| To | @property(copy, nonnull) NSArray<NSTextStorage *> *words |
NSTextTable.h
Modified NSTextBlock.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nullable) NSColor *backgroundColor |
Modified -[NSTextBlock borderColorForEdge:]
| Declaration | |
|---|---|
| From | - (NSColor *)borderColorForEdge:(NSRectEdge)edge |
| To | - (NSColor * _Nullable)borderColorForEdge:(NSRectEdge)edge |
| Declaration | |
|---|---|
| From | - (NSRect)boundsRectForContentRect:(NSRect)contentRect inRect:(NSRect)rect textContainer:(NSTextContainer *)textContainer characterRange:(NSRange)charRange |
| To | - (NSRect)boundsRectForContentRect:(NSRect)contentRect inRect:(NSRect)rect textContainer:(NSTextContainer * _Nonnull)textContainer characterRange:(NSRange)charRange |
| Declaration | |
|---|---|
| From | - (void)drawBackgroundWithFrame:(NSRect)frameRect inView:(NSView *)controlView characterRange:(NSRange)charRange layoutManager:(NSLayoutManager *)layoutManager |
| To | - (void)drawBackgroundWithFrame:(NSRect)frameRect inView:(NSView * _Nonnull)controlView characterRange:(NSRange)charRange layoutManager:(NSLayoutManager * _Nonnull)layoutManager |
Modified -[NSTextBlock init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (NSRect)rectForLayoutAtPoint:(NSPoint)startingPoint inRect:(NSRect)rect textContainer:(NSTextContainer *)textContainer characterRange:(NSRange)charRange |
| To | - (NSRect)rectForLayoutAtPoint:(NSPoint)startingPoint inRect:(NSRect)rect textContainer:(NSTextContainer * _Nonnull)textContainer characterRange:(NSRange)charRange |
Modified -[NSTextBlock setBorderColor:]
| Declaration | |
|---|---|
| From | - (void)setBorderColor:(NSColor *)color |
| To | - (void)setBorderColor:(NSColor * _Nullable)color |
| Declaration | |
|---|---|
| From | - (void)setBorderColor:(NSColor *)color forEdge:(NSRectEdge)edge |
| To | - (void)setBorderColor:(NSColor * _Nullable)color forEdge:(NSRectEdge)edge |
| Declaration | |
|---|---|
| From | - (NSRect)boundsRectForBlock:(NSTextTableBlock *)block contentRect:(NSRect)contentRect inRect:(NSRect)rect textContainer:(NSTextContainer *)textContainer characterRange:(NSRange)charRange |
| To | - (NSRect)boundsRectForBlock:(NSTextTableBlock * _Nonnull)block contentRect:(NSRect)contentRect inRect:(NSRect)rect textContainer:(NSTextContainer * _Nonnull)textContainer characterRange:(NSRange)charRange |
| Declaration | |
|---|---|
| From | - (void)drawBackgroundForBlock:(NSTextTableBlock *)block withFrame:(NSRect)frameRect inView:(NSView *)controlView characterRange:(NSRange)charRange layoutManager:(NSLayoutManager *)layoutManager |
| To | - (void)drawBackgroundForBlock:(NSTextTableBlock * _Nonnull)block withFrame:(NSRect)frameRect inView:(NSView * _Nonnull)controlView characterRange:(NSRange)charRange layoutManager:(NSLayoutManager * _Nonnull)layoutManager |
| Declaration | |
|---|---|
| From | - (NSRect)rectForBlock:(NSTextTableBlock *)block layoutAtPoint:(NSPoint)startingPoint inRect:(NSRect)rect textContainer:(NSTextContainer *)textContainer characterRange:(NSRange)charRange |
| To | - (NSRect)rectForBlock:(NSTextTableBlock * _Nonnull)block layoutAtPoint:(NSPoint)startingPoint inRect:(NSRect)rect textContainer:(NSTextContainer * _Nonnull)textContainer characterRange:(NSRange)charRange |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTable:(NSTextTable *)table startingRow:(NSInteger)row rowSpan:(NSInteger)rowSpan startingColumn:(NSInteger)col columnSpan:(NSInteger)colSpan |
| To | - (instancetype _Nonnull)initWithTable:(NSTextTable * _Nonnull)table startingRow:(NSInteger)row rowSpan:(NSInteger)rowSpan startingColumn:(NSInteger)col columnSpan:(NSInteger)colSpan |
Modified NSTextTableBlock.table
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSTextTable *table |
| To | @property(readonly, strong, nonnull) NSTextTable *table |
NSTextView.h
Modified NSTextView.acceptableDragTypes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *acceptableDragTypes |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *acceptableDragTypes |
Modified -[NSTextView alignJustified:]
| Declaration | |
|---|---|
| From | - (void)alignJustified:(id)sender |
| To | - (void)alignJustified:(id _Nullable)sender |
Modified NSTextView.allowedInputSourceLocales
| Declaration | |
|---|---|
| From | @property(copy) NSArray *allowedInputSourceLocales |
| To | @property(copy, nullable) NSArray<NSString *> *allowedInputSourceLocales |
Modified NSTextView.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy, nonnull) NSColor *backgroundColor |
Modified -[NSTextView changeAttributes:]
| Declaration | |
|---|---|
| From | - (void)changeAttributes:(id)sender |
| To | - (void)changeAttributes:(id _Nullable)sender |
Modified -[NSTextView changeColor:]
| Declaration | |
|---|---|
| From | - (void)changeColor:(id)sender |
| To | - (void)changeColor:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)changeDocumentBackgroundColor:(id)sender |
| To | - (void)changeDocumentBackgroundColor:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)changeLayoutOrientation:(id)sender |
| To | - (void)changeLayoutOrientation:(id _Nullable)sender |
Modified -[NSTextView checkTextInDocument:]
| Declaration | |
|---|---|
| From | - (void)checkTextInDocument:(id)sender |
| To | - (void)checkTextInDocument:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)checkTextInRange:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary *)options |
| To | - (void)checkTextInRange:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary<NSString *,id> * _Nonnull)options |
Modified -[NSTextView checkTextInSelection:]
| Declaration | |
|---|---|
| From | - (void)checkTextInSelection:(id)sender |
| To | - (void)checkTextInSelection:(id _Nullable)sender |
Modified -[NSTextView clickedOnLink:atIndex:]
| Declaration | |
|---|---|
| From | - (void)clickedOnLink:(id)link atIndex:(NSUInteger)charIndex |
| To | - (void)clickedOnLink:(id _Nonnull)link atIndex:(NSUInteger)charIndex |
Modified -[NSTextView complete:]
| Declaration | |
|---|---|
| From | - (void)complete:(id)sender |
| To | - (void)complete:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (NSArray *)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger *)index |
| To | - (NSArray<NSString *> * _Nullable)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger * _Nonnull)index |
Modified NSTextView.defaultParagraphStyle
| Declaration | |
|---|---|
| From | @property(copy) NSParagraphStyle *defaultParagraphStyle |
| To | @property(copy, nullable) NSParagraphStyle *defaultParagraphStyle |
Modified NSTextView.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSTextViewDelegate> delegate |
| To | @property(assign, nullable) id<NSTextViewDelegate> delegate |
| Declaration | |
|---|---|
| From | - (NSImage *)dragImageForSelectionWithEvent:(NSEvent *)event origin:(NSPointPointer)origin |
| To | - (NSImage * _Nullable)dragImageForSelectionWithEvent:(NSEvent * _Nonnull)event origin:(NSPointPointer _Nullable)origin |
| Declaration | |
|---|---|
| From | - (NSDragOperation)dragOperationForDraggingInfo:(id<NSDraggingInfo>)dragInfo type:(NSString *)type |
| To | - (NSDragOperation)dragOperationForDraggingInfo:(id<NSDraggingInfo> _Nonnull)dragInfo type:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)dragSelectionWithEvent:(NSEvent *)event offset:(NSSize)mouseOffset slideBack:(BOOL)slideBack |
| To | - (BOOL)dragSelectionWithEvent:(NSEvent * _Nonnull)event offset:(NSSize)mouseOffset slideBack:(BOOL)slideBack |
| Declaration | |
|---|---|
| From | - (void)drawInsertionPointInRect:(NSRect)rect color:(NSColor *)color turnedOn:(BOOL)flag |
| To | - (void)drawInsertionPointInRect:(NSRect)rect color:(NSColor * _Nonnull)color turnedOn:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (void)handleTextCheckingResults:(NSArray *)results forRange:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary *)options orthography:(NSOrthography *)orthography wordCount:(NSInteger)wordCount |
| To | - (void)handleTextCheckingResults:(NSArray<NSTextCheckingResult *> * _Nonnull)results forRange:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary<NSString *,id> * _Nonnull)options orthography:(NSOrthography * _Nonnull)orthography wordCount:(NSInteger)wordCount |
Modified -[NSTextView initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSTextView initWithFrame:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect textContainer:(NSTextContainer *)container |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect textContainer:(NSTextContainer * _Nullable)container |
| Declaration | |
|---|---|
| From | - (void)insertCompletion:(NSString *)word forPartialWordRange:(NSRange)charRange movement:(NSInteger)movement isFinal:(BOOL)flag |
| To | - (void)insertCompletion:(NSString * _Nonnull)word forPartialWordRange:(NSRange)charRange movement:(NSInteger)movement isFinal:(BOOL)flag |
Modified NSTextView.insertionPointColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *insertionPointColor |
| To | @property(copy, nonnull) NSColor *insertionPointColor |
Modified -[NSTextView insertText:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)insertText:(id)insertString | -- |
| To | - (void)insertText:(id _Nonnull)insertString | OS X 10.11 |
Modified NSTextView.layoutManager
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSLayoutManager *layoutManager |
| To | @property(readonly, assign, nullable) NSLayoutManager *layoutManager |
Modified NSTextView.linkTextAttributes
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *linkTextAttributes |
| To | @property(copy, nullable) NSDictionary<NSString *,id> *linkTextAttributes |
Modified -[NSTextView loosenKerning:]
| Declaration | |
|---|---|
| From | - (void)loosenKerning:(id)sender |
| To | - (void)loosenKerning:(id _Nullable)sender |
Modified -[NSTextView lowerBaseline:]
| Declaration | |
|---|---|
| From | - (void)lowerBaseline:(id)sender |
| To | - (void)lowerBaseline:(id _Nullable)sender |
Modified NSTextView.markedTextAttributes
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *markedTextAttributes |
| To | @property(copy, nullable) NSDictionary<NSString *,id> *markedTextAttributes |
Modified -[NSTextView orderFrontLinkPanel:]
| Declaration | |
|---|---|
| From | - (void)orderFrontLinkPanel:(id)sender |
| To | - (void)orderFrontLinkPanel:(id _Nullable)sender |
Modified -[NSTextView orderFrontListPanel:]
| Declaration | |
|---|---|
| From | - (void)orderFrontListPanel:(id)sender |
| To | - (void)orderFrontListPanel:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (IBAction)orderFrontSharingServicePicker:(id)sender |
| To | - (IBAction)orderFrontSharingServicePicker:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)orderFrontSpacingPanel:(id)sender |
| To | - (void)orderFrontSpacingPanel:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)orderFrontSubstitutionsPanel:(id)sender |
| To | - (void)orderFrontSubstitutionsPanel:(id _Nullable)sender |
Modified -[NSTextView orderFrontTablePanel:]
| Declaration | |
|---|---|
| From | - (void)orderFrontTablePanel:(id)sender |
| To | - (void)orderFrontTablePanel:(id _Nullable)sender |
Modified -[NSTextView outline:]
| Declaration | |
|---|---|
| From | - (void)outline:(id)sender |
| To | - (void)outline:(id _Nullable)sender |
Modified -[NSTextView pasteAsPlainText:]
| Declaration | |
|---|---|
| From | - (void)pasteAsPlainText:(id)sender |
| To | - (void)pasteAsPlainText:(id _Nullable)sender |
Modified -[NSTextView pasteAsRichText:]
| Declaration | |
|---|---|
| From | - (void)pasteAsRichText:(id)sender |
| To | - (void)pasteAsRichText:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)performFindPanelAction:(id)sender |
| To | - (void)performFindPanelAction:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (NSString *)preferredPasteboardTypeFromArray:(NSArray *)availableTypes restrictedToTypesFromArray:(NSArray *)allowedTypes |
| To | - (NSString * _Nullable)preferredPasteboardTypeFromArray:(NSArray<NSString *> * _Nonnull)availableTypes restrictedToTypesFromArray:(NSArray<NSString *> * _Nullable)allowedTypes |
| Declaration | |
|---|---|
| From | - (NSArray *)quickLookPreviewableItemsInRanges:(NSArray *)ranges |
| To | - (NSArray<id<QLPreviewItem>> * _Nullable)quickLookPreviewableItemsInRanges:(NSArray<NSValue *> * _Nonnull)ranges |
Modified -[NSTextView raiseBaseline:]
| Declaration | |
|---|---|
| From | - (void)raiseBaseline:(id)sender |
| To | - (void)raiseBaseline:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *rangesForUserCharacterAttributeChange |
| To | @property(readonly, copy, nullable) NSArray<NSValue *> *rangesForUserCharacterAttributeChange |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *rangesForUserParagraphAttributeChange |
| To | @property(readonly, copy, nullable) NSArray<NSValue *> *rangesForUserParagraphAttributeChange |
Modified NSTextView.rangesForUserTextChange
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *rangesForUserTextChange |
| To | @property(readonly, copy, nullable) NSArray<NSValue *> *rangesForUserTextChange |
Modified NSTextView.readablePasteboardTypes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *readablePasteboardTypes |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *readablePasteboardTypes |
| Declaration | |
|---|---|
| From | - (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard |
| To | - (BOOL)readSelectionFromPasteboard:(NSPasteboard * _Nonnull)pboard |
| Declaration | |
|---|---|
| From | - (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard type:(NSString *)type |
| To | - (BOOL)readSelectionFromPasteboard:(NSPasteboard * _Nonnull)pboard type:(NSString * _Nonnull)type |
Modified -[NSTextView replaceTextContainer:]
| Declaration | |
|---|---|
| From | - (void)replaceTextContainer:(NSTextContainer *)newContainer |
| To | - (void)replaceTextContainer:(NSTextContainer * _Nonnull)newContainer |
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler didAddMarker:(NSRulerMarker *)marker |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler didAddMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler didMoveMarker:(NSRulerMarker *)marker |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler didMoveMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler didRemoveMarker:(NSRulerMarker *)marker |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler didRemoveMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (void)rulerView:(NSRulerView *)ruler handleMouseDown:(NSEvent *)event |
| To | - (void)rulerView:(NSRulerView * _Nonnull)ruler handleMouseDown:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (BOOL)rulerView:(NSRulerView *)ruler shouldAddMarker:(NSRulerMarker *)marker |
| To | - (BOOL)rulerView:(NSRulerView * _Nonnull)ruler shouldAddMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (BOOL)rulerView:(NSRulerView *)ruler shouldMoveMarker:(NSRulerMarker *)marker |
| To | - (BOOL)rulerView:(NSRulerView * _Nonnull)ruler shouldMoveMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (BOOL)rulerView:(NSRulerView *)ruler shouldRemoveMarker:(NSRulerMarker *)marker |
| To | - (BOOL)rulerView:(NSRulerView * _Nonnull)ruler shouldRemoveMarker:(NSRulerMarker * _Nonnull)marker |
| Declaration | |
|---|---|
| From | - (CGFloat)rulerView:(NSRulerView *)ruler willAddMarker:(NSRulerMarker *)marker atLocation:(CGFloat)location |
| To | - (CGFloat)rulerView:(NSRulerView * _Nonnull)ruler willAddMarker:(NSRulerMarker * _Nonnull)marker atLocation:(CGFloat)location |
| Declaration | |
|---|---|
| From | - (CGFloat)rulerView:(NSRulerView *)ruler willMoveMarker:(NSRulerMarker *)marker toLocation:(CGFloat)location |
| To | - (CGFloat)rulerView:(NSRulerView * _Nonnull)ruler willMoveMarker:(NSRulerMarker * _Nonnull)marker toLocation:(CGFloat)location |
Modified NSTextView.selectedRanges
| Declaration | |
|---|---|
| From | @property(copy) NSArray *selectedRanges |
| To | @property(copy, nonnull) NSArray<NSValue *> *selectedRanges |
Modified NSTextView.selectedTextAttributes
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *selectedTextAttributes |
| To | @property(copy, nonnull) NSDictionary<NSString *,id> *selectedTextAttributes |
| Declaration | |
|---|---|
| From | - (void)setSelectedRanges:(NSArray *)ranges affinity:(NSSelectionAffinity)affinity stillSelecting:(BOOL)stillSelectingFlag |
| To | - (void)setSelectedRanges:(NSArray<NSValue *> * _Nonnull)ranges affinity:(NSSelectionAffinity)affinity stillSelecting:(BOOL)stillSelectingFlag |
| Declaration | |
|---|---|
| From | - (BOOL)shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString *)replacementString |
| To | - (BOOL)shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString * _Nullable)replacementString |
| Declaration | |
|---|---|
| From | - (BOOL)shouldChangeTextInRanges:(NSArray *)affectedRanges replacementStrings:(NSArray *)replacementStrings |
| To | - (BOOL)shouldChangeTextInRanges:(NSArray<NSValue *> * _Nonnull)affectedRanges replacementStrings:(NSArray<NSString *> * _Nullable)replacementStrings |
| Declaration | |
|---|---|
| From | - (NSString *)smartInsertAfterStringForString:(NSString *)pasteString replacingRange:(NSRange)charRangeToReplace |
| To | - (NSString * _Nullable)smartInsertAfterStringForString:(NSString * _Nonnull)pasteString replacingRange:(NSRange)charRangeToReplace |
| Declaration | |
|---|---|
| From | - (NSString *)smartInsertBeforeStringForString:(NSString *)pasteString replacingRange:(NSRange)charRangeToReplace |
| To | - (NSString * _Nullable)smartInsertBeforeStringForString:(NSString * _Nonnull)pasteString replacingRange:(NSRange)charRangeToReplace |
| Declaration | |
|---|---|
| From | - (void)smartInsertForString:(NSString *)pasteString replacingRange:(NSRange)charRangeToReplace beforeString:(NSString **)beforeString afterString:(NSString **)afterString |
| To | - (void)smartInsertForString:(NSString * _Nonnull)pasteString replacingRange:(NSRange)charRangeToReplace beforeString:(NSString * _Nullable * _Nullable)beforeString afterString:(NSString * _Nullable * _Nullable)afterString |
Modified -[NSTextView startSpeaking:]
| Declaration | |
|---|---|
| From | - (void)startSpeaking:(id)sender |
| To | - (void)startSpeaking:(id _Nullable)sender |
Modified -[NSTextView stopSpeaking:]
| Declaration | |
|---|---|
| From | - (void)stopSpeaking:(id)sender |
| To | - (void)stopSpeaking:(id _Nullable)sender |
Modified NSTextView.textContainer
| Declaration | |
|---|---|
| From | @property(assign) NSTextContainer *textContainer |
| To | @property(assign, nullable) NSTextContainer *textContainer |
Modified NSTextView.textStorage
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSTextStorage *textStorage |
| To | @property(readonly, assign, nullable) NSTextStorage *textStorage |
Modified -[NSTextView tightenKerning:]
| Declaration | |
|---|---|
| From | - (void)tightenKerning:(id)sender |
| To | - (void)tightenKerning:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleAutomaticDashSubstitution:(id)sender |
| To | - (void)toggleAutomaticDashSubstitution:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleAutomaticDataDetection:(id)sender |
| To | - (void)toggleAutomaticDataDetection:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleAutomaticLinkDetection:(id)sender |
| To | - (void)toggleAutomaticLinkDetection:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleAutomaticQuoteSubstitution:(id)sender |
| To | - (void)toggleAutomaticQuoteSubstitution:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleAutomaticSpellingCorrection:(id)sender |
| To | - (void)toggleAutomaticSpellingCorrection:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleAutomaticTextReplacement:(id)sender |
| To | - (void)toggleAutomaticTextReplacement:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleBaseWritingDirection:(id)sender |
| To | - (void)toggleBaseWritingDirection:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleContinuousSpellChecking:(id)sender |
| To | - (void)toggleContinuousSpellChecking:(id _Nullable)sender |
Modified -[NSTextView toggleGrammarChecking:]
| Declaration | |
|---|---|
| From | - (void)toggleGrammarChecking:(id)sender |
| To | - (void)toggleGrammarChecking:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (IBAction)toggleQuickLookPreviewPanel:(id)sender |
| To | - (IBAction)toggleQuickLookPreviewPanel:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)toggleSmartInsertDelete:(id)sender |
| To | - (void)toggleSmartInsertDelete:(id _Nullable)sender |
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)toggleTraditionalCharacterShape:(id)sender | -- |
| To | - (void)toggleTraditionalCharacterShape:(id _Nullable)sender | OS X 10.11 |
Modified -[NSTextView turnOffKerning:]
| Declaration | |
|---|---|
| From | - (void)turnOffKerning:(id)sender |
| To | - (void)turnOffKerning:(id _Nullable)sender |
Modified -[NSTextView turnOffLigatures:]
| Declaration | |
|---|---|
| From | - (void)turnOffLigatures:(id)sender |
| To | - (void)turnOffLigatures:(id _Nullable)sender |
Modified NSTextView.typingAttributes
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *typingAttributes |
| To | @property(copy, nonnull) NSDictionary<NSString *,id> *typingAttributes |
Modified -[NSTextView useAllLigatures:]
| Declaration | |
|---|---|
| From | - (void)useAllLigatures:(id)sender |
| To | - (void)useAllLigatures:(id _Nullable)sender |
Modified -[NSTextView useStandardKerning:]
| Declaration | |
|---|---|
| From | - (void)useStandardKerning:(id)sender |
| To | - (void)useStandardKerning:(id _Nullable)sender |
Modified -[NSTextView useStandardLigatures:]
| Declaration | |
|---|---|
| From | - (void)useStandardLigatures:(id)sender |
| To | - (void)useStandardLigatures:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (id)validRequestorForSendType:(NSString *)sendType returnType:(NSString *)returnType |
| To | - (id _Nullable)validRequestorForSendType:(NSString * _Nonnull)sendType returnType:(NSString * _Nonnull)returnType |
Modified NSTextView.writablePasteboardTypes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *writablePasteboardTypes |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *writablePasteboardTypes |
| Declaration | |
|---|---|
| From | - (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard type:(NSString *)type |
| To | - (BOOL)writeSelectionToPasteboard:(NSPasteboard * _Nonnull)pboard type:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard types:(NSArray *)types |
| To | - (BOOL)writeSelectionToPasteboard:(NSPasteboard * _Nonnull)pboard types:(NSArray<NSString *> * _Nonnull)types |
| Declaration | |
|---|---|
| From | - (void)textView:(NSTextView *)textView clickedOnCell:(id<NSTextAttachmentCell>)cell inRect:(NSRect)cellFrame |
| To | - (void)textView:(NSTextView * _Nonnull)textView clickedOnCell:(id<NSTextAttachmentCell> _Null_unspecified)cell inRect:(NSRect)cellFrame |
| Declaration | |
|---|---|
| From | - (void)textView:(NSTextView *)textView clickedOnCell:(id<NSTextAttachmentCell>)cell inRect:(NSRect)cellFrame atIndex:(NSUInteger)charIndex |
| To | - (void)textView:(NSTextView * _Nonnull)textView clickedOnCell:(id<NSTextAttachmentCell> _Nonnull)cell inRect:(NSRect)cellFrame atIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (BOOL)textView:(NSTextView *)textView clickedOnLink:(id)link |
| To | - (BOOL)textView:(NSTextView * _Nonnull)textView clickedOnLink:(id _Null_unspecified)link |
| Declaration | |
|---|---|
| From | - (BOOL)textView:(NSTextView *)textView clickedOnLink:(id)link atIndex:(NSUInteger)charIndex |
| To | - (BOOL)textView:(NSTextView * _Nonnull)textView clickedOnLink:(id _Nonnull)link atIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (NSArray *)textView:(NSTextView *)textView completions:(NSArray *)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger *)index |
| To | - (NSArray<NSString *> * _Nonnull)textView:(NSTextView * _Nonnull)textView completions:(NSArray<NSString *> * _Nonnull)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger * _Nullable)index |
Modified -[NSTextViewDelegate textView:didCheckTextInRange:types:options:results:orthography:wordCount:]
| Declaration | |
|---|---|
| From | - (NSArray *)textView:(NSTextView *)view didCheckTextInRange:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary *)options results:(NSArray *)results orthography:(NSOrthography *)orthography wordCount:(NSInteger)wordCount |
| To | - (NSArray<NSTextCheckingResult *> * _Nonnull)textView:(NSTextView * _Nonnull)view didCheckTextInRange:(NSRange)range types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary<NSString *,id> * _Nonnull)options results:(NSArray<NSTextCheckingResult *> * _Nonnull)results orthography:(NSOrthography * _Nonnull)orthography wordCount:(NSInteger)wordCount |
| Declaration | |
|---|---|
| From | - (BOOL)textView:(NSTextView *)textView doCommandBySelector:(SEL)commandSelector |
| To | - (BOOL)textView:(NSTextView * _Nonnull)textView doCommandBySelector:(SEL _Nonnull)commandSelector |
| Declaration | |
|---|---|
| From | - (void)textView:(NSTextView *)textView doubleClickedOnCell:(id<NSTextAttachmentCell>)cell inRect:(NSRect)cellFrame |
| To | - (void)textView:(NSTextView * _Nonnull)textView doubleClickedOnCell:(id<NSTextAttachmentCell> _Null_unspecified)cell inRect:(NSRect)cellFrame |
| Declaration | |
|---|---|
| From | - (void)textView:(NSTextView *)textView doubleClickedOnCell:(id<NSTextAttachmentCell>)cell inRect:(NSRect)cellFrame atIndex:(NSUInteger)charIndex |
| To | - (void)textView:(NSTextView * _Nonnull)textView doubleClickedOnCell:(id<NSTextAttachmentCell> _Nonnull)cell inRect:(NSRect)cellFrame atIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (void)textView:(NSTextView *)view draggedCell:(id<NSTextAttachmentCell>)cell inRect:(NSRect)rect event:(NSEvent *)event |
| To | - (void)textView:(NSTextView * _Nonnull)view draggedCell:(id<NSTextAttachmentCell> _Null_unspecified)cell inRect:(NSRect)rect event:(NSEvent * _Null_unspecified)event |
| Declaration | |
|---|---|
| From | - (void)textView:(NSTextView *)view draggedCell:(id<NSTextAttachmentCell>)cell inRect:(NSRect)rect event:(NSEvent *)event atIndex:(NSUInteger)charIndex |
| To | - (void)textView:(NSTextView * _Nonnull)view draggedCell:(id<NSTextAttachmentCell> _Nonnull)cell inRect:(NSRect)rect event:(NSEvent * _Nonnull)event atIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (NSMenu *)textView:(NSTextView *)view menu:(NSMenu *)menu forEvent:(NSEvent *)event atIndex:(NSUInteger)charIndex |
| To | - (NSMenu * _Nullable)textView:(NSTextView * _Nonnull)view menu:(NSMenu * _Nonnull)menu forEvent:(NSEvent * _Nonnull)event atIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (BOOL)textView:(NSTextView *)textView shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString *)replacementString |
| To | - (BOOL)textView:(NSTextView * _Nonnull)textView shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString * _Nullable)replacementString |
| Declaration | |
|---|---|
| From | - (BOOL)textView:(NSTextView *)textView shouldChangeTextInRanges:(NSArray *)affectedRanges replacementStrings:(NSArray *)replacementStrings |
| To | - (BOOL)textView:(NSTextView * _Nonnull)textView shouldChangeTextInRanges:(NSArray<NSValue *> * _Nonnull)affectedRanges replacementStrings:(NSArray<NSString *> * _Nullable)replacementStrings |
| Declaration | |
|---|---|
| From | - (NSDictionary *)textView:(NSTextView *)textView shouldChangeTypingAttributes:(NSDictionary *)oldTypingAttributes toAttributes:(NSDictionary *)newTypingAttributes |
| To | - (NSDictionary<NSString *,id> * _Nonnull)textView:(NSTextView * _Nonnull)textView shouldChangeTypingAttributes:(NSDictionary<NSString *,id> * _Nonnull)oldTypingAttributes toAttributes:(NSDictionary<NSString *,id> * _Nonnull)newTypingAttributes |
| Declaration | |
|---|---|
| From | - (NSInteger)textView:(NSTextView *)textView shouldSetSpellingState:(NSInteger)value range:(NSRange)affectedCharRange |
| To | - (NSInteger)textView:(NSTextView * _Nonnull)textView shouldSetSpellingState:(NSInteger)value range:(NSRange)affectedCharRange |
| Declaration | |
|---|---|
| From | - (NSURL *)textView:(NSTextView *)textView URLForContentsOfTextAttachment:(NSTextAttachment *)textAttachment atIndex:(NSUInteger)charIndex |
| To | - (NSURL * _Nullable)textView:(NSTextView * _Nonnull)textView URLForContentsOfTextAttachment:(NSTextAttachment * _Nonnull)textAttachment atIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (NSRange)textView:(NSTextView *)textView willChangeSelectionFromCharacterRange:(NSRange)oldSelectedCharRange toCharacterRange:(NSRange)newSelectedCharRange |
| To | - (NSRange)textView:(NSTextView * _Nonnull)textView willChangeSelectionFromCharacterRange:(NSRange)oldSelectedCharRange toCharacterRange:(NSRange)newSelectedCharRange |
| Declaration | |
|---|---|
| From | - (NSArray *)textView:(NSTextView *)textView willChangeSelectionFromCharacterRanges:(NSArray *)oldSelectedCharRanges toCharacterRanges:(NSArray *)newSelectedCharRanges |
| To | - (NSArray<NSValue *> * _Nonnull)textView:(NSTextView * _Nonnull)textView willChangeSelectionFromCharacterRanges:(NSArray<NSValue *> * _Nonnull)oldSelectedCharRanges toCharacterRanges:(NSArray<NSValue *> * _Nonnull)newSelectedCharRanges |
| Declaration | |
|---|---|
| From | - (NSDictionary *)textView:(NSTextView *)view willCheckTextInRange:(NSRange)range options:(NSDictionary *)options types:(NSTextCheckingTypes *)checkingTypes |
| To | - (NSDictionary<NSString *,id> * _Nonnull)textView:(NSTextView * _Nonnull)view willCheckTextInRange:(NSRange)range options:(NSDictionary<NSString *,id> * _Nonnull)options types:(NSTextCheckingTypes * _Nonnull)checkingTypes |
| Declaration | |
|---|---|
| From | - (NSString *)textView:(NSTextView *)textView willDisplayToolTip:(NSString *)tooltip forCharacterAtIndex:(NSUInteger)characterIndex |
| To | - (NSString * _Nullable)textView:(NSTextView * _Nonnull)textView willDisplayToolTip:(NSString * _Nonnull)tooltip forCharacterAtIndex:(NSUInteger)characterIndex |
| Declaration | |
|---|---|
| From | - (NSSharingServicePicker *)textView:(NSTextView *)textView willShowSharingServicePicker:(NSSharingServicePicker *)servicePicker forItems:(NSArray *)items |
| To | - (NSSharingServicePicker * _Nullable)textView:(NSTextView * _Nonnull)textView willShowSharingServicePicker:(NSSharingServicePicker * _Nonnull)servicePicker forItems:(NSArray * _Nonnull)items |
| Declaration | |
|---|---|
| From | - (NSArray *)textView:(NSTextView *)view writablePasteboardTypesForCell:(id<NSTextAttachmentCell>)cell atIndex:(NSUInteger)charIndex |
| To | - (NSArray<NSString *> * _Nonnull)textView:(NSTextView * _Nonnull)view writablePasteboardTypesForCell:(id<NSTextAttachmentCell> _Nonnull)cell atIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (BOOL)textView:(NSTextView *)view writeCell:(id<NSTextAttachmentCell>)cell atIndex:(NSUInteger)charIndex toPasteboard:(NSPasteboard *)pboard type:(NSString *)type |
| To | - (BOOL)textView:(NSTextView * _Nonnull)view writeCell:(id<NSTextAttachmentCell> _Nonnull)cell atIndex:(NSUInteger)charIndex toPasteboard:(NSPasteboard * _Nonnull)pboard type:(NSString * _Nonnull)type |
| Declaration | |
|---|---|
| From | - (void)textViewDidChangeSelection:(NSNotification *)notification |
| To | - (void)textViewDidChangeSelection:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)textViewDidChangeTypingAttributes:(NSNotification *)notification |
| To | - (void)textViewDidChangeTypingAttributes:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (NSUndoManager *)undoManagerForTextView:(NSTextView *)view |
| To | - (NSUndoManager * _Nullable)undoManagerForTextView:(NSTextView * _Nonnull)view |
NSTokenField.h
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)defaultTokenizingCharacterSet |
| To | + (NSCharacterSet * _Nonnull)defaultTokenizingCharacterSet |
Modified -[NSTokenField delegate]
| Declaration | |
|---|---|
| From | - (id<NSTokenFieldDelegate>)delegate |
| To | - (id<NSTokenFieldDelegate> _Nullable)delegate |
Modified -[NSTokenField setDelegate:]
| Declaration | |
|---|---|
| From | - (void)setDelegate:(id<NSTokenFieldDelegate>)anObject |
| To | - (void)setDelegate:(id<NSTokenFieldDelegate> _Nullable)anObject |
Modified NSTokenField.tokenizingCharacterSet
| Declaration | |
|---|---|
| From | @property(copy) NSCharacterSet *tokenizingCharacterSet |
| To | @property(copy) NSCharacterSet * _Null_unspecified tokenizingCharacterSet |
Modified -[NSTokenFieldDelegate tokenField:completionsForSubstring:indexOfToken:indexOfSelectedItem:]
| Declaration | |
|---|---|
| From | - (NSArray *)tokenField:(NSTokenField *)tokenField completionsForSubstring:(NSString *)substring indexOfToken:(NSInteger)tokenIndex indexOfSelectedItem:(NSInteger *)selectedIndex |
| To | - (NSArray * _Nullable)tokenField:(NSTokenField * _Nonnull)tokenField completionsForSubstring:(NSString * _Nonnull)substring indexOfToken:(NSInteger)tokenIndex indexOfSelectedItem:(NSInteger * _Nullable)selectedIndex |
| Declaration | |
|---|---|
| From | - (NSString *)tokenField:(NSTokenField *)tokenField displayStringForRepresentedObject:(id)representedObject |
| To | - (NSString * _Nullable)tokenField:(NSTokenField * _Nonnull)tokenField displayStringForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (NSString *)tokenField:(NSTokenField *)tokenField editingStringForRepresentedObject:(id)representedObject |
| To | - (NSString * _Nullable)tokenField:(NSTokenField * _Nonnull)tokenField editingStringForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (BOOL)tokenField:(NSTokenField *)tokenField hasMenuForRepresentedObject:(id)representedObject |
| To | - (BOOL)tokenField:(NSTokenField * _Nonnull)tokenField hasMenuForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (NSMenu *)tokenField:(NSTokenField *)tokenField menuForRepresentedObject:(id)representedObject |
| To | - (NSMenu * _Nullable)tokenField:(NSTokenField * _Nonnull)tokenField menuForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (NSArray *)tokenField:(NSTokenField *)tokenField readFromPasteboard:(NSPasteboard *)pboard |
| To | - (NSArray * _Nullable)tokenField:(NSTokenField * _Nonnull)tokenField readFromPasteboard:(NSPasteboard * _Nonnull)pboard |
| Declaration | |
|---|---|
| From | - (id)tokenField:(NSTokenField *)tokenField representedObjectForEditingString:(NSString *)editingString |
| To | - (id _Nonnull)tokenField:(NSTokenField * _Nonnull)tokenField representedObjectForEditingString:(NSString * _Nonnull)editingString |
| Declaration | |
|---|---|
| From | - (NSArray *)tokenField:(NSTokenField *)tokenField shouldAddObjects:(NSArray *)tokens atIndex:(NSUInteger)index |
| To | - (NSArray * _Nonnull)tokenField:(NSTokenField * _Nonnull)tokenField shouldAddObjects:(NSArray * _Nonnull)tokens atIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (NSTokenStyle)tokenField:(NSTokenField *)tokenField styleForRepresentedObject:(id)representedObject |
| To | - (NSTokenStyle)tokenField:(NSTokenField * _Nonnull)tokenField styleForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (BOOL)tokenField:(NSTokenField *)tokenField writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard |
| To | - (BOOL)tokenField:(NSTokenField * _Nonnull)tokenField writeRepresentedObjects:(NSArray * _Nonnull)objects toPasteboard:(NSPasteboard * _Nonnull)pboard |
NSTokenFieldCell.h
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)defaultTokenizingCharacterSet |
| To | + (NSCharacterSet * _Nonnull)defaultTokenizingCharacterSet |
Modified NSTokenFieldCell.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSTokenFieldCellDelegate> delegate |
| To | @property(assign, nullable) id<NSTokenFieldCellDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(copy) NSCharacterSet *tokenizingCharacterSet |
| To | @property(copy) NSCharacterSet * _Null_unspecified tokenizingCharacterSet |
Modified -[NSTokenFieldCellDelegate tokenFieldCell:completionsForSubstring:indexOfToken:indexOfSelectedItem:]
| Declaration | |
|---|---|
| From | - (NSArray *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell completionsForSubstring:(NSString *)substring indexOfToken:(NSInteger)tokenIndex indexOfSelectedItem:(NSInteger *)selectedIndex |
| To | - (NSArray * _Nonnull)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell completionsForSubstring:(NSString * _Nonnull)substring indexOfToken:(NSInteger)tokenIndex indexOfSelectedItem:(NSInteger * _Nonnull)selectedIndex |
| Declaration | |
|---|---|
| From | - (NSString *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell displayStringForRepresentedObject:(id)representedObject |
| To | - (NSString * _Nullable)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell displayStringForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (NSString *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell editingStringForRepresentedObject:(id)representedObject |
| To | - (NSString * _Nullable)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell editingStringForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (BOOL)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell hasMenuForRepresentedObject:(id)representedObject |
| To | - (BOOL)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell hasMenuForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (NSMenu *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell menuForRepresentedObject:(id)representedObject |
| To | - (NSMenu * _Nullable)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell menuForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (NSArray *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell readFromPasteboard:(NSPasteboard *)pboard |
| To | - (NSArray * _Nullable)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell readFromPasteboard:(NSPasteboard * _Nonnull)pboard |
| Declaration | |
|---|---|
| From | - (id)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell representedObjectForEditingString:(NSString *)editingString |
| To | - (id _Nonnull)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell representedObjectForEditingString:(NSString * _Nonnull)editingString |
| Declaration | |
|---|---|
| From | - (NSArray *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell shouldAddObjects:(NSArray *)tokens atIndex:(NSUInteger)index |
| To | - (NSArray * _Nonnull)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell shouldAddObjects:(NSArray * _Nonnull)tokens atIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (NSTokenStyle)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell styleForRepresentedObject:(id)representedObject |
| To | - (NSTokenStyle)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell styleForRepresentedObject:(id _Nonnull)representedObject |
| Declaration | |
|---|---|
| From | - (BOOL)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard |
| To | - (BOOL)tokenFieldCell:(NSTokenFieldCell * _Nonnull)tokenFieldCell writeRepresentedObjects:(NSArray * _Nonnull)objects toPasteboard:(NSPasteboard * _Nonnull)pboard |
NSToolbar.h
Modified NSToolbar.configurationDictionary
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *configurationDictionary |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *configurationDictionary |
Modified NSToolbar.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSToolbarDelegate> delegate |
| To | @property(assign, nullable) id<NSToolbarDelegate> delegate |
Modified NSToolbar.fullScreenAccessoryView
| Declaration | |
|---|---|
| From | @property(strong) NSView *fullScreenAccessoryView |
| To | @property(strong, nullable) NSView *fullScreenAccessoryView |
Modified NSToolbar.identifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *identifier |
| To | @property(readonly, copy, nonnull) NSString *identifier |
Modified -[NSToolbar initWithIdentifier:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithIdentifier:(NSString *)identifier |
| To | - (instancetype _Nonnull)initWithIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | - (void)insertItemWithItemIdentifier:(NSString *)itemIdentifier atIndex:(NSInteger)index |
| To | - (void)insertItemWithItemIdentifier:(NSString * _Nonnull)itemIdentifier atIndex:(NSInteger)index |
Modified NSToolbar.items
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *items |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSToolbarItem *> *items |
| Declaration | |
|---|---|
| From | - (void)runCustomizationPalette:(id)sender |
| To | - (void)runCustomizationPalette:(id _Nullable)sender |
Modified NSToolbar.selectedItemIdentifier
| Declaration | |
|---|---|
| From | @property(copy) NSString *selectedItemIdentifier |
| To | @property(copy, nullable) NSString *selectedItemIdentifier |
| Declaration | |
|---|---|
| From | - (void)setConfigurationFromDictionary:(NSDictionary *)configDict |
| To | - (void)setConfigurationFromDictionary:(NSDictionary<NSString *,id> * _Nonnull)configDict |
Modified NSToolbar.visibleItems
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *visibleItems |
| To | @property(readonly, copy, nullable) NSArray<__kindof NSToolbarItem *> *visibleItems |
| Declaration | |
|---|---|
| From | - (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag |
| To | - (NSToolbarItem * _Nullable)toolbar:(NSToolbar * _Nonnull)toolbar itemForItemIdentifier:(NSString * _Nonnull)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar *)toolbar |
| To | - (NSArray<NSString *> * _Nonnull)toolbarAllowedItemIdentifiers:(NSToolbar * _Nonnull)toolbar |
| Declaration | |
|---|---|
| From | - (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar *)toolbar |
| To | - (NSArray<NSString *> * _Nonnull)toolbarDefaultItemIdentifiers:(NSToolbar * _Nonnull)toolbar |
| Declaration | |
|---|---|
| From | - (void)toolbarDidRemoveItem:(NSNotification *)notification |
| To | - (void)toolbarDidRemoveItem:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar |
| To | - (NSArray<NSString *> * _Nonnull)toolbarSelectableItemIdentifiers:(NSToolbar * _Nonnull)toolbar |
| Declaration | |
|---|---|
| From | - (void)toolbarWillAddItem:(NSNotification *)notification |
| To | - (void)toolbarWillAddItem:(NSNotification * _Nonnull)notification |
NSToolbarItem.h
Modified -[NSObject validateToolbarItem:]
| Declaration | |
|---|---|
| From | - (BOOL)validateToolbarItem:(NSToolbarItem *)theItem |
| To | - (BOOL)validateToolbarItem:(NSToolbarItem * _Nonnull)theItem |
Modified NSToolbarItem.action
| Declaration | |
|---|---|
| From | @property SEL action |
| To | @property(nullable) SEL action |
Modified NSToolbarItem.image
| Declaration | |
|---|---|
| From | @property(strong) NSImage *image |
| To | @property(strong, nullable) NSImage *image |
| Declaration | |
|---|---|
| From | - (instancetype)initWithItemIdentifier:(NSString *)itemIdentifier |
| To | - (instancetype _Nonnull)initWithItemIdentifier:(NSString * _Nonnull)itemIdentifier |
Modified NSToolbarItem.itemIdentifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *itemIdentifier |
| To | @property(readonly, copy, nonnull) NSString *itemIdentifier |
Modified NSToolbarItem.label
| Declaration | |
|---|---|
| From | @property(copy) NSString *label |
| To | @property(copy, nonnull) NSString *label |
Modified NSToolbarItem.menuFormRepresentation
| Declaration | |
|---|---|
| From | @property(strong) NSMenuItem *menuFormRepresentation |
| To | @property(strong, nullable) NSMenuItem *menuFormRepresentation |
Modified NSToolbarItem.paletteLabel
| Declaration | |
|---|---|
| From | @property(copy) NSString *paletteLabel |
| To | @property(copy, nonnull) NSString *paletteLabel |
Modified NSToolbarItem.target
| Declaration | |
|---|---|
| From | @property(weak) id target |
| To | @property(weak, nullable) id target |
Modified NSToolbarItem.toolbar
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSToolbar *toolbar |
| To | @property(readonly, assign, nullable) NSToolbar *toolbar |
Modified NSToolbarItem.toolTip
| Declaration | |
|---|---|
| From | @property(copy) NSString *toolTip |
| To | @property(copy, nullable) NSString *toolTip |
Modified NSToolbarItem.view
| Declaration | |
|---|---|
| From | @property(strong) NSView *view |
| To | @property(strong, nullable) NSView *view |
NSToolbarItemGroup.h
Modified NSToolbarItemGroup.subitems
| Declaration | |
|---|---|
| From | @property(copy) NSArray *subitems |
| To | @property(copy, nonnull) NSArray<__kindof NSToolbarItem *> *subitems |
NSTouch.h
Modified NSTouch.device
| Declaration | |
|---|---|
| From | @property(readonly, strong) id device |
| To | @property(readonly, strong, nullable) id device |
Modified NSTouch.identity
| Declaration | |
|---|---|
| From | @property(readonly, strong) id<NSObject, NSCopying> identity |
| To | @property(readonly, strong, nonnull) id<NSObject, NSCopying> identity |
NSTrackingArea.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithRect:(NSRect)rect options:(NSTrackingAreaOptions)options owner:(id)owner userInfo:(NSDictionary *)userInfo |
| To | - (instancetype _Nonnull)initWithRect:(NSRect)rect options:(NSTrackingAreaOptions)options owner:(id _Nullable)owner userInfo:(NSDictionary<id,id> * _Nullable)userInfo |
Modified NSTrackingArea.owner
| Declaration | |
|---|---|
| From | @property(readonly, assign) id owner |
| To | @property(readonly, assign, nullable) id owner |
Modified NSTrackingArea.userInfo
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *userInfo |
| To | @property(readonly, copy, nullable) NSDictionary<id, id> *userInfo |
NSTreeController.h
Modified -[NSTreeController add:]
| Declaration | |
|---|---|
| From | - (void)add:(id)sender |
| To | - (void)add:(id _Nullable)sender |
Modified -[NSTreeController addChild:]
| Declaration | |
|---|---|
| From | - (void)addChild:(id)sender |
| To | - (void)addChild:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (BOOL)addSelectionIndexPaths:(NSArray *)indexPaths |
| To | - (BOOL)addSelectionIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
Modified NSTreeController.arrangedObjects
| Declaration | |
|---|---|
| From | @property(readonly, strong) id arrangedObjects |
| To | @property(readonly, strong, nonnull) id arrangedObjects |
Modified NSTreeController.childrenKeyPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *childrenKeyPath |
| To | @property(copy, nullable) NSString *childrenKeyPath |
| Declaration | |
|---|---|
| From | - (NSString *)childrenKeyPathForNode:(NSTreeNode *)node |
| To | - (NSString * _Nullable)childrenKeyPathForNode:(NSTreeNode * _Nonnull)node |
Modified NSTreeController.content
| Declaration | |
|---|---|
| From | @property(strong) id content |
| To | @property(strong, nullable) id content |
Modified NSTreeController.countKeyPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *countKeyPath |
| To | @property(copy, nullable) NSString *countKeyPath |
| Declaration | |
|---|---|
| From | - (NSString *)countKeyPathForNode:(NSTreeNode *)node |
| To | - (NSString * _Nullable)countKeyPathForNode:(NSTreeNode * _Nonnull)node |
Modified -[NSTreeController insert:]
| Declaration | |
|---|---|
| From | - (void)insert:(id)sender |
| To | - (void)insert:(id _Nullable)sender |
Modified -[NSTreeController insertChild:]
| Declaration | |
|---|---|
| From | - (void)insertChild:(id)sender |
| To | - (void)insertChild:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)insertObject:(id)object atArrangedObjectIndexPath:(NSIndexPath *)indexPath |
| To | - (void)insertObject:(id _Nullable)object atArrangedObjectIndexPath:(NSIndexPath * _Nonnull)indexPath |
| Declaration | |
|---|---|
| From | - (void)insertObjects:(NSArray *)objects atArrangedObjectIndexPaths:(NSArray *)indexPaths |
| To | - (void)insertObjects:(NSArray * _Nonnull)objects atArrangedObjectIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
Modified NSTreeController.leafKeyPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *leafKeyPath |
| To | @property(copy, nullable) NSString *leafKeyPath |
| Declaration | |
|---|---|
| From | - (NSString *)leafKeyPathForNode:(NSTreeNode *)node |
| To | - (NSString * _Nullable)leafKeyPathForNode:(NSTreeNode * _Nonnull)node |
| Declaration | |
|---|---|
| From | - (void)moveNode:(NSTreeNode *)node toIndexPath:(NSIndexPath *)indexPath |
| To | - (void)moveNode:(NSTreeNode * _Nonnull)node toIndexPath:(NSIndexPath * _Nonnull)indexPath |
| Declaration | |
|---|---|
| From | - (void)moveNodes:(NSArray *)nodes toIndexPath:(NSIndexPath *)startingIndexPath |
| To | - (void)moveNodes:(NSArray<NSTreeNode *> * _Nonnull)nodes toIndexPath:(NSIndexPath * _Nonnull)startingIndexPath |
Modified -[NSTreeController remove:]
| Declaration | |
|---|---|
| From | - (void)remove:(id)sender |
| To | - (void)remove:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)removeObjectAtArrangedObjectIndexPath:(NSIndexPath *)indexPath |
| To | - (void)removeObjectAtArrangedObjectIndexPath:(NSIndexPath * _Nonnull)indexPath |
| Declaration | |
|---|---|
| From | - (void)removeObjectsAtArrangedObjectIndexPaths:(NSArray *)indexPaths |
| To | - (void)removeObjectsAtArrangedObjectIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
| Declaration | |
|---|---|
| From | - (BOOL)removeSelectionIndexPaths:(NSArray *)indexPaths |
| To | - (BOOL)removeSelectionIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
Modified NSTreeController.selectedNodes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *selectedNodes |
| To | @property(readonly, copy, nonnull) NSArray<NSTreeNode *> *selectedNodes |
Modified NSTreeController.selectedObjects
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *selectedObjects |
| To | @property(readonly, copy, nonnull) NSArray *selectedObjects |
Modified NSTreeController.selectionIndexPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSIndexPath *selectionIndexPath |
| To | @property(readonly, copy, nullable) NSIndexPath *selectionIndexPath |
Modified NSTreeController.selectionIndexPaths
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *selectionIndexPaths |
| To | @property(readonly, copy, nonnull) NSArray<NSIndexPath *> *selectionIndexPaths |
| Declaration | |
|---|---|
| From | - (BOOL)setSelectionIndexPath:(NSIndexPath *)indexPath |
| To | - (BOOL)setSelectionIndexPath:(NSIndexPath * _Nullable)indexPath |
| Declaration | |
|---|---|
| From | - (BOOL)setSelectionIndexPaths:(NSArray *)indexPaths |
| To | - (BOOL)setSelectionIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
Modified NSTreeController.sortDescriptors
| Declaration | |
|---|---|
| From | @property(copy) NSArray *sortDescriptors |
| To | @property(copy, nonnull) NSArray<NSSortDescriptor *> *sortDescriptors |
NSTreeNode.h
Modified NSTreeNode.childNodes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *childNodes |
| To | @property(readonly, copy, nullable) NSArray<NSTreeNode *> *childNodes |
| Declaration | |
|---|---|
| From | - (NSTreeNode *)descendantNodeAtIndexPath:(NSIndexPath *)indexPath |
| To | - (NSTreeNode * _Nullable)descendantNodeAtIndexPath:(NSIndexPath * _Nonnull)indexPath |
Modified NSTreeNode.indexPath
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSIndexPath *indexPath |
| To | @property(readonly, strong, nonnull) NSIndexPath *indexPath |
| Declaration | |
|---|---|
| From | - (instancetype)initWithRepresentedObject:(id)modelObject |
| To | - (instancetype _Nonnull)initWithRepresentedObject:(id _Nullable)modelObject |
Modified NSTreeNode.mutableChildNodes
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSMutableArray *mutableChildNodes |
| To | @property(readonly, strong, nonnull) NSMutableArray<NSTreeNode *> *mutableChildNodes |
Modified NSTreeNode.parentNode
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSTreeNode *parentNode |
| To | @property(readonly, assign, nullable) NSTreeNode *parentNode |
Modified NSTreeNode.representedObject
| Declaration | |
|---|---|
| From | @property(readonly, strong) id representedObject |
| To | @property(readonly, strong, nullable) id representedObject |
| Declaration | |
|---|---|
| From | - (void)sortWithSortDescriptors:(NSArray *)sortDescriptors recursively:(BOOL)recursively |
| To | - (void)sortWithSortDescriptors:(NSArray<NSSortDescriptor *> * _Nonnull)sortDescriptors recursively:(BOOL)recursively |
| Declaration | |
|---|---|
| From | + (instancetype)treeNodeWithRepresentedObject:(id)modelObject |
| To | + (instancetype _Nonnull)treeNodeWithRepresentedObject:(id _Nullable)modelObject |
NSTypesetter.h
Modified NSTypesetter.attributedString
| Declaration | |
|---|---|
| From | @property(assign) NSAttributedString *attributedString |
| To | @property(assign, nullable) NSAttributedString *attributedString |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *attributesForExtraLineFragment |
| To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *attributesForExtraLineFragment |
| Declaration | |
|---|---|
| From | - (CGFloat)baselineOffsetInLayoutManager:(NSLayoutManager *)layoutMgr glyphIndex:(NSUInteger)glyphIndex |
| To | - (CGFloat)baselineOffsetInLayoutManager:(NSLayoutManager * _Nonnull)layoutMgr glyphIndex:(NSUInteger)glyphIndex |
| Declaration | |
|---|---|
| From | - (NSRect)boundingBoxForControlGlyphAtIndex:(NSUInteger)glyphIndex forTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(NSRect)proposedRect glyphPosition:(NSPoint)glyphPosition characterIndex:(NSUInteger)charIndex |
| To | - (NSRect)boundingBoxForControlGlyphAtIndex:(NSUInteger)glyphIndex forTextContainer:(NSTextContainer * _Nonnull)textContainer proposedLineFragment:(NSRect)proposedRect glyphPosition:(NSPoint)glyphPosition characterIndex:(NSUInteger)charIndex |
| Declaration | |
|---|---|
| From | - (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer)actualGlyphRange |
| To | - (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer _Nullable)actualGlyphRange |
Modified NSTypesetter.currentParagraphStyle
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSParagraphStyle *currentParagraphStyle |
| To | @property(readonly, copy, nullable) NSParagraphStyle *currentParagraphStyle |
Modified NSTypesetter.currentTextContainer
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSTextContainer *currentTextContainer |
| To | @property(readonly, assign, nullable) NSTextContainer *currentTextContainer |
Modified -[NSTypesetter getGlyphsInRange:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:]
| Declaration | |
|---|---|
| From | - (NSUInteger)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph *)glyphBuffer characterIndexes:(NSUInteger *)charIndexBuffer glyphInscriptions:(NSGlyphInscription *)inscribeBuffer elasticBits:(BOOL *)elasticBuffer bidiLevels:(unsigned char *)bidiLevelBuffer |
| To | - (NSUInteger)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph * _Null_unspecified)glyphBuffer characterIndexes:(NSUInteger * _Null_unspecified)charIndexBuffer glyphInscriptions:(NSGlyphInscription * _Null_unspecified)inscribeBuffer elasticBits:(BOOL * _Null_unspecified)elasticBuffer bidiLevels:(unsigned char * _Null_unspecified)bidiLevelBuffer |
Modified -[NSTypesetter getLineFragmentRect:usedRect:forParagraphSeparatorGlyphRange:atProposedOrigin:]
| Declaration | |
|---|---|
| From | - (void)getLineFragmentRect:(NSRectPointer)lineFragmentRect usedRect:(NSRectPointer)lineFragmentUsedRect forParagraphSeparatorGlyphRange:(NSRange)paragraphSeparatorGlyphRange atProposedOrigin:(NSPoint)lineOrigin |
| To | - (void)getLineFragmentRect:(NSRectPointer _Nonnull)lineFragmentRect usedRect:(NSRectPointer _Nonnull)lineFragmentUsedRect forParagraphSeparatorGlyphRange:(NSRange)paragraphSeparatorGlyphRange atProposedOrigin:(NSPoint)lineOrigin |
| Declaration | |
|---|---|
| From | - (void)getLineFragmentRect:(NSRectPointer)lineFragmentRect usedRect:(NSRectPointer)lineFragmentUsedRect remainingRect:(NSRectPointer)remainingRect forStartingGlyphAtIndex:(NSUInteger)startingGlyphIndex proposedRect:(NSRect)proposedRect lineSpacing:(CGFloat)lineSpacing paragraphSpacingBefore:(CGFloat)paragraphSpacingBefore paragraphSpacingAfter:(CGFloat)paragraphSpacingAfter |
| To | - (void)getLineFragmentRect:(NSRectPointer _Null_unspecified)lineFragmentRect usedRect:(NSRectPointer _Null_unspecified)lineFragmentUsedRect remainingRect:(NSRectPointer _Null_unspecified)remainingRect forStartingGlyphAtIndex:(NSUInteger)startingGlyphIndex proposedRect:(NSRect)proposedRect lineSpacing:(CGFloat)lineSpacing paragraphSpacingBefore:(CGFloat)paragraphSpacingBefore paragraphSpacingAfter:(CGFloat)paragraphSpacingAfter |
| Declaration | |
|---|---|
| From | - (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange |
| To | - (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer _Nullable)actualCharRange |
| Declaration | |
|---|---|
| From | - (NSRange)layoutCharactersInRange:(NSRange)characterRange forLayoutManager:(NSLayoutManager *)layoutManager maximumNumberOfLineFragments:(NSUInteger)maxNumLines |
| To | - (NSRange)layoutCharactersInRange:(NSRange)characterRange forLayoutManager:(NSLayoutManager * _Nonnull)layoutManager maximumNumberOfLineFragments:(NSUInteger)maxNumLines |
| Declaration | |
|---|---|
| From | - (void)layoutGlyphsInLayoutManager:(NSLayoutManager *)layoutManager startingAtGlyphIndex:(NSUInteger)startGlyphIndex maxNumberOfLineFragments:(NSUInteger)maxNumLines nextGlyphIndex:(NSUInteger *)nextGlyph |
| To | - (void)layoutGlyphsInLayoutManager:(NSLayoutManager * _Nonnull)layoutManager startingAtGlyphIndex:(NSUInteger)startGlyphIndex maxNumberOfLineFragments:(NSUInteger)maxNumLines nextGlyphIndex:(NSUInteger * _Nonnull)nextGlyph |
Modified NSTypesetter.layoutManager
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSLayoutManager *layoutManager |
| To | @property(readonly, assign, nullable) NSLayoutManager *layoutManager |
| Declaration | |
|---|---|
| From | - (NSUInteger)layoutParagraphAtPoint:(NSPointPointer)lineFragmentOrigin |
| To | - (NSUInteger)layoutParagraphAtPoint:(NSPointPointer _Nonnull)lineFragmentOrigin |
Modified +[NSTypesetter printingAdjustmentInLayoutManager:forNominallySpacedGlyphRange:packedGlyphs:count:]
| Declaration | |
|---|---|
| From | + (NSSize)printingAdjustmentInLayoutManager:(NSLayoutManager *)layoutMgr forNominallySpacedGlyphRange:(NSRange)nominallySpacedGlyphsRange packedGlyphs:(const unsigned char *)packedGlyphs count:(NSUInteger)packedGlyphsCount |
| To | + (NSSize)printingAdjustmentInLayoutManager:(NSLayoutManager * _Nonnull)layoutMgr forNominallySpacedGlyphRange:(NSRange)nominallySpacedGlyphsRange packedGlyphs:(const unsigned char * _Nonnull)packedGlyphs count:(NSUInteger)packedGlyphsCount |
| Declaration | |
|---|---|
| From | - (void)setBidiLevels:(const uint8_t *)levels forGlyphRange:(NSRange)glyphRange |
| To | - (void)setBidiLevels:(const uint8_t * _Null_unspecified)levels forGlyphRange:(NSRange)glyphRange |
| Declaration | |
|---|---|
| From | - (void)setLocation:(NSPoint)location withAdvancements:(const CGFloat *)advancements forStartOfGlyphRange:(NSRange)glyphRange |
| To | - (void)setLocation:(NSPoint)location withAdvancements:(const CGFloat * _Null_unspecified)advancements forStartOfGlyphRange:(NSRange)glyphRange |
| Declaration | |
|---|---|
| From | + (id)sharedSystemTypesetter |
| To | + (id _Nonnull)sharedSystemTypesetter |
| Declaration | |
|---|---|
| From | + (id)sharedSystemTypesetterForBehavior:(NSTypesetterBehavior)theBehavior |
| To | + (id _Nonnull)sharedSystemTypesetterForBehavior:(NSTypesetterBehavior)theBehavior |
| Declaration | |
|---|---|
| From | - (NSFont *)substituteFontForFont:(NSFont *)originalFont |
| To | - (NSFont * _Nonnull)substituteFontForFont:(NSFont * _Nonnull)originalFont |
| Declaration | |
|---|---|
| From | - (void)substituteGlyphsInRange:(NSRange)glyphRange withGlyphs:(NSGlyph *)glyphs |
| To | - (void)substituteGlyphsInRange:(NSRange)glyphRange withGlyphs:(NSGlyph * _Null_unspecified)glyphs |
Modified NSTypesetter.textContainers
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSArray *textContainers |
| To | @property(readonly, assign, nullable) NSArray<NSTextContainer *> *textContainers |
| Declaration | |
|---|---|
| From | - (NSTextTab *)textTabForGlyphLocation:(CGFloat)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(CGFloat)maxLocation |
| To | - (NSTextTab * _Nullable)textTabForGlyphLocation:(CGFloat)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(CGFloat)maxLocation |
| Declaration | |
|---|---|
| From | - (void)willSetLineFragmentRect:(NSRectPointer)lineRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRectPointer)usedRect baselineOffset:(CGFloat *)baselineOffset |
| To | - (void)willSetLineFragmentRect:(NSRectPointer _Nonnull)lineRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRectPointer _Nonnull)usedRect baselineOffset:(CGFloat * _Nonnull)baselineOffset |
NSUserActivity.h
| Declaration | |
|---|---|
| From | - (void)restoreUserActivityState:(NSUserActivity *)activity |
| To | - (void)restoreUserActivityState:(NSUserActivity * _Nonnull)activity |
| Declaration | |
|---|---|
| From | - (void)updateUserActivityState:(NSUserActivity *)activity |
| To | - (void)updateUserActivityState:(NSUserActivity * _Nonnull)activity |
Modified NSDocument.userActivity
| Declaration | |
|---|---|
| From | @property(strong) NSUserActivity *userActivity |
| To | @property(strong, nullable) NSUserActivity *userActivity |
| Declaration | |
|---|---|
| From | - (void)restoreUserActivityState:(NSUserActivity *)userActivity |
| To | - (void)restoreUserActivityState:(NSUserActivity * _Nonnull)userActivity |
| Declaration | |
|---|---|
| From | - (void)updateUserActivityState:(NSUserActivity *)userActivity |
| To | - (void)updateUserActivityState:(NSUserActivity * _Nonnull)userActivity |
Modified NSResponder.userActivity
| Declaration | |
|---|---|
| From | @property(strong) NSUserActivity *userActivity |
| To | @property(strong, nullable) NSUserActivity *userActivity |
NSUserDefaultsController.h
Modified NSUserDefaultsController.defaults
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSUserDefaults *defaults |
| To | @property(readonly, strong, nonnull) NSUserDefaults *defaults |
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *initialValues |
| To | @property(copy, nullable) NSDictionary<NSString *,id> *initialValues |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDefaults:(NSUserDefaults *)defaults initialValues:(NSDictionary *)initialValues |
| To | - (instancetype _Nonnull)initWithDefaults:(NSUserDefaults * _Nullable)defaults initialValues:(NSDictionary<NSString *,id> * _Nullable)initialValues |
Modified -[NSUserDefaultsController revert:]
| Declaration | |
|---|---|
| From | - (void)revert:(id)sender |
| To | - (void)revert:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)revertToInitialValues:(id)sender |
| To | - (void)revertToInitialValues:(id _Nullable)sender |
Modified -[NSUserDefaultsController save:]
| Declaration | |
|---|---|
| From | - (void)save:(id)sender |
| To | - (void)save:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | + (NSUserDefaultsController *)sharedUserDefaultsController |
| To | + (NSUserDefaultsController * _Nonnull)sharedUserDefaultsController |
Modified NSUserDefaultsController.values
| Declaration | |
|---|---|
| From | @property(readonly, strong) id values |
| To | @property(readonly, strong, nonnull) id values |
NSUserInterfaceItemIdentification.h
| Declaration | |
|---|---|
| From | @property(copy) NSString *identifier |
| To | @property(copy, nullable) NSString *identifier |
NSUserInterfaceItemSearching.h
| Declaration | |
|---|---|
| From | - (void)registerUserInterfaceItemSearchHandler:(id<NSUserInterfaceItemSearching>)handler |
| To | - (void)registerUserInterfaceItemSearchHandler:(id<NSUserInterfaceItemSearching> _Nonnull)handler |
| Declaration | |
|---|---|
| From | - (BOOL)searchString:(NSString *)searchString inUserInterfaceItemString:(NSString *)stringToSearch searchRange:(NSRange)searchRange foundRange:(NSRange *)foundRange |
| To | - (BOOL)searchString:(NSString * _Nonnull)searchString inUserInterfaceItemString:(NSString * _Nonnull)stringToSearch searchRange:(NSRange)searchRange foundRange:(NSRange * _Nullable)foundRange |
| Declaration | |
|---|---|
| From | - (void)unregisterUserInterfaceItemSearchHandler:(id<NSUserInterfaceItemSearching>)handler |
| To | - (void)unregisterUserInterfaceItemSearchHandler:(id<NSUserInterfaceItemSearching> _Nonnull)handler |
| Declaration | |
|---|---|
| From | - (NSArray *)localizedTitlesForItem:(id)item |
| To | - (NSArray<NSString *> * _Nonnull)localizedTitlesForItem:(id _Nonnull)item |
| Declaration | |
|---|---|
| From | - (void)performActionForItem:(id)item |
| To | - (void)performActionForItem:(id _Nonnull)item |
Modified -[NSUserInterfaceItemSearching searchForItemsWithSearchString:resultLimit:matchedItemHandler:]
| Declaration | |
|---|---|
| From | - (void)searchForItemsWithSearchString:(NSString *)searchString resultLimit:(NSInteger)resultLimit matchedItemHandler:(void (^)(NSArray *items))handleMatchedItems |
| To | - (void)searchForItemsWithSearchString:(NSString * _Nonnull)searchString resultLimit:(NSInteger)resultLimit matchedItemHandler:(void (^ _Nonnull)(NSArray * _Nonnull items))handleMatchedItems |
| Declaration | |
|---|---|
| From | - (void)showAllHelpTopicsForSearchString:(NSString *)searchString |
| To | - (void)showAllHelpTopicsForSearchString:(NSString * _Nonnull)searchString |
NSUserInterfaceLayout.h (Added)
Modified NSUserInterfaceLayoutDirection
| Header | |
|---|---|
| From | AppKit/NSApplication.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSApplication.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSApplication.h |
| To | AppKit/NSUserInterfaceLayout.h |
Modified NSUserInterfaceLayoutOrientation
| Header | |
|---|---|
| From | AppKit/NSStackView.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSStackView.h |
| To | AppKit/NSUserInterfaceLayout.h |
| Header | |
|---|---|
| From | AppKit/NSStackView.h |
| To | AppKit/NSUserInterfaceLayout.h |
NSUserInterfaceValidation.h
| Declaration | |
|---|---|
| From | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)anItem |
| To | - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem> _Nonnull)anItem |
| Declaration | |
|---|---|
| From | - (SEL)action |
| To | - (SEL _Nullable)action |
NSView.h
Removed -[NSView setSubviews:]
| Declaration | |
|---|---|
| From | - (BOOL)layer:(CALayer *)layer shouldInheritContentsScale:(CGFloat)newScale fromWindow:(NSWindow *)window |
| To | - (BOOL)layer:(CALayer * _Nonnull)layer shouldInheritContentsScale:(CGFloat)newScale fromWindow:(NSWindow * _Nonnull)window |
| Declaration | |
|---|---|
| From | - (NSString *)view:(NSView *)view stringForToolTip:(NSToolTipTag)tag point:(NSPoint)point userData:(void *)data |
| To | - (NSString * _Nonnull)view:(NSView * _Nonnull)view stringForToolTip:(NSToolTipTag)tag point:(NSPoint)point userData:(void * _Nullable)data |
Modified -[NSView acceptsFirstMouse:]
| Declaration | |
|---|---|
| From | - (BOOL)acceptsFirstMouse:(NSEvent *)theEvent |
| To | - (BOOL)acceptsFirstMouse:(NSEvent * _Nullable)theEvent |
Modified -[NSView addCursorRect:cursor:]
| Declaration | |
|---|---|
| From | - (void)addCursorRect:(NSRect)aRect cursor:(NSCursor *)anObj |
| To | - (void)addCursorRect:(NSRect)aRect cursor:(NSCursor * _Nonnull)anObj |
Modified -[NSView addGestureRecognizer:]
| Declaration | |
|---|---|
| From | - (void)addGestureRecognizer:(NSGestureRecognizer *)gestureRecognizer |
| To | - (void)addGestureRecognizer:(NSGestureRecognizer * _Nonnull)gestureRecognizer |
Modified -[NSView addSubview:]
| Declaration | |
|---|---|
| From | - (void)addSubview:(NSView *)aView |
| To | - (void)addSubview:(NSView * _Nonnull)aView |
| Declaration | |
|---|---|
| From | - (void)addSubview:(NSView *)aView positioned:(NSWindowOrderingMode)place relativeTo:(NSView *)otherView |
| To | - (void)addSubview:(NSView * _Nonnull)aView positioned:(NSWindowOrderingMode)place relativeTo:(NSView * _Nullable)otherView |
| Declaration | |
|---|---|
| From | - (NSToolTipTag)addToolTipRect:(NSRect)aRect owner:(id)anObject userData:(void *)data |
| To | - (NSToolTipTag)addToolTipRect:(NSRect)aRect owner:(id _Nonnull)anObject userData:(void * _Nullable)data |
Modified -[NSView addTrackingArea:]
| Declaration | |
|---|---|
| From | - (void)addTrackingArea:(NSTrackingArea *)trackingArea |
| To | - (void)addTrackingArea:(NSTrackingArea * _Nonnull)trackingArea |
| Declaration | |
|---|---|
| From | - (NSTrackingRectTag)addTrackingRect:(NSRect)aRect owner:(id)anObject userData:(void *)data assumeInside:(BOOL)flag |
| To | - (NSTrackingRectTag)addTrackingRect:(NSRect)aRect owner:(id _Nonnull)anObject userData:(void * _Nullable)data assumeInside:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (void)adjustPageHeightNew:(CGFloat *)newBottom top:(CGFloat)oldTop bottom:(CGFloat)oldBottom limit:(CGFloat)bottomLimit |
| To | - (void)adjustPageHeightNew:(CGFloat * _Nonnull)newBottom top:(CGFloat)oldTop bottom:(CGFloat)oldBottom limit:(CGFloat)bottomLimit |
| Declaration | |
|---|---|
| From | - (void)adjustPageWidthNew:(CGFloat *)newRight left:(CGFloat)oldLeft right:(CGFloat)oldRight limit:(CGFloat)rightLimit |
| To | - (void)adjustPageWidthNew:(CGFloat * _Nonnull)newRight left:(CGFloat)oldLeft right:(CGFloat)oldRight limit:(CGFloat)rightLimit |
Modified -[NSView ancestorSharedWithView:]
| Declaration | |
|---|---|
| From | - (NSView *)ancestorSharedWithView:(NSView *)aView |
| To | - (NSView * _Nullable)ancestorSharedWithView:(NSView * _Nonnull)aView |
Modified -[NSView autoscroll:]
| Declaration | |
|---|---|
| From | - (BOOL)autoscroll:(NSEvent *)theEvent |
| To | - (BOOL)autoscroll:(NSEvent * _Nonnull)theEvent |
Modified NSView.backgroundFilters
| Declaration | |
|---|---|
| From | @property(copy) NSArray *backgroundFilters |
| To | @property(copy, nonnull) NSArray<__kindof CIFilter *> *backgroundFilters |
| Declaration | |
|---|---|
| From | - (NSDraggingSession *)beginDraggingSessionWithItems:(NSArray *)items event:(NSEvent *)event source:(id<NSDraggingSource>)source |
| To | - (NSDraggingSession * _Nonnull)beginDraggingSessionWithItems:(NSArray<NSDraggingItem *> * _Nonnull)items event:(NSEvent * _Nonnull)event source:(id<NSDraggingSource> _Nonnull)source |
| Declaration | |
|---|---|
| From | - (NSBitmapImageRep *)bitmapImageRepForCachingDisplayInRect:(NSRect)rect |
| To | - (NSBitmapImageRep * _Nullable)bitmapImageRepForCachingDisplayInRect:(NSRect)rect |
| Declaration | |
|---|---|
| From | - (void)cacheDisplayInRect:(NSRect)rect toBitmapImageRep:(NSBitmapImageRep *)bitmapImageRep |
| To | - (void)cacheDisplayInRect:(NSRect)rect toBitmapImageRep:(NSBitmapImageRep * _Nonnull)bitmapImageRep |
Modified NSView.compositingFilter
| Declaration | |
|---|---|
| From | @property(strong) CIFilter *compositingFilter |
| To | @property(strong, nullable) CIFilter *compositingFilter |
Modified NSView.contentFilters
| Declaration | |
|---|---|
| From | @property(copy) NSArray *contentFilters |
| To | @property(copy, nonnull) NSArray<__kindof CIFilter *> *contentFilters |
Modified -[NSView convertPoint:fromView:]
| Declaration | |
|---|---|
| From | - (NSPoint)convertPoint:(NSPoint)aPoint fromView:(NSView *)aView |
| To | - (NSPoint)convertPoint:(NSPoint)aPoint fromView:(NSView * _Nullable)aView |
Modified -[NSView convertPoint:toView:]
| Declaration | |
|---|---|
| From | - (NSPoint)convertPoint:(NSPoint)aPoint toView:(NSView *)aView |
| To | - (NSPoint)convertPoint:(NSPoint)aPoint toView:(NSView * _Nullable)aView |
Modified -[NSView convertRect:fromView:]
| Declaration | |
|---|---|
| From | - (NSRect)convertRect:(NSRect)aRect fromView:(NSView *)aView |
| To | - (NSRect)convertRect:(NSRect)aRect fromView:(NSView * _Nullable)aView |
Modified -[NSView convertRect:toView:]
| Declaration | |
|---|---|
| From | - (NSRect)convertRect:(NSRect)aRect toView:(NSView *)aView |
| To | - (NSRect)convertRect:(NSRect)aRect toView:(NSView * _Nullable)aView |
Modified -[NSView convertSize:fromView:]
| Declaration | |
|---|---|
| From | - (NSSize)convertSize:(NSSize)aSize fromView:(NSView *)aView |
| To | - (NSSize)convertSize:(NSSize)aSize fromView:(NSView * _Nullable)aView |
Modified -[NSView convertSize:toView:]
| Declaration | |
|---|---|
| From | - (NSSize)convertSize:(NSSize)aSize toView:(NSView *)aView |
| To | - (NSSize)convertSize:(NSSize)aSize toView:(NSView * _Nullable)aView |
Modified -[NSView dataWithEPSInsideRect:]
| Declaration | |
|---|---|
| From | - (NSData *)dataWithEPSInsideRect:(NSRect)rect |
| To | - (NSData * _Nonnull)dataWithEPSInsideRect:(NSRect)rect |
Modified -[NSView dataWithPDFInsideRect:]
| Declaration | |
|---|---|
| From | - (NSData *)dataWithPDFInsideRect:(NSRect)rect |
| To | - (NSData * _Nonnull)dataWithPDFInsideRect:(NSRect)rect |
Modified +[NSView defaultMenu]
| Declaration | |
|---|---|
| From | + (NSMenu *)defaultMenu |
| To | + (NSMenu * _Nullable)defaultMenu |
Modified -[NSView didAddSubview:]
| Declaration | |
|---|---|
| From | - (void)didAddSubview:(NSView *)subview |
| To | - (void)didAddSubview:(NSView * _Nonnull)subview |
| Declaration | |
|---|---|
| From | - (void)displayRectIgnoringOpacity:(NSRect)aRect inContext:(NSGraphicsContext *)context |
| To | - (void)displayRectIgnoringOpacity:(NSRect)aRect inContext:(NSGraphicsContext * _Nonnull)context |
| Declaration | |
|---|---|
| From | - (BOOL)dragFile:(NSString *)filename fromRect:(NSRect)rect slideBack:(BOOL)aFlag event:(NSEvent *)event |
| To | - (BOOL)dragFile:(NSString * _Nonnull)filename fromRect:(NSRect)rect slideBack:(BOOL)aFlag event:(NSEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)dragImage:(NSImage *)anImage at:(NSPoint)viewLocation offset:(NSSize)initialOffset event:(NSEvent *)event pasteboard:(NSPasteboard *)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag |
| To | - (void)dragImage:(NSImage * _Nonnull)anImage at:(NSPoint)viewLocation offset:(NSSize)initialOffset event:(NSEvent * _Nonnull)event pasteboard:(NSPasteboard * _Nonnull)pboard source:(id _Nonnull)sourceObj slideBack:(BOOL)slideFlag |
| Declaration | |
|---|---|
| From | - (BOOL)dragPromisedFilesOfTypes:(NSArray *)typeArray fromRect:(NSRect)rect source:(id)sourceObject slideBack:(BOOL)aFlag event:(NSEvent *)event |
| To | - (BOOL)dragPromisedFilesOfTypes:(NSArray<NSString *> * _Nonnull)typeArray fromRect:(NSRect)rect source:(id _Nonnull)sourceObject slideBack:(BOOL)aFlag event:(NSEvent * _Nonnull)event |
Modified NSView.enclosingScrollView
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSScrollView *enclosingScrollView |
| To | @property(readonly, strong, nullable) NSScrollView *enclosingScrollView |
| Declaration | |
|---|---|
| From | - (BOOL)enterFullScreenMode:(NSScreen *)screen withOptions:(NSDictionary *)options |
| To | - (BOOL)enterFullScreenMode:(NSScreen * _Nonnull)screen withOptions:(NSDictionary<NSString *,id> * _Nullable)options |
| Declaration | |
|---|---|
| From | - (void)exitFullScreenModeWithOptions:(NSDictionary *)options |
| To | - (void)exitFullScreenModeWithOptions:(NSDictionary<NSString *,id> * _Nullable)options |
Modified +[NSView focusView]
| Declaration | |
|---|---|
| From | + (NSView *)focusView |
| To | + (NSView * _Nullable)focusView |
Modified NSView.gestureRecognizers
| Declaration | |
|---|---|
| From | @property(copy) NSArray *gestureRecognizers |
| To | @property(copy, nonnull) NSArray<__kindof NSGestureRecognizer *> *gestureRecognizers |
Modified -[NSView getRectsBeingDrawn:count:]
| Declaration | |
|---|---|
| From | - (void)getRectsBeingDrawn:(const NSRect **)rects count:(NSInteger *)count |
| To | - (void)getRectsBeingDrawn:(const NSRect * _Nullable * _Nullable)rects count:(NSInteger * _Nullable)count |
| Declaration | |
|---|---|
| From | - (void)getRectsExposedDuringLiveResize:(NSRect [4])exposedRects count:(NSInteger *)count |
| To | - (void)getRectsExposedDuringLiveResize:(NSRect [4])exposedRects count:(NSInteger * _Nonnull)count |
Modified -[NSView hitTest:]
| Declaration | |
|---|---|
| From | - (NSView *)hitTest:(NSPoint)aPoint |
| To | - (NSView * _Nullable)hitTest:(NSPoint)aPoint |
Modified -[NSView initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
Modified -[NSView initWithFrame:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(NSRect)frameRect |
| To | - (instancetype _Nonnull)initWithFrame:(NSRect)frameRect |
Modified NSView.inputContext
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSTextInputContext *inputContext |
| To | @property(readonly, strong, nullable) NSTextInputContext *inputContext |
Modified -[NSView isDescendantOf:]
| Declaration | |
|---|---|
| From | - (BOOL)isDescendantOf:(NSView *)aView |
| To | - (BOOL)isDescendantOf:(NSView * _Nonnull)aView |
Modified -[NSView knowsPageRange:]
| Declaration | |
|---|---|
| From | - (BOOL)knowsPageRange:(NSRangePointer)range |
| To | - (BOOL)knowsPageRange:(NSRangePointer _Nonnull)range |
Modified NSView.layer
| Declaration | |
|---|---|
| From | @property(strong) CALayer *layer |
| To | @property(strong, nullable) CALayer *layer |
| Declaration | |
|---|---|
| From | - (BOOL)lockFocusIfCanDrawInContext:(NSGraphicsContext *)context |
| To | - (BOOL)lockFocusIfCanDrawInContext:(NSGraphicsContext * _Nonnull)context |
Modified -[NSView makeBackingLayer]
| Declaration | |
|---|---|
| From | - (CALayer *)makeBackingLayer |
| To | - (CALayer * _Nonnull)makeBackingLayer |
Modified -[NSView menuForEvent:]
| Declaration | |
|---|---|
| From | - (NSMenu *)menuForEvent:(NSEvent *)event |
| To | - (NSMenu * _Nullable)menuForEvent:(NSEvent * _Nonnull)event |
Modified NSView.nextKeyView
| Declaration | |
|---|---|
| From | @property(assign) NSView *nextKeyView |
| To | @property(assign, nullable) NSView *nextKeyView |
Modified NSView.nextValidKeyView
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSView *nextValidKeyView |
| To | @property(readonly, assign, nullable) NSView *nextValidKeyView |
Modified NSView.opaqueAncestor
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSView *opaqueAncestor |
| To | @property(readonly, assign, nullable) NSView *opaqueAncestor |
Modified NSView.pageFooter
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSAttributedString *pageFooter |
| To | @property(readonly, copy, nonnull) NSAttributedString *pageFooter |
Modified NSView.pageHeader
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSAttributedString *pageHeader |
| To | @property(readonly, copy, nonnull) NSAttributedString *pageHeader |
Modified -[NSView performKeyEquivalent:]
| Declaration | |
|---|---|
| From | - (BOOL)performKeyEquivalent:(NSEvent *)theEvent |
| To | - (BOOL)performKeyEquivalent:(NSEvent * _Nonnull)theEvent |
Modified -[NSView performMnemonic:]
| Declaration | |
|---|---|
| From | - (BOOL)performMnemonic:(NSString *)theString |
| To | - (BOOL)performMnemonic:(NSString * _Nonnull)theString |
Modified NSView.previousKeyView
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSView *previousKeyView |
| To | @property(readonly, assign, nullable) NSView *previousKeyView |
Modified NSView.previousValidKeyView
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSView *previousValidKeyView |
| To | @property(readonly, assign, nullable) NSView *previousValidKeyView |
Modified -[NSView print:]
| Declaration | |
|---|---|
| From | - (void)print:(id)sender |
| To | - (void)print:(id _Nullable)sender |
Modified NSView.printJobTitle
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *printJobTitle |
| To | @property(readonly, copy, nonnull) NSString *printJobTitle |
Modified NSView.registeredDraggedTypes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *registeredDraggedTypes |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *registeredDraggedTypes |
Modified -[NSView registerForDraggedTypes:]
| Declaration | |
|---|---|
| From | - (void)registerForDraggedTypes:(NSArray *)newTypes |
| To | - (void)registerForDraggedTypes:(NSArray<NSString *> * _Nonnull)newTypes |
Modified -[NSView removeCursorRect:cursor:]
| Declaration | |
|---|---|
| From | - (void)removeCursorRect:(NSRect)aRect cursor:(NSCursor *)anObj |
| To | - (void)removeCursorRect:(NSRect)aRect cursor:(NSCursor * _Nonnull)anObj |
Modified -[NSView removeGestureRecognizer:]
| Declaration | |
|---|---|
| From | - (void)removeGestureRecognizer:(NSGestureRecognizer *)gestureRecognizer |
| To | - (void)removeGestureRecognizer:(NSGestureRecognizer * _Nonnull)gestureRecognizer |
Modified -[NSView removeTrackingArea:]
| Declaration | |
|---|---|
| From | - (void)removeTrackingArea:(NSTrackingArea *)trackingArea |
| To | - (void)removeTrackingArea:(NSTrackingArea * _Nonnull)trackingArea |
Modified -[NSView replaceSubview:with:]
| Declaration | |
|---|---|
| From | - (void)replaceSubview:(NSView *)oldView with:(NSView *)newView |
| To | - (void)replaceSubview:(NSView * _Nonnull)oldView with:(NSView * _Nonnull)newView |
Modified NSView.shadow
| Declaration | |
|---|---|
| From | @property(copy) NSShadow *shadow |
| To | @property(copy, nullable) NSShadow *shadow |
| Declaration | |
|---|---|
| From | - (BOOL)shouldDelayWindowOrderingForEvent:(NSEvent *)theEvent |
| To | - (BOOL)shouldDelayWindowOrderingForEvent:(NSEvent * _Nonnull)theEvent |
| Declaration | |
|---|---|
| From | - (void)showDefinitionForAttributedString:(NSAttributedString *)attrString atPoint:(NSPoint)textBaselineOrigin |
| To | - (void)showDefinitionForAttributedString:(NSAttributedString * _Nullable)attrString atPoint:(NSPoint)textBaselineOrigin |
| Declaration | |
|---|---|
| From | - (void)showDefinitionForAttributedString:(NSAttributedString *)attrString range:(NSRange)targetRange options:(NSDictionary *)options baselineOriginProvider:(NSPoint (^)(NSRange adjustedRange))originProvider |
| To | - (void)showDefinitionForAttributedString:(NSAttributedString * _Nullable)attrString range:(NSRange)targetRange options:(NSDictionary<NSString *,id> * _Nullable)options baselineOriginProvider:(NSPoint (^ _Nullable)(NSRange adjustedRange))originProvider |
| Declaration | |
|---|---|
| From | - (void)sortSubviewsUsingFunction:(NSComparisonResult (*)(id, id, void *))compare context:(void *)context |
| To | - (void)sortSubviewsUsingFunction:(NSComparisonResult (* _Nonnull)(__kindof NSView * _Nonnull, __kindof NSView * _Nonnull, void * _Nullable))compare context:(void * _Nullable)context |
Modified NSView.subviews
| Declaration | |
|---|---|
| From | @property(copy) NSArray *subviews |
| To | @property(copy, nonnull) NSArray<__kindof NSView *> *subviews |
Modified NSView.superview
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSView *superview |
| To | @property(readonly, assign, nullable) NSView *superview |
Modified NSView.toolTip
| Declaration | |
|---|---|
| From | @property(copy) NSString *toolTip |
| To | @property(copy, nullable) NSString *toolTip |
Modified NSView.trackingAreas
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *trackingAreas |
| To | @property(readonly, copy, nonnull) NSArray<NSTrackingArea *> *trackingAreas |
Modified -[NSView viewWillMoveToSuperview:]
| Declaration | |
|---|---|
| From | - (void)viewWillMoveToSuperview:(NSView *)newSuperview |
| To | - (void)viewWillMoveToSuperview:(NSView * _Nullable)newSuperview |
Modified -[NSView viewWillMoveToWindow:]
| Declaration | |
|---|---|
| From | - (void)viewWillMoveToWindow:(NSWindow *)newWindow |
| To | - (void)viewWillMoveToWindow:(NSWindow * _Nullable)newWindow |
Modified -[NSView viewWithTag:]
| Declaration | |
|---|---|
| From | - (id)viewWithTag:(NSInteger)aTag |
| To | - (__kindof NSView * _Nullable)viewWithTag:(NSInteger)aTag |
Modified -[NSView willRemoveSubview:]
| Declaration | |
|---|---|
| From | - (void)willRemoveSubview:(NSView *)subview |
| To | - (void)willRemoveSubview:(NSView * _Nonnull)subview |
Modified NSView.window
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSWindow *window |
| To | @property(readonly, assign, nullable) NSWindow *window |
| Declaration | |
|---|---|
| From | - (void)writeEPSInsideRect:(NSRect)rect toPasteboard:(NSPasteboard *)pasteboard |
| To | - (void)writeEPSInsideRect:(NSRect)rect toPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (void)writePDFInsideRect:(NSRect)rect toPasteboard:(NSPasteboard *)pasteboard |
| To | - (void)writePDFInsideRect:(NSRect)rect toPasteboard:(NSPasteboard * _Nonnull)pasteboard |
NSViewController.h
| Declaration | |
|---|---|
| From | - (void)addChildViewController:(NSViewController *)childViewController |
| To | - (void)addChildViewController:(NSViewController * _Nonnull)childViewController |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *childViewControllers |
| To | @property(copy, nonnull) NSArray<__kindof NSViewController *> *childViewControllers |
| Declaration | |
|---|---|
| From | - (void)commitEditingWithDelegate:(id)delegate didCommitSelector:(SEL)didCommitSelector contextInfo:(void *)contextInfo |
| To | - (void)commitEditingWithDelegate:(id _Nullable)delegate didCommitSelector:(SEL _Nullable)didCommitSelector contextInfo:(void * _Nullable)contextInfo |
| Declaration | |
|---|---|
| From | - (IBAction)dismissController:(id)sender |
| To | - (IBAction)dismissController:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (void)dismissViewController:(NSViewController *)viewController |
| To | - (void)dismissViewController:(NSViewController * _Nonnull)viewController |
Modified NSViewController.extensionContext
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSExtensionContext *extensionContext |
| To | @property(readonly, retain, nullable) NSExtensionContext *extensionContext |
Modified -[NSViewController initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil |
| To | - (instancetype _Nullable)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil |
| Declaration | |
|---|---|
| From | - (void)insertChildViewController:(NSViewController *)childViewController atIndex:(NSInteger)index |
| To | - (void)insertChildViewController:(NSViewController * _Nonnull)childViewController atIndex:(NSInteger)index |
Modified NSViewController.nibBundle
| Declaration | |
|---|---|
| From | @property(strong, readonly) NSBundle *nibBundle |
| To | @property(strong, readonly, nullable) NSBundle *nibBundle |
Modified NSViewController.nibName
| Declaration | |
|---|---|
| From | @property(copy, readonly) NSString *nibName |
| To | @property(copy, readonly, nullable) NSString *nibName |
| Declaration | |
|---|---|
| From | @property(readonly) NSViewController *parentViewController |
| To | @property(readonly, nullable) NSViewController *parentViewController |
| Declaration | |
|---|---|
| From | - (void)preferredContentSizeDidChangeForViewController:(NSViewController *)viewController |
| To | - (void)preferredContentSizeDidChangeForViewController:(NSViewController * _Nonnull)viewController |
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSArray *presentedViewControllers |
| To | @property(readonly, assign, nullable) NSArray<__kindof NSViewController *> *presentedViewControllers |
| Declaration | |
|---|---|
| From | @property(readonly, assign) NSViewController *presentingViewController |
| To | @property(readonly, assign, nullable) NSViewController *presentingViewController |
| Declaration | |
|---|---|
| From | - (void)presentViewController:(NSViewController *)viewController animator:(id<NSViewControllerPresentationAnimator>)animator |
| To | - (void)presentViewController:(NSViewController * _Nonnull)viewController animator:(id<NSViewControllerPresentationAnimator> _Nonnull)animator |
Modified -[NSViewController presentViewController:asPopoverRelativeToRect:ofView:preferredEdge:behavior:]
| Declaration | |
|---|---|
| From | - (void)presentViewController:(NSViewController *)viewController asPopoverRelativeToRect:(NSRect)positioningRect ofView:(NSView *)positioningView preferredEdge:(NSRectEdge)preferredEdge behavior:(NSPopoverBehavior)behavior |
| To | - (void)presentViewController:(NSViewController * _Nonnull)viewController asPopoverRelativeToRect:(NSRect)positioningRect ofView:(NSView * _Nonnull)positioningView preferredEdge:(NSRectEdge)preferredEdge behavior:(NSPopoverBehavior)behavior |
| Declaration | |
|---|---|
| From | - (void)presentViewControllerAsModalWindow:(NSViewController *)viewController |
| To | - (void)presentViewControllerAsModalWindow:(NSViewController * _Nonnull)viewController |
| Declaration | |
|---|---|
| From | - (void)presentViewControllerAsSheet:(NSViewController *)viewController |
| To | - (void)presentViewControllerAsSheet:(NSViewController * _Nonnull)viewController |
Modified NSViewController.representedObject
| Declaration | |
|---|---|
| From | @property(strong) id representedObject |
| To | @property(strong, nullable) id representedObject |
Modified NSViewController.sourceItemView
| Declaration | |
|---|---|
| From | @property(strong) IBOutlet NSView *sourceItemView |
| To | @property(strong, nullable) IBOutlet NSView *sourceItemView |
Modified NSViewController.storyboard
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSStoryboard *storyboard |
| To | @property(readonly, strong, nullable) NSStoryboard *storyboard |
Modified NSViewController.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nullable) NSString *title |
Modified -[NSViewController transitionFromViewController:toViewController:options:completionHandler:]
| Declaration | |
|---|---|
| From | - (void)transitionFromViewController:(NSViewController *)fromViewController toViewController:(NSViewController *)toViewController options:(NSViewControllerTransitionOptions)options completionHandler:(void (^)(void))completion |
| To | - (void)transitionFromViewController:(NSViewController * _Nonnull)fromViewController toViewController:(NSViewController * _Nonnull)toViewController options:(NSViewControllerTransitionOptions)options completionHandler:(void (^ _Nullable)(void))completion |
Modified NSViewController.view
| Declaration | |
|---|---|
| From | @property(strong) NSView *view |
| To | @property(strong, nonnull) NSView *view |
Modified -[NSViewControllerPresentationAnimator animateDismissalOfViewController:fromViewController:]
| Declaration | |
|---|---|
| From | - (void)animateDismissalOfViewController:(NSViewController *)viewController fromViewController:(NSViewController *)fromViewController |
| To | - (void)animateDismissalOfViewController:(NSViewController * _Nonnull)viewController fromViewController:(NSViewController * _Nonnull)fromViewController |
Modified -[NSViewControllerPresentationAnimator animatePresentationOfViewController:fromViewController:]
| Declaration | |
|---|---|
| From | - (void)animatePresentationOfViewController:(NSViewController *)viewController fromViewController:(NSViewController *)fromViewController |
| To | - (void)animatePresentationOfViewController:(NSViewController * _Nonnull)viewController fromViewController:(NSViewController * _Nonnull)fromViewController |
NSVisualEffectView.h
Modified NSVisualEffectView.maskImage
| Declaration | |
|---|---|
| From | @property(retain) NSImage *maskImage |
| To | @property(retain, nullable) NSImage *maskImage |
| Declaration | |
|---|---|
| From | - (void)viewWillMoveToWindow:(NSWindow *)newWindow |
| To | - (void)viewWillMoveToWindow:(NSWindow * _Nullable)newWindow |
NSWindow.h
Removed -[NSWindow setWindowController:]
Modified -[NSWindow addChildWindow:ordered:]
| Declaration | |
|---|---|
| From | - (void)addChildWindow:(NSWindow *)childWin ordered:(NSWindowOrderingMode)place |
| To | - (void)addChildWindow:(NSWindow * _Nonnull)childWin ordered:(NSWindowOrderingMode)place |
| Declaration | |
|---|---|
| From | - (void)addTitlebarAccessoryViewController:(NSTitlebarAccessoryViewController *)childViewController |
| To | - (void)addTitlebarAccessoryViewController:(NSTitlebarAccessoryViewController * _Nonnull)childViewController |
Modified NSWindow.attachedSheet
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSWindow *attachedSheet |
| To | @property(readonly, strong, nullable) NSWindow *attachedSheet |
Modified NSWindow.backgroundColor
| Declaration | |
|---|---|
| From | @property(copy) NSColor *backgroundColor |
| To | @property(copy) NSColor * _Null_unspecified backgroundColor |
| Declaration | |
|---|---|
| From | - (void)beginCriticalSheet:(NSWindow *)sheetWindow completionHandler:(void (^)(NSModalResponse returnCode))handler |
| To | - (void)beginCriticalSheet:(NSWindow * _Nonnull)sheetWindow completionHandler:(void (^ _Nullable)(NSModalResponse returnCode))handler |
| Declaration | |
|---|---|
| From | - (void)beginSheet:(NSWindow *)sheetWindow completionHandler:(void (^)(NSModalResponse returnCode))handler |
| To | - (void)beginSheet:(NSWindow * _Nonnull)sheetWindow completionHandler:(void (^ _Nullable)(NSModalResponse returnCode))handler |
Modified NSWindow.childWindows
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *childWindows |
| To | @property(readonly, copy, nullable) NSArray<__kindof NSWindow *> *childWindows |
Modified NSWindow.colorSpace
| Declaration | |
|---|---|
| From | @property(strong) NSColorSpace *colorSpace |
| To | @property(strong, nullable) NSColorSpace *colorSpace |
| Declaration | |
|---|---|
| From | - (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen |
| To | - (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen * _Nullable)screen |
Modified NSWindow.contentLayoutGuide
| Declaration | |
|---|---|
| From | @property(readonly) id contentLayoutGuide |
| To | @property(readonly, nullable) id contentLayoutGuide |
Modified NSWindow.contentView
| Declaration | |
|---|---|
| From | @property(strong) id contentView |
| To | @property(strong, nullable) __kindof NSView *contentView |
Modified NSWindow.contentViewController
| Declaration | |
|---|---|
| From | @property(strong) NSViewController *contentViewController |
| To | @property(strong, nullable) NSViewController *contentViewController |
Modified NSWindow.currentEvent
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSEvent *currentEvent |
| To | @property(readonly, strong, nullable) NSEvent *currentEvent |
Modified -[NSWindow dataWithEPSInsideRect:]
| Declaration | |
|---|---|
| From | - (NSData *)dataWithEPSInsideRect:(NSRect)rect |
| To | - (NSData * _Nonnull)dataWithEPSInsideRect:(NSRect)rect |
Modified -[NSWindow dataWithPDFInsideRect:]
| Declaration | |
|---|---|
| From | - (NSData *)dataWithPDFInsideRect:(NSRect)rect |
| To | - (NSData * _Nonnull)dataWithPDFInsideRect:(NSRect)rect |
Modified NSWindow.deepestScreen
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSScreen *deepestScreen |
| To | @property(readonly, strong, nullable) NSScreen *deepestScreen |
Modified NSWindow.defaultButtonCell
| Declaration | |
|---|---|
| From | - (NSButtonCell *)defaultButtonCell |
| To | @property(retain, nullable) NSButtonCell *defaultButtonCell |
Modified NSWindow.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSWindowDelegate> delegate |
| To | @property(assign, nullable) id<NSWindowDelegate> delegate |
Modified -[NSWindow deminiaturize:]
| Declaration | |
|---|---|
| From | - (void)deminiaturize:(id)sender |
| To | - (void)deminiaturize:(id _Nullable)sender |
Modified NSWindow.deviceDescription
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *deviceDescription |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *deviceDescription |
| Declaration | |
|---|---|
| From | - (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent *)lastEvent |
| To | - (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent * _Nullable)lastEvent |
Modified NSWindow.dockTile
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSDockTile *dockTile |
| To | @property(readonly, strong, nonnull) NSDockTile *dockTile |
| Declaration | |
|---|---|
| From | - (void)dragImage:(NSImage *)anImage at:(NSPoint)baseLocation offset:(NSSize)initialOffset event:(NSEvent *)event pasteboard:(NSPasteboard *)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag |
| To | - (void)dragImage:(NSImage * _Nonnull)anImage at:(NSPoint)baseLocation offset:(NSSize)initialOffset event:(NSEvent * _Nonnull)event pasteboard:(NSPasteboard * _Nonnull)pboard source:(id _Nonnull)sourceObj slideBack:(BOOL)slideFlag |
Modified -[NSWindow endEditingFor:]
| Declaration | |
|---|---|
| From | - (void)endEditingFor:(id)anObject |
| To | - (void)endEditingFor:(id _Nullable)anObject |
Modified -[NSWindow endSheet:]
| Declaration | |
|---|---|
| From | - (void)endSheet:(NSWindow *)sheetWindow |
| To | - (void)endSheet:(NSWindow * _Nonnull)sheetWindow |
Modified -[NSWindow endSheet:returnCode:]
| Declaration | |
|---|---|
| From | - (void)endSheet:(NSWindow *)sheetWindow returnCode:(NSModalResponse)returnCode |
| To | - (void)endSheet:(NSWindow * _Nonnull)sheetWindow returnCode:(NSModalResponse)returnCode |
Modified -[NSWindow fieldEditor:forObject:]
| Declaration | |
|---|---|
| From | - (NSText *)fieldEditor:(BOOL)createFlag forObject:(id)anObject |
| To | - (NSText * _Nullable)fieldEditor:(BOOL)createFlag forObject:(id _Nullable)anObject |
Modified NSWindow.firstResponder
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSResponder *firstResponder |
| To | @property(readonly, assign, nonnull) NSResponder *firstResponder |
Modified NSWindow.frameAutosaveName
| Declaration | |
|---|---|
| From | - (NSString *)frameAutosaveName |
| To | @property(readonly, copy, nonnull) NSString *frameAutosaveName |
Modified NSWindow.graphicsContext
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSGraphicsContext *graphicsContext |
| To | @property(readonly, strong, nullable) NSGraphicsContext *graphicsContext |
Modified NSWindow.initialFirstResponder
| Declaration | |
|---|---|
| From | @property(assign) NSView *initialFirstResponder |
| To | @property(assign, nullable) NSView *initialFirstResponder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag |
| To | - (instancetype _Nonnull)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(NSScreen *)screen |
| To | - (instancetype _Nonnull)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(NSScreen * _Nullable)screen |
Modified -[NSWindow initWithWindowRef:]
| Declaration | |
|---|---|
| From | - (NSWindow *)initWithWindowRef:(void *)windowRef |
| To | - (NSWindow * _Nullable)initWithWindowRef:(void * _Nonnull)windowRef |
| Declaration | |
|---|---|
| From | - (void)insertTitlebarAccessoryViewController:(NSTitlebarAccessoryViewController *)childViewController atIndex:(NSInteger)index |
| To | - (void)insertTitlebarAccessoryViewController:(NSTitlebarAccessoryViewController * _Nonnull)childViewController atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (void)invalidateCursorRectsForView:(NSView *)aView |
| To | - (void)invalidateCursorRectsForView:(NSView * _Nonnull)aView |
Modified -[NSWindow keyDown:]
| Declaration | |
|---|---|
| From | - (void)keyDown:(NSEvent *)theEvent |
| To | - (void)keyDown:(NSEvent * _Nonnull)theEvent |
Modified -[NSWindow makeFirstResponder:]
| Declaration | |
|---|---|
| From | - (BOOL)makeFirstResponder:(NSResponder *)aResponder |
| To | - (BOOL)makeFirstResponder:(NSResponder * _Nullable)aResponder |
Modified -[NSWindow makeKeyAndOrderFront:]
| Declaration | |
|---|---|
| From | - (void)makeKeyAndOrderFront:(id)sender |
| To | - (void)makeKeyAndOrderFront:(id _Nullable)sender |
Modified +[NSWindow menuChanged:]
| Declaration | Deprecation | |
|---|---|---|
| From | + (void)menuChanged:(NSMenu *)menu | -- |
| To | + (void)menuChanged:(NSMenu * _Nonnull)menu | OS X 10.11 |
| Declaration | |
|---|---|
| From | + (CGFloat)minFrameWidthWithTitle:(NSString *)aTitle styleMask:(NSUInteger)aStyle |
| To | + (CGFloat)minFrameWidthWithTitle:(NSString * _Nonnull)aTitle styleMask:(NSUInteger)aStyle |
Modified -[NSWindow miniaturize:]
| Declaration | |
|---|---|
| From | - (void)miniaturize:(id)sender |
| To | - (void)miniaturize:(id _Nullable)sender |
Modified NSWindow.miniwindowImage
| Declaration | |
|---|---|
| From | @property(strong) NSImage *miniwindowImage |
| To | @property(strong, nullable) NSImage *miniwindowImage |
Modified NSWindow.miniwindowTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *miniwindowTitle |
| To | @property(copy) NSString * _Null_unspecified miniwindowTitle |
Modified -[NSWindow nextEventMatchingMask:]
| Declaration | |
|---|---|
| From | - (NSEvent *)nextEventMatchingMask:(NSUInteger)mask |
| To | - (NSEvent * _Nullable)nextEventMatchingMask:(NSUInteger)mask |
| Declaration | |
|---|---|
| From | - (NSEvent *)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate *)expiration inMode:(NSString *)mode dequeue:(BOOL)deqFlag |
| To | - (NSEvent * _Nullable)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate * _Nullable)expiration inMode:(NSString * _Nonnull)mode dequeue:(BOOL)deqFlag |
Modified -[NSWindow orderBack:]
| Declaration | |
|---|---|
| From | - (void)orderBack:(id)sender |
| To | - (void)orderBack:(id _Nullable)sender |
Modified -[NSWindow orderFront:]
| Declaration | |
|---|---|
| From | - (void)orderFront:(id)sender |
| To | - (void)orderFront:(id _Nullable)sender |
Modified -[NSWindow orderOut:]
| Declaration | |
|---|---|
| From | - (void)orderOut:(id)sender |
| To | - (void)orderOut:(id _Nullable)sender |
Modified NSWindow.parentWindow
| Declaration | |
|---|---|
| From | @property(assign) NSWindow *parentWindow |
| To | @property(assign, nullable) NSWindow *parentWindow |
Modified -[NSWindow performClose:]
| Declaration | |
|---|---|
| From | - (void)performClose:(id)sender |
| To | - (void)performClose:(id _Nullable)sender |
Modified -[NSWindow performMiniaturize:]
| Declaration | |
|---|---|
| From | - (void)performMiniaturize:(id)sender |
| To | - (void)performMiniaturize:(id _Nullable)sender |
Modified -[NSWindow performZoom:]
| Declaration | |
|---|---|
| From | - (void)performZoom:(id)sender |
| To | - (void)performZoom:(id _Nullable)sender |
Modified -[NSWindow postEvent:atStart:]
| Declaration | |
|---|---|
| From | - (void)postEvent:(NSEvent *)event atStart:(BOOL)flag |
| To | - (void)postEvent:(NSEvent * _Nonnull)event atStart:(BOOL)flag |
Modified -[NSWindow print:]
| Declaration | |
|---|---|
| From | - (void)print:(id)sender |
| To | - (void)print:(id _Nullable)sender |
Modified -[NSWindow registerForDraggedTypes:]
| Declaration | |
|---|---|
| From | - (void)registerForDraggedTypes:(NSArray *)newTypes |
| To | - (void)registerForDraggedTypes:(NSArray<NSString *> * _Nonnull)newTypes |
Modified -[NSWindow removeChildWindow:]
| Declaration | |
|---|---|
| From | - (void)removeChildWindow:(NSWindow *)childWin |
| To | - (void)removeChildWindow:(NSWindow * _Nonnull)childWin |
Modified +[NSWindow removeFrameUsingName:]
| Declaration | |
|---|---|
| From | + (void)removeFrameUsingName:(NSString *)name |
| To | + (void)removeFrameUsingName:(NSString * _Nonnull)name |
Modified NSWindow.representedFilename
| Declaration | |
|---|---|
| From | @property(copy) NSString *representedFilename |
| To | @property(copy, nonnull) NSString *representedFilename |
Modified NSWindow.representedURL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *representedURL |
| To | @property(copy, nullable) NSURL *representedURL |
| Declaration | |
|---|---|
| From | - (void)runToolbarCustomizationPalette:(id)sender |
| To | - (void)runToolbarCustomizationPalette:(id _Nullable)sender |
Modified -[NSWindow saveFrameUsingName:]
| Declaration | |
|---|---|
| From | - (void)saveFrameUsingName:(NSString *)name |
| To | - (void)saveFrameUsingName:(NSString * _Nonnull)name |
Modified NSWindow.screen
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSScreen *screen |
| To | @property(readonly, strong, nullable) NSScreen *screen |
| Declaration | |
|---|---|
| From | - (void)selectKeyViewFollowingView:(NSView *)aView |
| To | - (void)selectKeyViewFollowingView:(NSView * _Nonnull)aView |
| Declaration | |
|---|---|
| From | - (void)selectKeyViewPrecedingView:(NSView *)aView |
| To | - (void)selectKeyViewPrecedingView:(NSView * _Nonnull)aView |
Modified -[NSWindow selectNextKeyView:]
| Declaration | |
|---|---|
| From | - (void)selectNextKeyView:(id)sender |
| To | - (void)selectNextKeyView:(id _Nullable)sender |
Modified -[NSWindow selectPreviousKeyView:]
| Declaration | |
|---|---|
| From | - (void)selectPreviousKeyView:(id)sender |
| To | - (void)selectPreviousKeyView:(id _Nullable)sender |
Modified -[NSWindow sendEvent:]
| Declaration | |
|---|---|
| From | - (void)sendEvent:(NSEvent *)theEvent |
| To | - (void)sendEvent:(NSEvent * _Nonnull)theEvent |
Modified -[NSWindow setFrameAutosaveName:]
| Declaration | |
|---|---|
| From | - (BOOL)setFrameAutosaveName:(NSString *)name |
| To | - (BOOL)setFrameAutosaveName:(NSString * _Nonnull)name |
Modified -[NSWindow setFrameFromString:]
| Declaration | |
|---|---|
| From | - (void)setFrameFromString:(NSString *)string |
| To | - (void)setFrameFromString:(NSString * _Nonnull)string |
Modified -[NSWindow setFrameUsingName:]
| Declaration | |
|---|---|
| From | - (BOOL)setFrameUsingName:(NSString *)name |
| To | - (BOOL)setFrameUsingName:(NSString * _Nonnull)name |
Modified -[NSWindow setFrameUsingName:force:]
| Declaration | |
|---|---|
| From | - (BOOL)setFrameUsingName:(NSString *)name force:(BOOL)force |
| To | - (BOOL)setFrameUsingName:(NSString * _Nonnull)name force:(BOOL)force |
| Declaration | |
|---|---|
| From | - (void)setTitleWithRepresentedFilename:(NSString *)filename |
| To | - (void)setTitleWithRepresentedFilename:(NSString * _Nonnull)filename |
Modified NSWindow.sheetParent
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSWindow *sheetParent |
| To | @property(readonly, strong, nullable) NSWindow *sheetParent |
Modified NSWindow.sheets
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *sheets |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSWindow *> *sheets |
Modified -[NSWindow standardWindowButton:]
| Declaration | |
|---|---|
| From | - (NSButton *)standardWindowButton:(NSWindowButton)b |
| To | - (NSButton * _Nullable)standardWindowButton:(NSWindowButton)b |
| Declaration | |
|---|---|
| From | + (NSButton *)standardWindowButton:(NSWindowButton)b forStyleMask:(NSUInteger)styleMask |
| To | + (NSButton * _Nullable)standardWindowButton:(NSWindowButton)b forStyleMask:(NSUInteger)styleMask |
Modified NSWindow.stringWithSavedFrame
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringWithSavedFrame |
| To | @property(readonly, copy, nonnull) NSString *stringWithSavedFrame |
Modified NSWindow.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nonnull) NSString *title |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *titlebarAccessoryViewControllers |
| To | @property(copy, nonnull) NSArray<__kindof NSTitlebarAccessoryViewController *> *titlebarAccessoryViewControllers |
Modified -[NSWindow toggleFullScreen:]
| Declaration | |
|---|---|
| From | - (void)toggleFullScreen:(id)sender |
| To | - (void)toggleFullScreen:(id _Nullable)sender |
Modified -[NSWindow toggleToolbarShown:]
| Declaration | |
|---|---|
| From | - (void)toggleToolbarShown:(id)sender |
| To | - (void)toggleToolbarShown:(id _Nullable)sender |
Modified NSWindow.toolbar
| Declaration | |
|---|---|
| From | @property(strong) NSToolbar *toolbar |
| To | @property(strong, nullable) NSToolbar *toolbar |
| Declaration | |
|---|---|
| From | - (void)trackEventsMatchingMask:(NSEventMask)mask timeout:(NSTimeInterval)timeout mode:(NSString *)mode handler:(void (^)(NSEvent *event, BOOL *stop))trackingHandler |
| To | - (void)trackEventsMatchingMask:(NSEventMask)mask timeout:(NSTimeInterval)timeout mode:(NSString * _Nonnull)mode handler:(void (^ _Nonnull)(NSEvent * _Nonnull event, BOOL * _Nonnull stop))trackingHandler |
Modified -[NSWindow tryToPerform:with:]
| Declaration | |
|---|---|
| From | - (BOOL)tryToPerform:(SEL)anAction with:(id)anObject |
| To | - (BOOL)tryToPerform:(SEL _Nonnull)anAction with:(id _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (id)validRequestorForSendType:(NSString *)sendType returnType:(NSString *)returnType |
| To | - (id _Nullable)validRequestorForSendType:(NSString * _Nonnull)sendType returnType:(NSString * _Nonnull)returnType |
Modified NSWindow.windowController
| Declaration | |
|---|---|
| From | - (id)windowController |
| To | @property(assign, nullable) __kindof NSWindowController *windowController |
| Declaration | |
|---|---|
| From | + (NSArray *)windowNumbersWithOptions:(NSWindowNumberListOptions)options |
| To | + (NSArray<NSNumber *> * _Nullable)windowNumbersWithOptions:(NSWindowNumberListOptions)options |
Modified NSWindow.windowRef
| Declaration | |
|---|---|
| From | @property(readonly) void *windowRef |
| To | @property(readonly, nonnull) void *windowRef |
| Declaration | |
|---|---|
| From | + (instancetype)windowWithContentViewController:(NSViewController *)contentViewController |
| To | + (instancetype _Nonnull)windowWithContentViewController:(NSViewController * _Nonnull)contentViewController |
Modified -[NSWindow zoom:]
| Declaration | |
|---|---|
| From | - (void)zoom:(id)sender |
| To | - (void)zoom:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (NSArray *)customWindowsToEnterFullScreenForWindow:(NSWindow *)window |
| To | - (NSArray<NSWindow *> * _Nullable)customWindowsToEnterFullScreenForWindow:(NSWindow * _Nonnull)window |
| Declaration | |
|---|---|
| From | - (NSArray *)customWindowsToEnterFullScreenForWindow:(NSWindow *)window onScreen:(NSScreen *)screen |
| To | - (NSArray<NSWindow *> * _Nullable)customWindowsToEnterFullScreenForWindow:(NSWindow * _Nonnull)window onScreen:(NSScreen * _Nonnull)screen |
| Declaration | |
|---|---|
| From | - (NSArray *)customWindowsToExitFullScreenForWindow:(NSWindow *)window |
| To | - (NSArray<NSWindow *> * _Nullable)customWindowsToExitFullScreenForWindow:(NSWindow * _Nonnull)window |
| Declaration | |
|---|---|
| From | - (void)window:(NSWindow *)window didDecodeRestorableState:(NSCoder *)state |
| To | - (void)window:(NSWindow * _Nonnull)window didDecodeRestorableState:(NSCoder * _Nonnull)state |
| Declaration | |
|---|---|
| From | - (BOOL)window:(NSWindow *)window shouldDragDocumentWithEvent:(NSEvent *)event from:(NSPoint)dragImageLocation withPasteboard:(NSPasteboard *)pasteboard |
| To | - (BOOL)window:(NSWindow * _Nonnull)window shouldDragDocumentWithEvent:(NSEvent * _Nonnull)event from:(NSPoint)dragImageLocation withPasteboard:(NSPasteboard * _Nonnull)pasteboard |
| Declaration | |
|---|---|
| From | - (BOOL)window:(NSWindow *)window shouldPopUpDocumentPathMenu:(NSMenu *)menu |
| To | - (BOOL)window:(NSWindow * _Nonnull)window shouldPopUpDocumentPathMenu:(NSMenu * _Nonnull)menu |
| Declaration | |
|---|---|
| From | - (void)window:(NSWindow *)window startCustomAnimationToEnterFullScreenOnScreen:(NSScreen *)screen withDuration:(NSTimeInterval)duration |
| To | - (void)window:(NSWindow * _Nonnull)window startCustomAnimationToEnterFullScreenOnScreen:(NSScreen * _Nonnull)screen withDuration:(NSTimeInterval)duration |
| Declaration | |
|---|---|
| From | - (void)window:(NSWindow *)window startCustomAnimationToEnterFullScreenWithDuration:(NSTimeInterval)duration |
| To | - (void)window:(NSWindow * _Nonnull)window startCustomAnimationToEnterFullScreenWithDuration:(NSTimeInterval)duration |
| Declaration | |
|---|---|
| From | - (void)window:(NSWindow *)window startCustomAnimationToExitFullScreenWithDuration:(NSTimeInterval)duration |
| To | - (void)window:(NSWindow * _Nonnull)window startCustomAnimationToExitFullScreenWithDuration:(NSTimeInterval)duration |
| Declaration | |
|---|---|
| From | - (void)window:(NSWindow *)window willEncodeRestorableState:(NSCoder *)state |
| To | - (void)window:(NSWindow * _Nonnull)window willEncodeRestorableState:(NSCoder * _Nonnull)state |
| Declaration | |
|---|---|
| From | - (NSRect)window:(NSWindow *)window willPositionSheet:(NSWindow *)sheet usingRect:(NSRect)rect |
| To | - (NSRect)window:(NSWindow * _Nonnull)window willPositionSheet:(NSWindow * _Nonnull)sheet usingRect:(NSRect)rect |
| Declaration | |
|---|---|
| From | - (NSSize)window:(NSWindow *)window willResizeForVersionBrowserWithMaxPreferredSize:(NSSize)maxPreferredFrameSize maxAllowedSize:(NSSize)maxAllowedFrameSize |
| To | - (NSSize)window:(NSWindow * _Nonnull)window willResizeForVersionBrowserWithMaxPreferredSize:(NSSize)maxPreferredFrameSize maxAllowedSize:(NSSize)maxAllowedFrameSize |
| Declaration | |
|---|---|
| From | - (NSSize)window:(NSWindow *)window willUseFullScreenContentSize:(NSSize)proposedSize |
| To | - (NSSize)window:(NSWindow * _Nonnull)window willUseFullScreenContentSize:(NSSize)proposedSize |
| Declaration | |
|---|---|
| From | - (NSApplicationPresentationOptions)window:(NSWindow *)window willUseFullScreenPresentationOptions:(NSApplicationPresentationOptions)proposedOptions |
| To | - (NSApplicationPresentationOptions)window:(NSWindow * _Nonnull)window willUseFullScreenPresentationOptions:(NSApplicationPresentationOptions)proposedOptions |
| Declaration | |
|---|---|
| From | - (void)windowDidBecomeKey:(NSNotification *)notification |
| To | - (void)windowDidBecomeKey:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidBecomeMain:(NSNotification *)notification |
| To | - (void)windowDidBecomeMain:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidChangeBackingProperties:(NSNotification *)notification |
| To | - (void)windowDidChangeBackingProperties:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidChangeOcclusionState:(NSNotification *)notification |
| To | - (void)windowDidChangeOcclusionState:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidChangeScreen:(NSNotification *)notification |
| To | - (void)windowDidChangeScreen:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidChangeScreenProfile:(NSNotification *)notification |
| To | - (void)windowDidChangeScreenProfile:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidDeminiaturize:(NSNotification *)notification |
| To | - (void)windowDidDeminiaturize:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidEndLiveResize:(NSNotification *)notification |
| To | - (void)windowDidEndLiveResize:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidEndSheet:(NSNotification *)notification |
| To | - (void)windowDidEndSheet:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidEnterFullScreen:(NSNotification *)notification |
| To | - (void)windowDidEnterFullScreen:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidEnterVersionBrowser:(NSNotification *)notification |
| To | - (void)windowDidEnterVersionBrowser:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidExitFullScreen:(NSNotification *)notification |
| To | - (void)windowDidExitFullScreen:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidExitVersionBrowser:(NSNotification *)notification |
| To | - (void)windowDidExitVersionBrowser:(NSNotification * _Nonnull)notification |
Modified -[NSWindowDelegate windowDidExpose:]
| Declaration | |
|---|---|
| From | - (void)windowDidExpose:(NSNotification *)notification |
| To | - (void)windowDidExpose:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidFailToEnterFullScreen:(NSWindow *)window |
| To | - (void)windowDidFailToEnterFullScreen:(NSWindow * _Nonnull)window |
| Declaration | |
|---|---|
| From | - (void)windowDidFailToExitFullScreen:(NSWindow *)window |
| To | - (void)windowDidFailToExitFullScreen:(NSWindow * _Nonnull)window |
| Declaration | |
|---|---|
| From | - (void)windowDidMiniaturize:(NSNotification *)notification |
| To | - (void)windowDidMiniaturize:(NSNotification * _Nonnull)notification |
Modified -[NSWindowDelegate windowDidMove:]
| Declaration | |
|---|---|
| From | - (void)windowDidMove:(NSNotification *)notification |
| To | - (void)windowDidMove:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidResignKey:(NSNotification *)notification |
| To | - (void)windowDidResignKey:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowDidResignMain:(NSNotification *)notification |
| To | - (void)windowDidResignMain:(NSNotification * _Nonnull)notification |
Modified -[NSWindowDelegate windowDidResize:]
| Declaration | |
|---|---|
| From | - (void)windowDidResize:(NSNotification *)notification |
| To | - (void)windowDidResize:(NSNotification * _Nonnull)notification |
Modified -[NSWindowDelegate windowDidUpdate:]
| Declaration | |
|---|---|
| From | - (void)windowDidUpdate:(NSNotification *)notification |
| To | - (void)windowDidUpdate:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)windowShouldClose:(id)sender |
| To | - (BOOL)windowShouldClose:(id _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (BOOL)windowShouldZoom:(NSWindow *)window toFrame:(NSRect)newFrame |
| To | - (BOOL)windowShouldZoom:(NSWindow * _Nonnull)window toFrame:(NSRect)newFrame |
| Declaration | |
|---|---|
| From | - (void)windowWillBeginSheet:(NSNotification *)notification |
| To | - (void)windowWillBeginSheet:(NSNotification * _Nonnull)notification |
Modified -[NSWindowDelegate windowWillClose:]
| Declaration | |
|---|---|
| From | - (void)windowWillClose:(NSNotification *)notification |
| To | - (void)windowWillClose:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowWillEnterFullScreen:(NSNotification *)notification |
| To | - (void)windowWillEnterFullScreen:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowWillEnterVersionBrowser:(NSNotification *)notification |
| To | - (void)windowWillEnterVersionBrowser:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowWillExitFullScreen:(NSNotification *)notification |
| To | - (void)windowWillExitFullScreen:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowWillExitVersionBrowser:(NSNotification *)notification |
| To | - (void)windowWillExitVersionBrowser:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)windowWillMiniaturize:(NSNotification *)notification |
| To | - (void)windowWillMiniaturize:(NSNotification * _Nonnull)notification |
Modified -[NSWindowDelegate windowWillMove:]
| Declaration | |
|---|---|
| From | - (void)windowWillMove:(NSNotification *)notification |
| To | - (void)windowWillMove:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (NSSize)windowWillResize:(NSWindow *)sender toSize:(NSSize)frameSize |
| To | - (NSSize)windowWillResize:(NSWindow * _Nonnull)sender toSize:(NSSize)frameSize |
| Declaration | |
|---|---|
| From | - (id)windowWillReturnFieldEditor:(NSWindow *)sender toObject:(id)client |
| To | - (id _Nullable)windowWillReturnFieldEditor:(NSWindow * _Nonnull)sender toObject:(id _Nullable)client |
| Declaration | |
|---|---|
| From | - (NSUndoManager *)windowWillReturnUndoManager:(NSWindow *)window |
| To | - (NSUndoManager * _Nullable)windowWillReturnUndoManager:(NSWindow * _Nonnull)window |
| Declaration | |
|---|---|
| From | - (void)windowWillStartLiveResize:(NSNotification *)notification |
| To | - (void)windowWillStartLiveResize:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (NSRect)windowWillUseStandardFrame:(NSWindow *)window defaultFrame:(NSRect)newFrame |
| To | - (NSRect)windowWillUseStandardFrame:(NSWindow * _Nonnull)window defaultFrame:(NSRect)newFrame |
NSWindowController.h
| Declaration | |
|---|---|
| From | @property(strong) NSViewController *contentViewController |
| To | @property(strong, nullable) NSViewController *contentViewController |
| Declaration | |
|---|---|
| From | - (IBAction)dismissController:(id)sender |
| To | - (IBAction)dismissController:(id _Nullable)sender |
Modified NSWindowController.document
| Declaration | |
|---|---|
| From | @property(assign) id document |
| To | @property(assign, nullable) id document |
Modified -[NSWindowController initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithWindow:(NSWindow *)window |
| To | - (instancetype _Nonnull)initWithWindow:(NSWindow * _Nullable)window |
| Declaration | |
|---|---|
| From | - (instancetype)initWithWindowNibName:(NSString *)windowNibName |
| To | - (instancetype _Nonnull)initWithWindowNibName:(NSString * _Nonnull)windowNibName |
| Declaration | |
|---|---|
| From | - (instancetype)initWithWindowNibName:(NSString *)windowNibName owner:(id)owner |
| To | - (instancetype _Nonnull)initWithWindowNibName:(NSString * _Nonnull)windowNibName owner:(id _Nonnull)owner |
| Declaration | |
|---|---|
| From | - (instancetype)initWithWindowNibPath:(NSString *)windowNibPath owner:(id)owner |
| To | - (instancetype _Nonnull)initWithWindowNibPath:(NSString * _Nonnull)windowNibPath owner:(id _Nonnull)owner |
Modified NSWindowController.owner
| Declaration | |
|---|---|
| From | @property(assign, readonly) id owner |
| To | @property(assign, readonly, nonnull) id owner |
Modified -[NSWindowController showWindow:]
| Declaration | |
|---|---|
| From | - (IBAction)showWindow:(id)sender |
| To | - (IBAction)showWindow:(id _Nullable)sender |
Modified NSWindowController.storyboard
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSStoryboard *storyboard |
| To | @property(readonly, strong, nullable) NSStoryboard *storyboard |
Modified NSWindowController.window
| Declaration | |
|---|---|
| From | @property(strong) NSWindow *window |
| To | @property(strong, nullable) NSWindow *window |
| Declaration | |
|---|---|
| From | @property(copy) NSString *windowFrameAutosaveName |
| To | @property(copy, nullable) NSString *windowFrameAutosaveName |
Modified NSWindowController.windowNibName
| Declaration | |
|---|---|
| From | @property(copy, readonly) NSString *windowNibName |
| To | @property(copy, readonly, nullable) NSString *windowNibName |
Modified NSWindowController.windowNibPath
| Declaration | |
|---|---|
| From | @property(copy, readonly) NSString *windowNibPath |
| To | @property(copy, readonly, nullable) NSString *windowNibPath |
| Declaration | |
|---|---|
| From | - (NSString *)windowTitleForDocumentDisplayName:(NSString *)displayName |
| To | - (NSString * _Nonnull)windowTitleForDocumentDisplayName:(NSString * _Nonnull)displayName |
NSWindowRestoration.h
| Declaration | |
|---|---|
| From | - (BOOL)restoreWindowWithIdentifier:(NSString *)identifier state:(NSCoder *)state completionHandler:(void (^)(NSWindow *, NSError *))completionHandler |
| To | - (BOOL)restoreWindowWithIdentifier:(NSString * _Nonnull)identifier state:(NSCoder * _Nonnull)state completionHandler:(void (^ _Nonnull)(NSWindow * _Nullable, NSError * _Nullable))completionHandler |
| Declaration | |
|---|---|
| From | - (void)encodeRestorableStateWithCoder:(NSCoder *)coder |
| To | - (void)encodeRestorableStateWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | + (NSArray *)restorableStateKeyPaths |
| To | + (NSArray<NSString *> * _Nonnull)restorableStateKeyPaths |
| Declaration | |
|---|---|
| From | - (void)restoreDocumentWindowWithIdentifier:(NSString *)identifier state:(NSCoder *)state completionHandler:(void (^)(NSWindow *, NSError *))completionHandler |
| To | - (void)restoreDocumentWindowWithIdentifier:(NSString * _Nonnull)identifier state:(NSCoder * _Nonnull)state completionHandler:(void (^ _Nonnull)(NSWindow * _Nullable, NSError * _Nullable))completionHandler |
Modified -[NSDocument restoreStateWithCoder:]
| Declaration | |
|---|---|
| From | - (void)restoreStateWithCoder:(NSCoder *)coder |
| To | - (void)restoreStateWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (void)encodeRestorableStateWithCoder:(NSCoder *)coder |
| To | - (void)encodeRestorableStateWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | + (NSArray *)restorableStateKeyPaths |
| To | + (NSArray<NSString *> * _Nonnull)restorableStateKeyPaths |
| Declaration | |
|---|---|
| From | - (void)restoreStateWithCoder:(NSCoder *)coder |
| To | - (void)restoreStateWithCoder:(NSCoder * _Nonnull)coder |
Modified NSWindow.restorationClass
| Declaration | |
|---|---|
| From | @property(assign) Class<NSWindowRestoration> restorationClass |
| To | @property(assign, nullable) Class<NSWindowRestoration> restorationClass |
| Declaration | |
|---|---|
| From | + (void)restoreWindowWithIdentifier:(NSString *)identifier state:(NSCoder *)state completionHandler:(void (^)(NSWindow *, NSError *))completionHandler |
| To | + (void)restoreWindowWithIdentifier:(NSString * _Nonnull)identifier state:(NSCoder * _Nonnull)state completionHandler:(void (^ _Nonnull)(NSWindow * _Nullable, NSError * _Nullable))completionHandler |
NSWindowScripting.h
| Declaration | |
|---|---|
| From | - (id)handleCloseScriptCommand:(NSCloseCommand *)command |
| To | - (id _Nullable)handleCloseScriptCommand:(NSCloseCommand * _Nonnull)command |
| Declaration | |
|---|---|
| From | - (id)handlePrintScriptCommand:(NSScriptCommand *)command |
| To | - (id _Nullable)handlePrintScriptCommand:(NSScriptCommand * _Nonnull)command |
Modified -[NSWindow handleSaveScriptCommand:]
| Declaration | |
|---|---|
| From | - (id)handleSaveScriptCommand:(NSScriptCommand *)command |
| To | - (id _Nullable)handleSaveScriptCommand:(NSScriptCommand * _Nonnull)command |
NSWorkspace.h
| Declaration | |
|---|---|
| From | - (NSString *)absolutePathForAppBundleWithIdentifier:(NSString *)bundleIdentifier |
| To | - (NSString * _Nullable)absolutePathForAppBundleWithIdentifier:(NSString * _Nonnull)bundleIdentifier |
| Declaration | |
|---|---|
| From | - (void)activateFileViewerSelectingURLs:(NSArray *)fileURLs |
| To | - (void)activateFileViewerSelectingURLs:(NSArray<NSURL *> * _Nonnull)fileURLs |
Modified -[NSWorkspace activeApplication]
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (NSDictionary *)activeApplication | OS X 10.2 | OS X 10.7 |
| To | - (NSDictionary * _Nullable)activeApplication | OS X 10.0 | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSDictionary *)desktopImageOptionsForScreen:(NSScreen *)screen |
| To | - (NSDictionary<NSString *,id> * _Nullable)desktopImageOptionsForScreen:(NSScreen * _Nonnull)screen |
| Declaration | |
|---|---|
| From | - (NSURL *)desktopImageURLForScreen:(NSScreen *)screen |
| To | - (NSURL * _Nullable)desktopImageURLForScreen:(NSScreen * _Nonnull)screen |
| Declaration | |
|---|---|
| From | - (void)duplicateURLs:(NSArray *)URLs completionHandler:(void (^)(NSDictionary *newURLs, NSError *error))handler |
| To | - (void)duplicateURLs:(NSArray<NSURL *> * _Nonnull)URLs completionHandler:(void (^ _Nullable)(NSDictionary<NSURL *,NSURL *> * _Nonnull newURLs, NSError * _Nullable error))handler |
Modified NSWorkspace.fileLabelColors
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *fileLabelColors |
| To | @property(readonly, copy, nonnull) NSArray<NSColor *> *fileLabelColors |
Modified NSWorkspace.fileLabels
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *fileLabels |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *fileLabels |
| Declaration | |
|---|---|
| From | - (BOOL)filenameExtension:(NSString *)filenameExtension isValidForType:(NSString *)typeName |
| To | - (BOOL)filenameExtension:(NSString * _Nonnull)filenameExtension isValidForType:(NSString * _Nonnull)typeName |
Modified NSWorkspace.frontmostApplication
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSRunningApplication *frontmostApplication |
| To | @property(readonly, strong, nullable) NSRunningApplication *frontmostApplication |
| Declaration | |
|---|---|
| From | - (NSString *)fullPathForApplication:(NSString *)appName |
| To | - (NSString * _Nullable)fullPathForApplication:(NSString * _Nonnull)appName |
Modified -[NSWorkspace getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:]
| Declaration | |
|---|---|
| From | - (BOOL)getFileSystemInfoForPath:(NSString *)fullPath isRemovable:(BOOL *)removableFlag isWritable:(BOOL *)writableFlag isUnmountable:(BOOL *)unmountableFlag description:(NSString **)description type:(NSString **)fileSystemType |
| To | - (BOOL)getFileSystemInfoForPath:(NSString * _Nonnull)fullPath isRemovable:(BOOL * _Nullable)removableFlag isWritable:(BOOL * _Nullable)writableFlag isUnmountable:(BOOL * _Nullable)unmountableFlag description:(NSString * _Nullable * _Nullable)description type:(NSString * _Nullable * _Nullable)fileSystemType |
| Declaration | |
|---|---|
| From | - (BOOL)getInfoForFile:(NSString *)fullPath application:(NSString **)appName type:(NSString **)type |
| To | - (BOOL)getInfoForFile:(NSString * _Nonnull)fullPath application:(NSString * _Nullable * _Nullable)appName type:(NSString * _Nullable * _Nullable)type |
Modified -[NSWorkspace iconForFile:]
| Declaration | |
|---|---|
| From | - (NSImage *)iconForFile:(NSString *)fullPath |
| To | - (NSImage * _Nonnull)iconForFile:(NSString * _Nonnull)fullPath |
Modified -[NSWorkspace iconForFiles:]
| Declaration | |
|---|---|
| From | - (NSImage *)iconForFiles:(NSArray *)fullPaths |
| To | - (NSImage * _Nullable)iconForFiles:(NSArray<NSString *> * _Nonnull)fullPaths |
Modified -[NSWorkspace iconForFileType:]
| Declaration | |
|---|---|
| From | - (NSImage *)iconForFileType:(NSString *)fileType |
| To | - (NSImage * _Nonnull)iconForFileType:(NSString * _Nonnull)fileType |
Modified -[NSWorkspace isFilePackageAtPath:]
| Declaration | |
|---|---|
| From | - (BOOL)isFilePackageAtPath:(NSString *)fullPath |
| To | - (BOOL)isFilePackageAtPath:(NSString * _Nonnull)fullPath |
Modified -[NSWorkspace launchApplication:]
| Declaration | |
|---|---|
| From | - (BOOL)launchApplication:(NSString *)appName |
| To | - (BOOL)launchApplication:(NSString * _Nonnull)appName |
| Declaration | |
|---|---|
| From | - (BOOL)launchApplication:(NSString *)appName showIcon:(BOOL)showIcon autolaunch:(BOOL)autolaunch |
| To | - (BOOL)launchApplication:(NSString * _Nonnull)appName showIcon:(BOOL)showIcon autolaunch:(BOOL)autolaunch |
| Declaration | |
|---|---|
| From | - (NSRunningApplication *)launchApplicationAtURL:(NSURL *)url options:(NSWorkspaceLaunchOptions)options configuration:(NSDictionary *)configuration error:(NSError **)error |
| To | - (NSRunningApplication * _Nullable)launchApplicationAtURL:(NSURL * _Nonnull)url options:(NSWorkspaceLaunchOptions)options configuration:(NSDictionary<NSString *,id> * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)launchAppWithBundleIdentifier:(NSString *)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor launchIdentifier:(NSNumber **)identifier |
| To | - (BOOL)launchAppWithBundleIdentifier:(NSString * _Nonnull)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor * _Nullable)descriptor launchIdentifier:(NSNumber * _Nullable * _Nullable)identifier |
Modified -[NSWorkspace launchedApplications]
| Declaration | |
|---|---|
| From | - (NSArray *)launchedApplications |
| To | - (NSArray * _Nullable)launchedApplications |
| Declaration | |
|---|---|
| From | - (NSString *)localizedDescriptionForType:(NSString *)typeName |
| To | - (NSString * _Nullable)localizedDescriptionForType:(NSString * _Nonnull)typeName |
Modified NSWorkspace.menuBarOwningApplication
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSRunningApplication *menuBarOwningApplication |
| To | @property(readonly, strong, nullable) NSRunningApplication *menuBarOwningApplication |
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSArray *)mountedLocalVolumePaths | OS X 10.7 |
| To | - (NSArray * _Nullable)mountedLocalVolumePaths | OS X 10.11 |
Modified -[NSWorkspace mountedRemovableMedia]
| Declaration | Deprecation | |
|---|---|---|
| From | - (NSArray *)mountedRemovableMedia | OS X 10.7 |
| To | - (NSArray * _Nullable)mountedRemovableMedia | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSArray *)mountNewRemovableMedia |
| To | - (NSArray * _Nullable)mountNewRemovableMedia |
| Declaration | |
|---|---|
| From | - (void)noteFileSystemChanged:(NSString *)path |
| To | - (void)noteFileSystemChanged:(NSString * _Nonnull)path |
Modified NSWorkspace.notificationCenter
| Declaration | |
|---|---|
| From | @property(readonly, strong) NSNotificationCenter *notificationCenter |
| To | @property(readonly, strong, nonnull) NSNotificationCenter *notificationCenter |
Modified -[NSWorkspace openFile:]
| Declaration | |
|---|---|
| From | - (BOOL)openFile:(NSString *)fullPath |
| To | - (BOOL)openFile:(NSString * _Nonnull)fullPath |
| Declaration | Deprecation | |
|---|---|---|
| From | - (BOOL)openFile:(NSString *)fullPath fromImage:(NSImage *)anImage at:(NSPoint)point inView:(NSView *)aView | -- |
| To | - (BOOL)openFile:(NSString * _Nonnull)fullPath fromImage:(NSImage * _Nullable)anImage at:(NSPoint)point inView:(NSView * _Nullable)aView | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (BOOL)openFile:(NSString *)fullPath withApplication:(NSString *)appName |
| To | - (BOOL)openFile:(NSString * _Nonnull)fullPath withApplication:(NSString * _Nullable)appName |
| Declaration | |
|---|---|
| From | - (BOOL)openFile:(NSString *)fullPath withApplication:(NSString *)appName andDeactivate:(BOOL)flag |
| To | - (BOOL)openFile:(NSString * _Nonnull)fullPath withApplication:(NSString * _Nullable)appName andDeactivate:(BOOL)flag |
Modified -[NSWorkspace openTempFile:]
| Declaration | |
|---|---|
| From | - (BOOL)openTempFile:(NSString *)fullPath |
| To | - (BOOL)openTempFile:(NSString * _Nonnull)fullPath |
Modified -[NSWorkspace openURL:]
| Declaration | |
|---|---|
| From | - (BOOL)openURL:(NSURL *)url |
| To | - (BOOL)openURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (NSRunningApplication *)openURL:(NSURL *)url options:(NSWorkspaceLaunchOptions)options configuration:(NSDictionary *)configuration error:(NSError **)error |
| To | - (NSRunningApplication * _Nullable)openURL:(NSURL * _Nonnull)url options:(NSWorkspaceLaunchOptions)options configuration:(NSDictionary<NSString *,id> * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)openURLs:(NSArray *)urls withAppBundleIdentifier:(NSString *)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor launchIdentifiers:(NSArray **)identifiers |
| To | - (BOOL)openURLs:(NSArray<NSURL *> * _Nonnull)urls withAppBundleIdentifier:(NSString * _Nullable)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor * _Nullable)descriptor launchIdentifiers:(NSArray<NSNumber *> * _Nullable * _Nullable)identifiers |
| Declaration | |
|---|---|
| From | - (NSRunningApplication *)openURLs:(NSArray *)urls withApplicationAtURL:(NSURL *)applicationURL options:(NSWorkspaceLaunchOptions)options configuration:(NSDictionary *)configuration error:(NSError **)error |
| To | - (NSRunningApplication * _Nullable)openURLs:(NSArray<NSURL *> * _Nonnull)urls withApplicationAtURL:(NSURL * _Nonnull)applicationURL options:(NSWorkspaceLaunchOptions)options configuration:(NSDictionary<NSString *,id> * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error |
| Declaration | Deprecation | |
|---|---|---|
| From | - (BOOL)performFileOperation:(NSString *)operation source:(NSString *)source destination:(NSString *)destination files:(NSArray *)files tag:(NSInteger *)tag | -- |
| To | - (BOOL)performFileOperation:(NSString * _Nonnull)operation source:(NSString * _Nonnull)source destination:(NSString * _Nonnull)destination files:(NSArray * _Nonnull)files tag:(NSInteger * _Nullable)tag | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSString *)preferredFilenameExtensionForType:(NSString *)typeName |
| To | - (NSString * _Nullable)preferredFilenameExtensionForType:(NSString * _Nonnull)typeName |
| Declaration | |
|---|---|
| From | - (void)recycleURLs:(NSArray *)URLs completionHandler:(void (^)(NSDictionary *newURLs, NSError *error))handler |
| To | - (void)recycleURLs:(NSArray<NSURL *> * _Nonnull)URLs completionHandler:(void (^ _Nullable)(NSDictionary<NSURL *,NSURL *> * _Nonnull newURLs, NSError * _Nullable error))handler |
| Declaration | |
|---|---|
| From | - (BOOL)selectFile:(NSString *)fullPath inFileViewerRootedAtPath:(NSString *)rootFullPath |
| To | - (BOOL)selectFile:(NSString * _Nullable)fullPath inFileViewerRootedAtPath:(NSString * _Nonnull)rootFullPath |
| Declaration | |
|---|---|
| From | - (BOOL)setDesktopImageURL:(NSURL *)url forScreen:(NSScreen *)screen options:(NSDictionary *)options error:(NSError **)error |
| To | - (BOOL)setDesktopImageURL:(NSURL * _Nonnull)url forScreen:(NSScreen * _Nonnull)screen options:(NSDictionary<NSString *,id> * _Nonnull)options error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)setIcon:(NSImage *)image forFile:(NSString *)fullPath options:(NSWorkspaceIconCreationOptions)options |
| To | - (BOOL)setIcon:(NSImage * _Nullable)image forFile:(NSString * _Nonnull)fullPath options:(NSWorkspaceIconCreationOptions)options |
Modified +[NSWorkspace sharedWorkspace]
| Declaration | |
|---|---|
| From | + (NSWorkspace *)sharedWorkspace |
| To | + (NSWorkspace * _Nonnull)sharedWorkspace |
| Declaration | |
|---|---|
| From | - (BOOL)showSearchResultsForQueryString:(NSString *)queryString |
| To | - (BOOL)showSearchResultsForQueryString:(NSString * _Nonnull)queryString |
Modified -[NSWorkspace slideImage:from:to:]
| Declaration | |
|---|---|
| From | - (void)slideImage:(NSImage *)image from:(NSPoint)fromPoint to:(NSPoint)toPoint |
| To | - (void)slideImage:(NSImage * _Nonnull)image from:(NSPoint)fromPoint to:(NSPoint)toPoint |
Modified -[NSWorkspace type:conformsToType:]
| Declaration | |
|---|---|
| From | - (BOOL)type:(NSString *)firstTypeName conformsToType:(NSString *)secondTypeName |
| To | - (BOOL)type:(NSString * _Nonnull)firstTypeName conformsToType:(NSString * _Nonnull)secondTypeName |
Modified -[NSWorkspace typeOfFile:error:]
| Declaration | |
|---|---|
| From | - (NSString *)typeOfFile:(NSString *)absoluteFilePath error:(NSError **)outError |
| To | - (NSString * _Nullable)typeOfFile:(NSString * _Nonnull)absoluteFilePath error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (BOOL)unmountAndEjectDeviceAtPath:(NSString *)path |
| To | - (BOOL)unmountAndEjectDeviceAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)unmountAndEjectDeviceAtURL:(NSURL *)url error:(NSError **)error |
| To | - (BOOL)unmountAndEjectDeviceAtURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForApplicationToOpenURL:(NSURL *)url |
| To | - (NSURL * _Nullable)URLForApplicationToOpenURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForApplicationWithBundleIdentifier:(NSString *)bundleIdentifier |
| To | - (NSURL * _Nullable)URLForApplicationWithBundleIdentifier:(NSString * _Nonnull)bundleIdentifier |
Modified NSWorkspaceCompressOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceCopyOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceDecompressOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceDecryptOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceDestroyOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceDuplicateOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceEncryptOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceLaunchPreferringClassic
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceLinkOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceMoveOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified NSWorkspaceRecycleOperation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |