| Declaration | |
|---|---|
| From | void NSAccessibilityPostNotificationWithUserInfo(id _Nonnull element, NSAccessibilityNotificationName _Nonnull notification, NSDictionary<NSAccessibilityNotificationUserInfoKey,id> * _Nonnull userInfo) |
| To | void NSAccessibilityPostNotificationWithUserInfo(id _Nonnull element, NSAccessibilityNotificationName _Nonnull notification, NSDictionary<NSAccessibilityNotificationUserInfoKey,id> * _Nullable userInfo) |
| Declaration | |
|---|---|
| From | - (nonnull instancetype)initWithName:(nonnull NSString *)name handler:(nullable BOOL (^)())handler |
| To | - (nonnull instancetype)initWithName:(nonnull NSString *)name handler:(nullable BOOL (^)(void))handler |
| Declaration | |
|---|---|
| From | @property (copy, nullable) BOOL (^)() handler |
| To | @property (copy, nullable) BOOL (^)(void) handler |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | accessibilityHeader |
| Protocols | |
|---|---|
| From | NSAccessibility, NSAccessibilityElement, NSUserInterfaceValidations |
| To | NSAccessibility, NSAccessibilityElement, NSAppearanceCustomization, NSMenuItemValidation, NSUserInterfaceValidations |
| Declaration | |
|---|---|
| From | - (BOOL)application:(nonnull NSApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray * _Nonnull))restorationHandler |
| To | - (BOOL)application:(nonnull NSApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<NSUserActivityRestoring>> * _Nonnull))restorationHandler |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now an optional method of the NSApplicationDelegate protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -[NSView cacheDisplayInRect:toBitmapImageRep:] to snapshot a view. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapImageFileTypeTIFF |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapImageFileTypeBMP |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapImageFileTypeGIF |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapImageFileTypeJPEG |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapImageFileTypePNG |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapImageFileTypeJPEG2000 |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapFormatAlphaFirst |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapFormatAlphaNonpremultiplied |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapFormatFloatingPointSamples |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapFormatSixteenBitLittleEndian |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapFormatThirtyTwoBitLittleEndian |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapFormatSixteenBitBigEndian |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBitmapFormatThirtyTwoBitBigEndian |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | borderType is only applicable to NSBoxOldStyle, which is deprecated. To replace a borderType of NSNoBorder, use the `transparent` property. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeMomentaryLight |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypePushOnPushOff |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeToggle |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeSwitch |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeRadio |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeMomentaryChange |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeOnOff |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeMomentaryPushIn |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeAccelerator |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSButtonTypeMultiLevelAccelerator |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleRounded |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleRegularSquare |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleDisclosure |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleShadowlessSquare |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleCircular |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleTexturedSquare |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleHelpButton |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleSmallSquare |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleTexturedRounded |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleRoundRect |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleRecessed |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleRoundedDisclosure |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSBezelStyleInline |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSControlStateValue |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSControlStateValueMixed |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSControlStateValueOff |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSControlStateValueOn |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | The controlTint property is not respected on 10.14 and later. For custom cells, use +[NSColor controlAccentColor] to respect the user's preferred accent color when drawing. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Changes to the accent color can be manually observed by implementing -viewDidChangeEffectiveAppearance in a NSView subclass, or by Key-Value Observing the -effectiveAppearance property on NSApplication. Views are automatically redisplayed when the accent color changes. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -[NSCollectionViewDataSource collectionView:itemForRepresentedObjectAtIndexPath:] instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -registerNib:forItemWithIdentifier: or -registerClass:forItemWithIdentifier: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSCollectionViewGridLayout as the receiver's collectionViewLayout, setting its maximumNumberOfRows instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSCollectionViewGridLayout as the receiver's collectionViewLayout, setting its maximumNumberOfColumns instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSCollectionViewGridLayout as the receiver's collectionViewLayout, setting its minimumItemSize instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSCollectionViewGridLayout as the receiver's collectionViewLayout, setting its maximumItemSize instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSControlTint does not describe the full range of available control accent colors. Use +[NSColor controlAccentColor] instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a color that matches the semantics being used, such as `separatorColor` |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a color that matches the semantics being used, such as `separatorColor` |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a color that matches the semantics being used, such as `separatorColor` |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a color that matches the semantics being used, such as `separatorColor` |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSScroller instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSScroller instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSScroller instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSVisualEffectMaterialTitlebar |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSVisualEffectMaterialSelection |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSVisualEffectMaterialHeaderView |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | unemphasizedSelectedContentBackgroundColor |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | selectedContentBackgroundColor |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | alternatingContentBackgroundColors |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -type and NSColorType instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -colorUsingType: or -colorUsingColorSpace: instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -colorUsingType: or -colorUsingColorSpace: instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -writeToURL:error: instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSColorChanging protocol. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeNone |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeGray |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeRGB |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeCMYK |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeHSB |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeCustomPalette |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeColorList |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeWheel |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorPanelModeCrayon |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelUnknown |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelGray |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelRGB |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelCMYK |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelLAB |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelDeviceN |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelIndexed |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSColorSpaceModelPatterned |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now an optional method of the NSControlTextEditingDelegate protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now an optional method of the NSControlTextEditingDelegate protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now an optional method of the NSControlTextEditingDelegate protocol. |
| Protocols | |
|---|---|
| From | NSCoding |
| To | NSCoding, NSEditor, NSEditorRegistration |
| Declaration | |
|---|---|
| From | - (void)objectDidBeginEditing:(nonnull id)editor |
| To | - (void)objectDidBeginEditing:(nonnull id<NSEditor>)editor |
| Declaration | |
|---|---|
| From | - (void)objectDidEndEditing:(nonnull id)editor |
| To | - (void)objectDidEndEditing:(nonnull id<NSEditor>)editor |
| Protocols | |
|---|---|
| From | NSFilePresenter, NSUserInterfaceValidations |
| To | NSEditorRegistration, NSFilePresenter, NSMenuItemValidation, NSUserActivityRestoring, NSUserInterfaceValidations |
| Protocols | |
|---|---|
| From | NSCoding, NSUserInterfaceValidations, NSWindowRestoration |
| To | NSCoding, NSMenuItemValidation, NSUserInterfaceValidations, NSWindowRestoration |
| Declaration | |
|---|---|
| From | - (nullable NSWindow *)draggingDestinationWindow |
| To | @property (readonly, nullable) NSWindow *draggingDestinationWindow |
| Declaration | |
|---|---|
| From | - (NSDragOperation)draggingSourceOperationMask |
| To | @property (readonly) NSDragOperation draggingSourceOperationMask |
| Declaration | |
|---|---|
| From | - (NSPoint)draggingLocation |
| To | @property (readonly) NSPoint draggingLocation |
| Declaration | |
|---|---|
| From | - (NSPoint)draggedImageLocation |
| To | @property (readonly) NSPoint draggedImageLocation |
| Declaration | Availability | Deprecation Message | |
|---|---|---|---|
| From | - (nullable NSImage *)draggedImage | Available | none |
| To | @property (readonly, nullable) NSImage *draggedImage | Deprecated | Use NSDraggingItem objects instead |
| Declaration | |
|---|---|
| From | - (nonnull NSPasteboard *)draggingPasteboard |
| To | @property (readonly, nonnull) NSPasteboard *draggingPasteboard |
| Declaration | |
|---|---|
| From | - (nullable id)draggingSource |
| To | @property (readonly, nullable) id draggingSource |
| Declaration | |
|---|---|
| From | - (NSInteger)draggingSequenceNumber |
| To | @property (readonly) NSInteger draggingSequenceNumber |
| Protocols | |
|---|---|
| From | none |
| To | NSMenuItemValidation |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now an optional method of the NSFontChanging protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now an optional method of the NSFontChanging protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -[NSBitmapImageRep colorAtX:y:] to interrogate pixel values. If necessary, use -[NSView cacheDisplayInRect:toBitmapImageRep:] to snapshot a view hierarchy into an NSBitmapImageRep. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Doesn't return anything useful since 10.0 |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | As of 10.11 it is not generally necessary to take explicit action to achieve visual atomicity. +[NSAnimationContext runAnimationGroup:] and other similar methods can be used when a stronger than normal need for visual atomicity is required. The NSAnimationContext methods do not suffer from the same performance problems as NSDisableScreenUpdates. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | As of 10.11 it is not generally necessary to take explicit action to achieve visual atomicity. +[NSAnimationContext runAnimationGroup:] and other similar methods can be used when a stronger than normal need for visual atomicity is required. The NSAnimationContext methods do not suffer from the same performance problems as NSEnableScreenUpdates. |
| Protocols | |
|---|---|
| From | NSCoding, NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
| To | NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
| Declaration | |
|---|---|
| From | + (nonnull NSImage *)imageWithSize:(NSSize)size flipped:(BOOL)drawingHandlerShouldBeCalledWithFlippedContext drawingHandler:(nonnull BOOL (^)(NSRect))drawingHandler |
| To | + (nonnull instancetype)imageWithSize:(NSSize)size flipped:(BOOL)drawingHandlerShouldBeCalledWithFlippedContext drawingHandler:(nonnull BOOL (^)(NSRect))drawingHandler |
| Protocols | |
|---|---|
| From | NSAccessibilityImage |
| To | NSAccessibilityImage, NSMenuItemValidation |
| Declaration | Availability | Replacement | |
|---|---|---|---|
| From | id _Nonnull NSMultipleValuesMarker | Available | none |
| To | NSBindingSelectionMarker * _Nonnull NSMultipleValuesMarker | Deprecated | NSBindingSelectionMarker.multipleValuesSelectionMarker |
| Declaration | Availability | Replacement | |
|---|---|---|---|
| From | id _Nonnull NSNoSelectionMarker | Available | none |
| To | NSBindingSelectionMarker * _Nonnull NSNoSelectionMarker | Deprecated | NSBindingSelectionMarker.noSelectionMarker |
| Declaration | Availability | Replacement | |
|---|---|---|---|
| From | id _Nonnull NSNotApplicableMarker | Available | none |
| To | NSBindingSelectionMarker * _Nonnull NSNotApplicableMarker | Deprecated | NSBindingSelectionMarker.notApplicableSelectionMarker |
| Declaration | |
|---|---|
| From | + (void)setDefaultPlaceholder:(nullable id)placeholder forMarker:(nullable id)marker withBinding:(nonnull NSBindingName)binding |
| To | + (void)setDefaultPlaceholder:(nullable id)placeholder forMarker:(nullable NSBindingSelectionMarker *)marker withBinding:(nonnull NSBindingName)binding |
| Declaration | |
|---|---|
| From | + (nullable id)defaultPlaceholderForMarker:(nullable id)marker withBinding:(nonnull NSBindingName)binding |
| To | + (nullable id)defaultPlaceholderForMarker:(nullable NSBindingSelectionMarker *)marker withBinding:(nonnull NSBindingName)binding |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSEditor protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSEditor protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSEditor protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSEditor protocol. |
| Declaration | Availability | Deprecation Message | |
|---|---|---|---|
| From | - (void)objectDidBeginEditing:(nonnull id)editor | Available | none |
| To | - (void)objectDidBeginEditing:(nonnull id<NSEditor>)editor | Deprecated | This is now a method of the NSEditorRegistration protocol. |
| Declaration | Availability | Deprecation Message | |
|---|---|---|---|
| From | - (void)objectDidEndEditing:(nonnull id)editor | Available | none |
| To | - (void)objectDidEndEditing:(nonnull id<NSEditor>)editor | Deprecated | This is now a method of the NSEditorRegistration protocol. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSViewNoIntrinsicMetric |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSLevelIndicatorStyleRelevancy |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSLevelIndicatorStyleContinuousCapacity |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSLevelIndicatorStyleDiscreteCapacity |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSLevelIndicatorStyleRating |
| Protocols | |
|---|---|
| From | NSUserInterfaceValidations |
| To | NSUserInterfaceValidations, NSViewToolTipOwner |
| Declaration | |
|---|---|
| From | @property (readonly, copy, nonnull) NSArray<NSMenuItem *> *itemArray |
| To | @property (copy, nonnull) NSArray<NSMenuItem *> *itemArray |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSMenuItemValidation protocol. |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Please use Metal or MetalKit. |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Please use Metal or MetalKit. |
| Declaration | Availability | Deprecation Message | |
|---|---|---|---|
| From | @property (weak, nullable) NSView *view | Available | none |
| To | - (void)setView:(nullable NSView *)view | Deprecated | Use NSOpenGLView to provide OpenGL content in a Cocoa app. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterSwapInterval |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterSurfaceOrder |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterSurfaceOpacity |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterSurfaceBackingSize |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterReclaimResources |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterCurrentRendererID |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterGPUVertexProcessing |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterGPUFragmentProcessing |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterHasDrawable |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterMPSwapsInFlight |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterSwapRectangle |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterSwapRectangleEnable |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterRasterizationEnable |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterStateValidation |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSOpenGLContextParameterSurfaceSurfaceVolatile |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Please use CAMetalLayer instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Please use MTKView instead. |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSPasteboardTypeOwner protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now an optional method of the NSPasteboardTypeOwner protocol. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeString |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeTIFF |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeRTF |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeTabularText |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeFont |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeRuler |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeColor |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeRTFD |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeHTML |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeURL |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypePDF |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeMultipleTextSelection |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | @"com.adobe.encapsulated-postscript" |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | kUTTypeVCard |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | kUTTypeInkText |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | kPasteboardTypeFileURLPromise |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPasteboardTypeTextFinderOptions |
| Protocols | |
|---|---|
| From | NSOpenSavePanelDelegate |
| To | NSMenuItemValidation, NSOpenSavePanelDelegate |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPaperOrientationPortrait |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSPaperOrientationLandscape |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSProgressIndicatorStyleBar |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSProgressIndicatorStyleSpinning |
| Protocols | |
|---|---|
| From | NSCoding, NSTouchBarProvider |
| To | NSCoding, NSStandardKeyBindingResponding, NSTouchBarProvider, NSUserActivityRestoring |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Has had no effect since 10.7 |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Has had no effect since 10.7 |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Has had no effect since 10.7 |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Not invoked since 10.7 |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Scrollers don't have arrows as of 10.7 |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This service is no longer included with the system. |
| Declaration | |
|---|---|
| From | - (void)setTitleCell:(NSCell *)cell |
| To | - (void)setTitleCell:(null_unspecified NSCell *)cell |
| Declaration | |
|---|---|
| From | - (id)titleCell |
| To | - (null_unspecified id)titleCell |
| Declaration | |
|---|---|
| From | - (void)setTitleColor:(NSColor *)newColor |
| To | - (void)setTitleColor:(null_unspecified NSColor *)newColor |
| Declaration | |
|---|---|
| From | - (NSColor *)titleColor |
| To | - (null_unspecified NSColor *)titleColor |
| Declaration | |
|---|---|
| From | - (void)setTitleFont:(NSFont *)fontObj |
| To | - (void)setTitleFont:(null_unspecified NSFont *)fontObj |
| Declaration | |
|---|---|
| From | - (NSFont *)titleFont |
| To | - (null_unspecified NSFont *)titleFont |
| Declaration | |
|---|---|
| From | - (NSString *)title |
| To | - (null_unspecified NSString *)title |
| Declaration | |
|---|---|
| From | - (void)setTitle:(NSString *)string |
| To | - (void)setTitle:(null_unspecified NSString *)string |
| Protocols | |
|---|---|
| From | NSCoding, NSCopying, NSPasteboardReading, NSPasteboardWriting |
| To | NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
| Declaration | |
|---|---|
| From | @property (readonly, copy, nonnull) NSArray<__kindof NSTabViewItem *> *tabViewItems |
| To | @property (copy, nonnull) NSArray<__kindof NSTabViewItem *> *tabViewItems |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | The controlTint property is not respected on 10.14 and later. |
| Protocols | |
|---|---|
| From | NSAccessibilityNavigableStaticText, NSCandidateListTouchBarItemDelegate, NSDraggingSource, NSTextInput, NSTextInputClient, NSTextLayoutOrientationProvider, NSTouchBarDelegate, NSUserInterfaceValidations |
| To | NSAccessibilityNavigableStaticText, NSCandidateListTouchBarItemDelegate, NSColorChanging, NSDraggingSource, NSMenuItemValidation, NSStandardKeyBindingResponding, NSTextInput, NSTextInputClient, NSTextLayoutOrientationProvider, NSTouchBarDelegate, NSUserInterfaceValidations |
| Declaration | |
|---|---|
| From | - (nullable NSArray<id<QLPreviewItem>> *)quickLookPreviewableItemsInRanges:(nonnull NSArray<NSValue *> *)ranges |
| To | - (nonnull NSArray<id<QLPreviewItem>> *)quickLookPreviewableItemsInRanges:(nonnull NSArray<NSValue *> *)ranges |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSTokenStyleDefault |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSTokenStyleNone |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSTokenStyleRounded |
| Protocols | |
|---|---|
| From | NSCopying, NSValidatedUserInterfaceItem |
| To | NSCopying, NSMenuItemValidation, NSValidatedUserInterfaceItem |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSToolbarItemValidation protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | If a view needs display, -drawRect: or -updateLayer will be called automatically when the view is able to draw. To check whether a view is in a window, call -window. To check whether a view is hidden, call -isHiddenOrHasHiddenAncestor. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | To draw, subclass NSView and implement -drawRect:; AppKit's automatic deferred display mechanism will call -drawRect: as necessary to display the view. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | To draw, subclass NSView and implement -drawRect:; AppKit's automatic deferred display mechanism will call -drawRect: as necessary to display the view. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | To draw, subclass NSView and implement -drawRect:; AppKit's automatic deferred display mechanism will call -drawRect: as necessary to display the view. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use NSScrollView to achieve scrolling views. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSViewLayerContentScaleDelegate protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is now a method of the NSViewToolTipOwner protocol. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This is never invoked and the NSView implementation does nothing |
| Protocols | |
|---|---|
| From | NSCoding, NSExtensionRequestHandling, NSSeguePerforming, NSUserInterfaceItemIdentification |
| To | NSEditor, NSExtensionRequestHandling, NSSeguePerforming, NSUserInterfaceItemIdentification |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a specific semantic material instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a semantic material instead. To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a semantic material instead. To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a semantic material instead. To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a semantic material instead. To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Textured window style should no longer be used |
| Protocols | |
|---|---|
| From | NSAccessibility, NSAccessibilityElement, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSUserInterfaceItemIdentification, NSUserInterfaceValidations |
| To | NSAccessibility, NSAccessibilityElement, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSMenuItemValidation, NSUserInterfaceItemIdentification, NSUserInterfaceValidations |
| Declaration | |
|---|---|
| From | @property (readonly, copy, nonnull) NSString *stringWithSavedFrame |
| To | @property (readonly, copy, nonnull) NSWindowPersistableFrameDescriptor stringWithSavedFrame |
| Declaration | |
|---|---|
| From | - (void)setFrameFromString:(nonnull NSString *)string |
| To | - (void)setFrameFromString:(nonnull NSWindowPersistableFrameDescriptor)string |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use +[NSAnimationContext runAnimationGroup:completionHandler:] to perform atomic updates across runloop invocations. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use +[NSAnimationContext runAnimationGroup:completionHandler:] to perform atomic updates across runloop invocations. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use +[NSAnimationContext runAnimationGroup:completionHandler:] to perform atomic updates across runloop invocations. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Allow AppKit's automatic deferred display mechanism to take care of flushing any graphics contexts as needed. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Allow AppKit's automatic deferred display mechanism to take care of flushing any graphics contexts as needed. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use +[NSAnimationContext runAnimationGroup:completionHandler:] to temporarily prevent AppKit's automatic deferred display mechanism from drawing. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Add instances of NSView to display content in a window. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This property does not do anything and should not be used |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This property does not do anything and should not be used |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This property does not do anything and should not be used |
| Availability | |
|---|---|
| From | Available |
| To | Deprecated |