Guides and Sample Code Developer
Search

AppKit Changes for Objective-C

AppKit

AppKitDefines.h

NSAccessibility.h

NSAccessibilityConstants.h

NSAccessibilityProtocols.h

DeclarationReadonly
From
- (id)accessibilityFocusedUIElement
--
To
@property(readonly, strong) id accessibilityFocusedUIElement
yes

NSAffineTransform.h

Declaration
From
- (NSBezierPath *)transformBezierPath:(NSBezierPath *)aPath
To
- (NSBezierPath *)transformBezierPath:(NSBezierPath *)path

NSAlert.h

Declaration
From
@property(assign) id<NSAlertDelegate> delegate
To
@property(weak) id<NSAlertDelegate> delegate

NSAnimation.h

Designated Initializer
From--
Toyes

Declaration
From
@property(readonly, copy) NSArray<NSString *> *runLoopModesForAnimating
To
@property(readonly, copy) NSArray<NSRunLoopMode> *runLoopModesForAnimating

NSAppearance.h

NSApplication.h

Declaration
From
- (void)addWindowsItem:(NSWindow *)win title:(NSString *)aString filename:(BOOL)isFilename
To
- (void)addWindowsItem:(NSWindow *)win title:(NSString *)string filename:(BOOL)isFilename

Declaration
From
- (NSModalSession)beginModalSessionForWindow:(NSWindow *)theWindow
To
- (NSModalSession)beginModalSessionForWindow:(NSWindow *)window

Declaration
From
- (NSModalSession)beginModalSessionForWindow:(NSWindow *)theWindow relativeToWindow:(NSWindow *)docWindow
To
- (NSModalSession)beginModalSessionForWindow:(NSWindow *)window relativeToWindow:(NSWindow *)docWindow

Declaration
From
- (void)changeWindowsItem:(NSWindow *)win title:(NSString *)aString filename:(BOOL)isFilename
To
- (void)changeWindowsItem:(NSWindow *)win title:(NSString *)string filename:(BOOL)isFilename

Deprecation
From--
ToOS X 10.12

Declaration
From
- (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent *)lastEvent
To
- (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(NSEvent *)lastEvent

DeclarationDeprecation
From
- (NSWindow *)makeWindowsPerform:(SEL)aSelector inOrder:(BOOL)flag
--
To
- (NSWindow *)makeWindowsPerform:(SEL)selector inOrder:(BOOL)flag
OS X 10.12

Declaration
From
- (NSEvent *)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate *)expiration inMode:(NSString *)mode dequeue:(BOOL)deqFlag
To
- (NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag

Declaration
From
- (void)reportException:(NSException *)theException
To
- (void)reportException:(NSException *)exception

Declaration
From
- (NSInteger)runModalForWindow:(NSWindow *)theWindow
To
- (NSInteger)runModalForWindow:(NSWindow *)window

Declaration
From
- (NSInteger)runModalForWindow:(NSWindow *)theWindow relativeToWindow:(NSWindow *)docWindow
To
- (NSInteger)runModalForWindow:(NSWindow *)window relativeToWindow:(NSWindow *)docWindow

Declaration
From
- (BOOL)sendAction:(SEL)theAction to:(id)theTarget from:(id)sender
To
- (BOOL)sendAction:(SEL)action to:(id)target from:(id)sender

Declaration
From
- (void)sendEvent:(NSEvent *)theEvent
To
- (void)sendEvent:(NSEvent *)event

Declaration
From
- (id)targetForAction:(SEL)theAction
To
- (id)targetForAction:(SEL)action

Declaration
From
- (id)targetForAction:(SEL)theAction to:(id)theTarget from:(id)sender
To
- (id)targetForAction:(SEL)action to:(id)target from:(id)sender

Declaration
From
- (BOOL)tryToPerform:(SEL)anAction with:(id)anObject
To
- (BOOL)tryToPerform:(SEL)action with:(id)object

NSBitmapImageRep.h

NSBrowser.h

Declaration
From
- (void)drawTitleOfColumn:(NSInteger)column inRect:(NSRect)aRect
To
- (void)drawTitleOfColumn:(NSInteger)column inRect:(NSRect)rect

Declaration
From
- (void)editItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)theEvent select:(BOOL)select
To
- (void)editItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)event select:(BOOL)select

Declaration
From
- (void)setTitle:(NSString *)aString ofColumn:(NSInteger)column
To
- (void)setTitle:(NSString *)string ofColumn:(NSInteger)column

NSBrowserCell.h

NSButton.h

Declaration
From
@property NSUInteger keyEquivalentModifierMask
To
@property NSEventModifierFlags keyEquivalentModifierMask

Declaration
From
- (void)setButtonType:(NSButtonType)aType
To
- (void)setButtonType:(NSButtonType)type

NSButtonCell.h

Added NSButtonCell(NSDeprecated)
Deprecation
From--
ToOS X 10.12

Declaration
From
@property NSUInteger keyEquivalentModifierMask
To
@property NSEventModifierFlags keyEquivalentModifierMask

Declaration
From
- (void)setButtonType:(NSButtonType)aType
To
- (void)setButtonType:(NSButtonType)type

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

NSCell.h

Declaration
From
- (void)calcDrawInfo:(NSRect)aRect
To
- (void)calcDrawInfo:(NSRect)rect

Declaration
From
- (NSInteger)cellAttribute:(NSCellAttribute)aParameter
To
- (NSInteger)cellAttribute:(NSCellAttribute)parameter

Declaration
From
- (NSSize)cellSizeForBounds:(NSRect)aRect
To
- (NSSize)cellSizeForBounds:(NSRect)rect

Declaration
From
- (NSRect)drawingRectForBounds:(NSRect)theRect
To
- (NSRect)drawingRectForBounds:(NSRect)rect

Declaration
From
- (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent
To
- (void)editWithFrame:(NSRect)rect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)delegate event:(NSEvent *)event

Declaration
From
- (NSTextView *)fieldEditorForView:(NSView *)aControlView
To
- (NSTextView *)fieldEditorForView:(NSView *)controlView

Declaration
From
- (NSRect)imageRectForBounds:(NSRect)theRect
To
- (NSRect)imageRectForBounds:(NSRect)rect

Designated Initializer
From--
Toyes

DeclarationDesignated Initializer
From
- (instancetype)initTextCell:(NSString *)aString
--
To
- (instancetype)initTextCell:(NSString *)string
yes

Declaration
From
- (BOOL)isEntryAcceptable:(NSString *)aString
To
- (BOOL)isEntryAcceptable:(NSString *)string

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)rect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)delegate start:(NSInteger)selStart length:(NSInteger)selLength

Declaration
From
- (NSInteger)sendActionOn:(NSInteger)mask
To
- (NSInteger)sendActionOn:(NSEventMask)mask

Declaration
From
- (void)setCellAttribute:(NSCellAttribute)aParameter to:(NSInteger)value
To
- (void)setCellAttribute:(NSCellAttribute)parameter to:(NSInteger)value

Declaration
From
- (void)setEntryType:(NSInteger)aType
To
- (void)setEntryType:(NSInteger)type

Declaration
From
- (NSRect)titleRectForBounds:(NSRect)theRect
To
- (NSRect)titleRectForBounds:(NSRect)rect

Declaration
From
- (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)flag
To
- (BOOL)trackMouse:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)flag

NSClipView.h

Declaration
From
- (BOOL)autoscroll:(NSEvent *)theEvent
To
- (BOOL)autoscroll:(NSEvent *)event

Declaration
From
@property(assign) id documentView
To
@property(assign) __kindof NSView *documentView

Declaration
From
- (void)reflectScrolledClipView:(NSClipView *)aClipView
To
- (void)reflectScrolledClipView:(NSClipView *)clipView

Declaration
From
- (void)scrollClipView:(NSClipView *)aClipView toPoint:(NSPoint)aPoint
To
- (void)scrollClipView:(NSClipView *)clipView toPoint:(NSPoint)point

NSCollectionView.h

Declaration
From
@property(strong) NSCollectionViewLayout *collectionViewLayout
To
@property(strong) __kindof NSCollectionViewLayout *collectionViewLayout

Declaration
From
@property(assign) id<NSCollectionViewDelegate> delegate
To
@property(weak) id<NSCollectionViewDelegate> delegate

NSCollectionViewFlowLayout.h

NSColor.h

Added NSColor.alternateSelectedControlColor
Added NSColor.alternateSelectedControlTextColor
Added NSColor.blackColor
Added NSColor.blueColor
Added NSColor.brownColor
Added NSColor.clearColor
Added NSColor.controlAlternatingRowBackgroundColors
Added NSColor.controlBackgroundColor
Added NSColor.controlColor
Added NSColor.controlDarkShadowColor
Added NSColor.controlHighlightColor
Added NSColor.controlLightHighlightColor
Added NSColor.controlShadowColor
Added NSColor.controlTextColor
Added NSColor.currentControlTint
Added NSColor.cyanColor
Added NSColor.darkGrayColor
Added NSColor.disabledControlTextColor
Added NSColor.grayColor
Added NSColor.greenColor
Added NSColor.gridColor
Added NSColor.headerColor
Added NSColor.headerTextColor
Added NSColor.highlightColor
Added NSColor.ignoresAlpha
Added NSColor.keyboardFocusIndicatorColor
Added NSColor.knobColor
Added NSColor.labelColor
Added NSColor.lightGrayColor
Added NSColor.magentaColor
Added NSColor.orangeColor
Added NSColor.purpleColor
Added NSColor.quaternaryLabelColor
Added NSColor.redColor
Added NSColor.scrollBarColor
Added NSColor.secondaryLabelColor
Added NSColor.secondarySelectedControlColor
Added NSColor.selectedControlColor
Added NSColor.selectedControlTextColor
Added NSColor.selectedKnobColor
Added NSColor.selectedMenuItemColor
Added NSColor.selectedMenuItemTextColor
Added NSColor.selectedTextBackgroundColor
Added NSColor.selectedTextColor
Added NSColor.shadowColor
Added NSColor.tertiaryLabelColor
Added NSColor.textBackgroundColor
Added NSColor.textColor
Added NSColor.underPageBackgroundColor
Added NSColor.whiteColor
Added NSColor.windowBackgroundColor
Added NSColor.windowFrameColor
Added NSColor.windowFrameTextColor
Added NSColor.yellowColor
Declaration
From
+ (void)setIgnoresAlpha:(BOOL)flag
To
+ (void)setIgnoresAlpha:(BOOL)ignoresAlpha

NSColorList.h

NSColorPanel.h

Declaration
From
+ (BOOL)dragColor:(NSColor *)color withEvent:(NSEvent *)theEvent fromView:(NSView *)sourceView
To
+ (BOOL)dragColor:(NSColor *)color withEvent:(NSEvent *)event fromView:(NSView *)sourceView

Declaration
From
- (void)setAction:(SEL)aSelector
To
- (void)setAction:(SEL)selector

Declaration
From
- (void)setTarget:(id)anObject
To
- (void)setTarget:(id)target

NSColorSpace.h

Added NSColorSpace.adobeRGB1998ColorSpace
Added NSColorSpace.deviceCMYKColorSpace
Added NSColorSpace.deviceGrayColorSpace
Added NSColorSpace.deviceRGBColorSpace
Added NSColorSpace.displayP3ColorSpace
Added NSColorSpace.extendedGenericGamma22GrayColorSpace
Added NSColorSpace.extendedSRGBColorSpace
Added NSColorSpace.genericCMYKColorSpace
Added NSColorSpace.genericGamma22GrayColorSpace
Added NSColorSpace.genericGrayColorSpace
Added NSColorSpace.genericRGBColorSpace
Added NSColorSpace.sRGBColorSpace

NSComboBox.h

Declaration
From
- (id<NSComboBoxDelegate>)delegate
To
@property(assign) id<NSComboBoxDelegate> delegate

Declaration
From
- (NSString *)comboBox:(NSComboBox *)aComboBox completedString:(NSString *)string
To
- (NSString *)comboBox:(NSComboBox *)comboBox completedString:(NSString *)string

Declaration
From
- (NSUInteger)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)string
To
- (NSUInteger)comboBox:(NSComboBox *)comboBox indexOfItemWithStringValue:(NSString *)string

Declaration
From
- (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(NSInteger)index
To
- (id)comboBox:(NSComboBox *)comboBox objectValueForItemAtIndex:(NSInteger)index

Declaration
From
- (NSInteger)numberOfItemsInComboBox:(NSComboBox *)aComboBox
To
- (NSInteger)numberOfItemsInComboBox:(NSComboBox *)comboBox

NSComboBoxCell.h

Declaration
From
- (NSString *)comboBoxCell:(NSComboBoxCell *)aComboBoxCell completedString:(NSString *)uncompletedString
To
- (NSString *)comboBoxCell:(NSComboBoxCell *)comboBoxCell completedString:(NSString *)uncompletedString

Declaration
From
- (NSUInteger)comboBoxCell:(NSComboBoxCell *)aComboBoxCell indexOfItemWithStringValue:(NSString *)string
To
- (NSUInteger)comboBoxCell:(NSComboBoxCell *)comboBoxCell indexOfItemWithStringValue:(NSString *)string

Declaration
From
- (id)comboBoxCell:(NSComboBoxCell *)aComboBoxCell objectValueForItemAtIndex:(NSInteger)index
To
- (id)comboBoxCell:(NSComboBoxCell *)comboBoxCell objectValueForItemAtIndex:(NSInteger)index

NSControl.h

Declaration
From
- (void)drawCell:(NSCell *)aCell
To
- (void)drawCell:(NSCell *)cell

Declaration
From
- (void)drawCellInside:(NSCell *)aCell
To
- (void)drawCellInside:(NSCell *)cell

Declaration
From
- (void)editWithFrame:(NSRect)aRect editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent
To
- (void)editWithFrame:(NSRect)rect editor:(NSText *)textObj delegate:(id)delegate event:(NSEvent *)event

Declaration
From
- (void)mouseDown:(NSEvent *)theEvent
To
- (void)mouseDown:(NSEvent *)event

Declaration
From
- (void)selectCell:(NSCell *)aCell
To
- (void)selectCell:(NSCell *)cell

Declaration
From
- (void)selectWithFrame:(NSRect)aRect editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart length:(NSInteger)selLength
To
- (void)selectWithFrame:(NSRect)rect editor:(NSText *)textObj delegate:(id)delegate start:(NSInteger)selStart length:(NSInteger)selLength

Declaration
From
- (BOOL)sendAction:(SEL)theAction to:(id)theTarget
To
- (BOOL)sendAction:(SEL)action to:(id)target

Declaration
From
- (NSInteger)sendActionOn:(NSInteger)mask
To
- (NSInteger)sendActionOn:(NSEventMask)mask

Declaration
From
- (void)updateCell:(NSCell *)aCell
To
- (void)updateCell:(NSCell *)cell

Declaration
From
- (void)updateCellInside:(NSCell *)aCell
To
- (void)updateCellInside:(NSCell *)cell

NSCursor.h

Deprecation
From--
ToOS X 10.12

DeclarationDesignated Initializer
From
- (instancetype)initWithImage:(NSImage *)newImage hotSpot:(NSPoint)aPoint
--
To
- (instancetype)initWithImage:(NSImage *)newImage hotSpot:(NSPoint)point
yes

Declaration
From
- (void)mouseEntered:(NSEvent *)theEvent
To
- (void)mouseEntered:(NSEvent *)event

Declaration
From
- (void)mouseExited:(NSEvent *)theEvent
To
- (void)mouseExited:(NSEvent *)event

NSCustomImageRep.h

Declaration
From
- (instancetype)initWithDrawSelector:(SEL)aMethod delegate:(id)anObject
To
- (instancetype)initWithDrawSelector:(SEL)selector delegate:(id)delegate

NSDatePickerCell.h

Declaration
From
- (void)datePickerCell:(NSDatePickerCell *)aDatePickerCell validateProposedDateValue:(NSDate * _Nonnull *)proposedDateValue timeInterval:(NSTimeInterval *)proposedTimeInterval
To
- (void)datePickerCell:(NSDatePickerCell *)datePickerCell validateProposedDateValue:(NSDate * _Nonnull *)proposedDateValue timeInterval:(NSTimeInterval *)proposedTimeInterval

NSDocument.h

DeclarationReadonly
From
@property(readonly, copy) NSString *displayName
yes
To
@property(copy) NSString *displayName
--

Declaration
From
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)anItem
To
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item

NSDocumentController.h

Declaration
From
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)anItem
To
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item

NSDraggingItem.h

Designated Initializer
From--
Toyes

Designated Initializer
From--
Toyes

NSEvent.h

Removed NSKeyDown
Removed NSKeyUp
Removed NSKeyUpMask
Removed NSMouseMoved
Removed NSPenTipMask
Removed NSPeriodic
Added NSKeyDown
Added NSKeyUp
Deprecation
From--
ToOS X 10.12

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 *)enterExitEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)unusedPassNil eventNumber:(NSInteger)eNum trackingNumber:(NSInteger)tNum userData:(void *)data

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 *)keyEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)unusedPassNil characters:(NSString *)keys charactersIgnoringModifiers:(NSString *)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 *)mouseEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)unusedPassNil 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 *)otherEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSEventModifierFlags)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext *)unusedPassNil subtype:(short)subtype data1:(NSInteger)d1 data2:(NSInteger)d2

NSFilePromiseProvider.h (Added)

NSFilePromiseReceiver.h (Added)

NSFont.h

Declaration
From
- (NSSize)advancementForGlyph:(NSGlyph)ag
To
- (NSSize)advancementForGlyph:(NSGlyph)glyph

Declaration
From
- (NSRect)boundingRectForGlyph:(NSGlyph)aGlyph
To
- (NSRect)boundingRectForGlyph:(NSGlyph)glyph

Declaration
From
- (BOOL)glyphIsEncoded:(NSGlyph)aGlyph
To
- (BOOL)glyphIsEncoded:(NSGlyph)glyph

Declaration
From
- (NSGlyph)glyphWithName:(NSString *)aName
To
- (NSGlyph)glyphWithName:(NSString *)name

Declaration
From
- (NSPoint)positionOfGlyph:(NSGlyph)aGlyph forCharacter:(unichar)aChar struckOverRect:(NSRect)aRect
To
- (NSPoint)positionOfGlyph:(NSGlyph)glyph forCharacter:(unichar)character struckOverRect:(NSRect)rect

Declaration
From
- (NSPoint)positionOfGlyph:(NSGlyph)curGlyph precededByGlyph:(NSGlyph)prevGlyph isNominal:(BOOL *)nominal
To
- (NSPoint)positionOfGlyph:(NSGlyph)glyph precededByGlyph:(NSGlyph)prevGlyph isNominal:(BOOL *)nominal

Declaration
From
- (NSPoint)positionOfGlyph:(NSGlyph)curGlyph struckOverGlyph:(NSGlyph)prevGlyph metricsExist:(BOOL *)exist
To
- (NSPoint)positionOfGlyph:(NSGlyph)glyph struckOverGlyph:(NSGlyph)prevGlyph metricsExist:(BOOL *)exist

Declaration
From
- (NSPoint)positionOfGlyph:(NSGlyph)aGlyph struckOverRect:(NSRect)aRect metricsExist:(BOOL *)exist
To
- (NSPoint)positionOfGlyph:(NSGlyph)glyph struckOverRect:(NSRect)rect metricsExist:(BOOL *)exist

Declaration
From
+ (void)setUserFixedPitchFont:(NSFont *)aFont
To
+ (void)setUserFixedPitchFont:(NSFont *)font

Declaration
From
+ (void)setUserFont:(NSFont *)aFont
To
+ (void)setUserFont:(NSFont *)font

NSFontDescriptor.h

Declaration
From
- (id)objectForKey:(NSString *)anAttribute
To
- (id)objectForKey:(NSString *)attribute

NSForm.h

Declaration
From
- (NSInteger)indexOfCellWithTag:(NSInteger)aTag
To
- (NSInteger)indexOfCellWithTag:(NSInteger)tag

NSFormCell.h

DeclarationDesignated Initializer
From
- (instancetype)initTextCell:(NSString *)aString
--
To
- (instancetype)initTextCell:(NSString *)string
yes

Declaration
From
- (CGFloat)titleWidth:(NSSize)aSize
To
- (CGFloat)titleWidth:(NSSize)size

NSGlyphInfo.h

Declaration
From
+ (NSGlyphInfo *)glyphInfoWithCharacterIdentifier:(NSUInteger)cid collection:(NSCharacterCollection)characterCollection baseString:(NSString *)theString
To
+ (NSGlyphInfo *)glyphInfoWithCharacterIdentifier:(NSUInteger)cid collection:(NSCharacterCollection)characterCollection baseString:(NSString *)string

Declaration
From
+ (NSGlyphInfo *)glyphInfoWithGlyph:(NSGlyph)glyph forFont:(NSFont *)font baseString:(NSString *)theString
To
+ (NSGlyphInfo *)glyphInfoWithGlyph:(NSGlyph)glyph forFont:(NSFont *)font baseString:(NSString *)string

Declaration
From
+ (NSGlyphInfo *)glyphInfoWithGlyphName:(NSString *)glyphName forFont:(NSFont *)font baseString:(NSString *)theString
To
+ (NSGlyphInfo *)glyphInfoWithGlyphName:(NSString *)glyphName forFont:(NSFont *)font baseString:(NSString *)string

NSGradient.h

Designated Initializer
From--
Toyes

NSGraphics.h

Declaration
From
void NSDottedFrameRect (
    NSRect aRect
);
To
void NSDottedFrameRect (
    NSRect rect
);

Declaration
From
void NSDrawButton (
    NSRect aRect,
    NSRect clipRect
);
To
void NSDrawButton (
    NSRect rect,
    NSRect clipRect
);

Declaration
From
void NSDrawDarkBezel (
    NSRect aRect,
    NSRect clipRect
);
To
void NSDrawDarkBezel (
    NSRect rect,
    NSRect clipRect
);

Declaration
From
void NSDrawGrayBezel (
    NSRect aRect,
    NSRect clipRect
);
To
void NSDrawGrayBezel (
    NSRect rect,
    NSRect clipRect
);

Declaration
From
void NSDrawGroove (
    NSRect aRect,
    NSRect clipRect
);
To
void NSDrawGroove (
    NSRect rect,
    NSRect clipRect
);

Declaration
From
void NSDrawLightBezel (
    NSRect aRect,
    NSRect clipRect
);
To
void NSDrawLightBezel (
    NSRect rect,
    NSRect clipRect
);

Declaration
From
void NSDrawWhiteBezel (
    NSRect aRect,
    NSRect clipRect
);
To
void NSDrawWhiteBezel (
    NSRect rect,
    NSRect clipRect
);

Declaration
From
void NSDrawWindowBackground (
    NSRect aRect
);
To
void NSDrawWindowBackground (
    NSRect rect
);

Modified NSEraseRect()
Declaration
From
void NSEraseRect (
    NSRect aRect
);
To
void NSEraseRect (
    NSRect rect
);

Modified NSFrameRect()
Declaration
From
void NSFrameRect (
    NSRect aRect
);
To
void NSFrameRect (
    NSRect rect
);

Declaration
From
void NSFrameRectWithWidth (
    NSRect aRect,
    CGFloat frameWidth
);
To
void NSFrameRectWithWidth (
    NSRect rect,
    CGFloat frameWidth
);

Declaration
From
void NSFrameRectWithWidthUsingOperation (
    NSRect aRect,
    CGFloat frameWidth,
    NSCompositingOperation op
);
To
void NSFrameRectWithWidthUsingOperation (
    NSRect rect,
    CGFloat frameWidth,
    NSCompositingOperation op
);

Declaration
From
void NSHighlightRect (
    NSRect aRect
);
To
void NSHighlightRect (
    NSRect rect
);

Modified NSRectClip()
Declaration
From
void NSRectClip (
    NSRect aRect
);
To
void NSRectClip (
    NSRect rect
);

Modified NSRectFill()
Declaration
From
void NSRectFill (
    NSRect aRect
);
To
void NSRectFill (
    NSRect rect
);

Declaration
From
void NSRectFillUsingOperation (
    NSRect aRect,
    NSCompositingOperation op
);
To
void NSRectFillUsingOperation (
    NSRect rect,
    NSCompositingOperation op
);

NSGridView.h (Added)

Added NSGridRow

NSImage.h

Declaration
From
- (void)dissolveToPoint:(NSPoint)point fraction:(CGFloat)aFloat
To
- (void)dissolveToPoint:(NSPoint)point fraction:(CGFloat)fraction

Declaration
From
- (void)dissolveToPoint:(NSPoint)point fromRect:(NSRect)rect fraction:(CGFloat)aFloat
To
- (void)dissolveToPoint:(NSPoint)point fromRect:(NSRect)rect fraction:(CGFloat)fraction

DeclarationDesignated Initializer
From
- (instancetype)initWithSize:(NSSize)aSize
--
To
- (instancetype)initWithSize:(NSSize)size
yes

Declaration
From
- (NSData *)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)aFloat
To
- (NSData *)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)factor

Declaration
From
- (NSImage *)imageDidNotDraw:(NSImage *)sender inRect:(NSRect)aRect
To
- (NSImage *)imageDidNotDraw:(NSImage *)sender inRect:(NSRect)rect

NSImageRep.h

NSImageView.h

Added NSImageView(NSImageViewConvenience)

NSInputManager.h

Declaration
From
- (BOOL)handleMouseEvent:(NSEvent *)theMouseEvent
To
- (BOOL)handleMouseEvent:(NSEvent *)mouseEvent

Declaration
From
- (NSAttributedString *)attributedSubstringFromRange:(NSRange)theRange
To
- (NSAttributedString *)attributedSubstringFromRange:(NSRange)range

Declaration
From
- (NSUInteger)characterIndexForPoint:(NSPoint)thePoint
To
- (NSUInteger)characterIndexForPoint:(NSPoint)point

Declaration
From
- (void)doCommandBySelector:(SEL)aSelector
To
- (void)doCommandBySelector:(SEL)selector

Declaration
From
- (NSRect)firstRectForCharacterRange:(NSRange)theRange
To
- (NSRect)firstRectForCharacterRange:(NSRange)range

Declaration
From
- (void)insertText:(id)aString
To
- (void)insertText:(id)string

Declaration
From
- (void)setMarkedText:(id)aString selectedRange:(NSRange)selRange
To
- (void)setMarkedText:(id)string selectedRange:(NSRange)selRange

NSInputServer.h

Declaration
From
- (id)initWithDelegate:(id)aDelegate name:(NSString *)name
To
- (id)initWithDelegate:(id)delegate name:(NSString *)name

Declaration
From
- (BOOL)mouseDownOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id)sender
To
- (BOOL)mouseDownOnCharacterIndex:(NSUInteger)index atCoordinate:(NSPoint)point withModifier:(NSUInteger)flags client:(id)sender

Declaration
From
- (BOOL)mouseDraggedOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id)sender
To
- (BOOL)mouseDraggedOnCharacterIndex:(NSUInteger)index atCoordinate:(NSPoint)point withModifier:(NSUInteger)flags client:(id)sender

Declaration
From
- (void)mouseUpOnCharacterIndex:(NSUInteger)theIndex atCoordinate:(NSPoint)thePoint withModifier:(NSUInteger)theFlags client:(id)sender
To
- (void)mouseUpOnCharacterIndex:(NSUInteger)index atCoordinate:(NSPoint)point withModifier:(NSUInteger)flags client:(id)sender

Declaration
From
- (void)doCommandBySelector:(SEL)aSelector client:(id)sender
To
- (void)doCommandBySelector:(SEL)selector client:(id)sender

Declaration
From
- (void)insertText:(id)aString client:(id)sender
To
- (void)insertText:(id)string client:(id)sender

NSKeyValueBinding.h

Declaration
From
- (NSArray<NSAttributeDescription *> *)optionDescriptionsForBinding:(NSString *)aBinding
To
- (NSArray<NSAttributeDescription *> *)optionDescriptionsForBinding:(NSString *)binding

NSLayoutAnchor.h

Protocols
From--
ToNSCoding, NSCopying

NSLayoutConstraint.h

Override Requires Super
From--
Toyes

NSLayoutGuide.h

NSMatrix.h

Declaration
From
- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
To
- (BOOL)acceptsFirstMouse:(NSEvent *)event

Declaration
From
- (__kindof NSCell *)cellWithTag:(NSInteger)anInt
To
- (__kindof NSCell *)cellWithTag:(NSInteger)tag

Declaration
From
- (BOOL)getRow:(NSInteger *)row column:(NSInteger *)col forPoint:(NSPoint)aPoint
To
- (BOOL)getRow:(NSInteger *)row column:(NSInteger *)col forPoint:(NSPoint)point

Declaration
From
- (BOOL)getRow:(NSInteger *)row column:(NSInteger *)col ofCell:(NSCell *)aCell
To
- (BOOL)getRow:(NSInteger *)row column:(NSInteger *)col ofCell:(NSCell *)cell

Declaration
From
- (instancetype)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode cellClass:(Class)factoryId numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide
To
- (instancetype)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)mode cellClass:(Class)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)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)mode prototype:(NSCell *)cell numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide

Declaration
From
- (void)mouseDown:(NSEvent *)theEvent
To
- (void)mouseDown:(NSEvent *)event

Declaration
From
- (BOOL)performKeyEquivalent:(NSEvent *)theEvent
To
- (BOOL)performKeyEquivalent:(NSEvent *)event

Declaration
From
- (BOOL)selectCellWithTag:(NSInteger)anInt
To
- (BOOL)selectCellWithTag:(NSInteger)tag

Declaration
From
- (void)sendAction:(SEL)aSelector to:(id)anObject forAllCells:(BOOL)flag
To
- (void)sendAction:(SEL)selector to:(id)object forAllCells:(BOOL)flag

NSMenu.h

Modified NSMenu
Protocols
FromNSCoding, NSCopying
ToNSAccessibility, NSAccessibilityElement, NSCoding, NSCopying, NSUserInterfaceItemIdentification

Declaration
From
- (NSMenuItem *)addItemWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode
To
- (NSMenuItem *)addItemWithTitle:(NSString *)string action:(SEL)selector keyEquivalent:(NSString *)charCode

Declaration
From
@property(assign) id<NSMenuDelegate> delegate
To
@property(weak) id<NSMenuDelegate> delegate

Declaration
From
- (NSInteger)indexOfItemWithTag:(NSInteger)aTag
To
- (NSInteger)indexOfItemWithTag:(NSInteger)tag

Declaration
From
- (NSInteger)indexOfItemWithTitle:(NSString *)aTitle
To
- (NSInteger)indexOfItemWithTitle:(NSString *)title

DeclarationDesignated Initializer
From
- (instancetype)initWithTitle:(NSString *)aTitle
--
To
- (instancetype)initWithTitle:(NSString *)title
yes

Declaration
From
- (NSMenuItem *)insertItemWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode atIndex:(NSInteger)index
To
- (NSMenuItem *)insertItemWithTitle:(NSString *)string action:(SEL)selector keyEquivalent:(NSString *)charCode atIndex:(NSInteger)index

Declaration
From
- (NSMenuItem *)itemWithTitle:(NSString *)aTitle
To
- (NSMenuItem *)itemWithTitle:(NSString *)title

Declaration
From
- (NSPoint)locationForSubmenu:(NSMenu *)aSubmenu
To
- (NSPoint)locationForSubmenu:(NSMenu *)submenu

Declaration
From
- (BOOL)performKeyEquivalent:(NSEvent *)theEvent
To
- (BOOL)performKeyEquivalent:(NSEvent *)event

Declaration
From
+ (void)setMenuZone:(NSZone *)aZone
To
+ (void)setMenuZone:(NSZone *)zone

Declaration
From
- (void)setSubmenu:(NSMenu *)aMenu forItem:(NSMenuItem *)anItem
To
- (void)setSubmenu:(NSMenu *)menu forItem:(NSMenuItem *)item

NSMenuItem.h

Modified NSMenuItem
Protocols
FromNSCoding, NSCopying, NSValidatedUserInterfaceItem
ToNSAccessibility, NSAccessibilityElement, NSCoding, NSCopying, NSUserInterfaceItemIdentification, NSValidatedUserInterfaceItem

DeclarationDesignated Initializer
From
- (instancetype)initWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode
--
To
- (instancetype)initWithTitle:(NSString *)string action:(SEL)selector keyEquivalent:(NSString *)charCode
yes

Declaration
From
@property NSUInteger keyEquivalentModifierMask
To
@property NSEventModifierFlags keyEquivalentModifierMask

NSMenuItemCell.h

NSMenuView.h

Declaration
From
- (NSPoint)locationForSubmenu:(NSMenu *)aSubmenu
To
- (NSPoint)locationForSubmenu:(NSMenu *)submenu

NSOpenGL.h

Designated Initializer
From--
Toyes

Deprecation
From--
ToOS X 10.12

NSOutlineView.h

Declaration
From
- (id<NSOutlineViewDataSource>)dataSource
To
@property(weak) id<NSOutlineViewDataSource> dataSource

Declaration
From
- (id<NSOutlineViewDelegate>)delegate
To
@property(weak) id<NSOutlineViewDelegate> delegate

NSPanel.h

NSParagraphStyle.h

Modified NSTextTab
Protocols
FromNSCoding, NSCopying
ToNSCoding, NSCopying, NSSecureCoding

NSPasteboard.h

NSPopover.h

Declaration
From
@property(assign) IBOutlet id<NSPopoverDelegate> delegate
To
@property(weak) IBOutlet id<NSPopoverDelegate> delegate

NSPopUpButton.h

Declaration
From
- (void)setTitle:(NSString *)aString
To
- (void)setTitle:(NSString *)string

NSPopUpButtonCell.h

Designated Initializer
From--
Toyes

Declaration
From
- (void)setTitle:(NSString *)aString
To
- (void)setTitle:(NSString *)string

NSPrintInfo.h

Designated Initializer
From--
Toyes

NSResponder.h

Added NSResponder(NSWindowTabbing)
Declaration
From
- (void)doCommandBySelector:(SEL)aSelector
To
- (void)doCommandBySelector:(SEL)selector

Declaration
From
- (void)flagsChanged:(NSEvent *)theEvent
To
- (void)flagsChanged:(NSEvent *)event

Declaration
From
- (void)keyDown:(NSEvent *)theEvent
To
- (void)keyDown:(NSEvent *)event

Declaration
From
- (void)keyUp:(NSEvent *)theEvent
To
- (void)keyUp:(NSEvent *)event

Declaration
From
- (void)mouseDown:(NSEvent *)theEvent
To
- (void)mouseDown:(NSEvent *)event

Declaration
From
- (void)mouseDragged:(NSEvent *)theEvent
To
- (void)mouseDragged:(NSEvent *)event

Declaration
From
- (void)mouseEntered:(NSEvent *)theEvent
To
- (void)mouseEntered:(NSEvent *)event

Declaration
From
- (void)mouseExited:(NSEvent *)theEvent
To
- (void)mouseExited:(NSEvent *)event

Declaration
From
- (void)mouseMoved:(NSEvent *)theEvent
To
- (void)mouseMoved:(NSEvent *)event

Declaration
From
- (void)mouseUp:(NSEvent *)theEvent
To
- (void)mouseUp:(NSEvent *)event

Declaration
From
- (void)otherMouseDown:(NSEvent *)theEvent
To
- (void)otherMouseDown:(NSEvent *)event

Declaration
From
- (void)otherMouseDragged:(NSEvent *)theEvent
To
- (void)otherMouseDragged:(NSEvent *)event

Declaration
From
- (void)otherMouseUp:(NSEvent *)theEvent
To
- (void)otherMouseUp:(NSEvent *)event

Declaration
From
- (BOOL)performKeyEquivalent:(NSEvent *)theEvent
To
- (BOOL)performKeyEquivalent:(NSEvent *)event

Declaration
From
- (BOOL)performMnemonic:(NSString *)theString
To
- (BOOL)performMnemonic:(NSString *)string

Declaration
From
- (void)rightMouseDown:(NSEvent *)theEvent
To
- (void)rightMouseDown:(NSEvent *)event

Declaration
From
- (void)rightMouseDragged:(NSEvent *)theEvent
To
- (void)rightMouseDragged:(NSEvent *)event

Declaration
From
- (void)rightMouseUp:(NSEvent *)theEvent
To
- (void)rightMouseUp:(NSEvent *)event

Declaration
From
- (void)scrollWheel:(NSEvent *)theEvent
To
- (void)scrollWheel:(NSEvent *)event

Declaration
From
- (BOOL)shouldBeTreatedAsInkEvent:(NSEvent *)theEvent
To
- (BOOL)shouldBeTreatedAsInkEvent:(NSEvent *)event

Declaration
From
- (void)tabletPoint:(NSEvent *)theEvent
To
- (void)tabletPoint:(NSEvent *)event

Declaration
From
- (void)tabletProximity:(NSEvent *)theEvent
To
- (void)tabletProximity:(NSEvent *)event

Declaration
From
- (BOOL)tryToPerform:(SEL)anAction with:(id)anObject
To
- (BOOL)tryToPerform:(SEL)action with:(id)object

NSRulerMarker.h

NSRulerView.h

Designated Initializer
From--
Toyes

Declaration
From
- (CGFloat)rulerView:(NSRulerView *)ruler locationForPoint:(NSPoint)aPoint
To
- (CGFloat)rulerView:(NSRulerView *)ruler locationForPoint:(NSPoint)point

Declaration
From
- (NSPoint)rulerView:(NSRulerView *)ruler pointForLocation:(CGFloat)aPoint
To
- (NSPoint)rulerView:(NSRulerView *)ruler pointForLocation:(CGFloat)point

NSScreen.h

Declaration
From
- (NSRect)backingAlignedRect:(NSRect)aRect options:(NSAlignmentOptions)options
To
- (NSRect)backingAlignedRect:(NSRect)rect options:(NSAlignmentOptions)options

Declaration
From
- (NSRect)convertRectFromBacking:(NSRect)aRect
To
- (NSRect)convertRectFromBacking:(NSRect)rect

Declaration
From
- (NSRect)convertRectToBacking:(NSRect)aRect
To
- (NSRect)convertRectToBacking:(NSRect)rect

NSScroller.h

Declaration
From
- (void)setFloatValue:(float)aFloat knobProportion:(CGFloat)proportion
To
- (void)setFloatValue:(float)value knobProportion:(CGFloat)proportion

Declaration
From
- (NSScrollerPart)testPart:(NSPoint)thePoint
To
- (NSScrollerPart)testPart:(NSPoint)point

Declaration
From
- (void)trackKnob:(NSEvent *)theEvent
To
- (void)trackKnob:(NSEvent *)event

Declaration
From
- (void)trackScrollButtons:(NSEvent *)theEvent
To
- (void)trackScrollButtons:(NSEvent *)event

NSScrollView.h

Declaration
From
+ (NSSize)contentSizeForFrameSize:(NSSize)fSize hasHorizontalScroller:(BOOL)hFlag hasVerticalScroller:(BOOL)vFlag borderType:(NSBorderType)aType
To
+ (NSSize)contentSizeForFrameSize:(NSSize)fSize hasHorizontalScroller:(BOOL)hFlag hasVerticalScroller:(BOOL)vFlag borderType:(NSBorderType)type

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)horizontalScrollerClass verticalScrollerClass:(Class)verticalScrollerClass borderType:(NSBorderType)type controlSize:(NSControlSize)controlSize scrollerStyle:(NSScrollerStyle)scrollerStyle

Declaration
From
@property(assign) id documentView
To
@property(assign) __kindof NSView *documentView

Declaration
From
+ (NSSize)frameSizeForContentSize:(NSSize)cSize hasHorizontalScroller:(BOOL)hFlag hasVerticalScroller:(BOOL)vFlag borderType:(NSBorderType)aType
To
+ (NSSize)frameSizeForContentSize:(NSSize)cSize hasHorizontalScroller:(BOOL)hFlag hasVerticalScroller:(BOOL)vFlag borderType:(NSBorderType)type

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)horizontalScrollerClass verticalScrollerClass:(Class)verticalScrollerClass borderType:(NSBorderType)type controlSize:(NSControlSize)controlSize scrollerStyle:(NSScrollerStyle)scrollerStyle

Declaration
From
- (void)scrollWheel:(NSEvent *)theEvent
To
- (void)scrollWheel:(NSEvent *)event

NSSearchFieldCell.h

NSSegmentedControl.h

NSSharingService.h

NSSlider.h

Added NSSlider(NSSliderConvenience)
Added NSSlider(NSSliderDeprecated)
Added NSSlider(NSSliderVerticalGetter)
Declaration
From
- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
To
- (BOOL)acceptsFirstMouse:(NSEvent *)event

Declaration
From
- (void)setKnobThickness:(CGFloat)aFloat
To
- (void)setKnobThickness:(CGFloat)thickness

Declaration
From
- (void)setTitle:(NSString *)aString
To
- (void)setTitle:(NSString *)string

Declaration
From
- (void)setTitleCell:(NSCell *)aCell
To
- (void)setTitleCell:(NSCell *)cell

DeclarationReadonly
From
@property(getter=isVertical, readonly) NSInteger vertical
yes
To
@property(readwrite, getter=isVertical) BOOL vertical
--

NSSliderCell.h

Added NSSliderCell(NSDeprecated)
Added NSSliderCell(NSSliderCellVerticalGetter)
Declaration
From
- (void)drawBarInside:(NSRect)aRect flipped:(BOOL)flipped
To
- (void)drawBarInside:(NSRect)rect flipped:(BOOL)flipped

Declaration
From
- (void)setKnobThickness:(CGFloat)aFloat
To
- (void)setKnobThickness:(CGFloat)thickness

Declaration
From
- (void)setTitle:(NSString *)aString
To
- (void)setTitle:(NSString *)string

Declaration
From
- (void)setTitleCell:(NSCell *)aCell
To
- (void)setTitleCell:(NSCell *)cell

DeclarationReadonly
From
@property(getter=isVertical, readonly) NSInteger vertical
yes
To
@property(readwrite, getter=isVertical) BOOL vertical
--

NSSound.h

Declaration
From
- (void)sound:(NSSound *)sound didFinishPlaying:(BOOL)aBool
To
- (void)sound:(NSSound *)sound didFinishPlaying:(BOOL)flag

NSSpellChecker.h

Added +[NSSpellChecker isAutomaticCapitalizationEnabled]
Added +[NSSpellChecker isAutomaticPeriodSubstitutionEnabled]
Declaration
From
- (void)setWordFieldStringValue:(NSString *)aString
To
- (void)setWordFieldStringValue:(NSString *)string

NSSplitView.h

Declaration
From
@property(assign) id<NSSplitViewDelegate> delegate
To
@property(weak) id<NSSplitViewDelegate> delegate

NSSplitViewController.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

NSSplitViewItem.h (Added)

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

Header
FromAppKit/NSSplitViewController.h
ToAppKit/NSSplitViewItem.h

NSStackView.h

Removed NSStackView(NSStackViewArrangedSubviews)
Added NSStackView(NSStackViewGravityAreas)
Declaration
From
- (void)addView:(NSView *)aView inGravity:(NSStackViewGravity)gravity
To
- (void)addView:(NSView *)view inGravity:(NSStackViewGravity)gravity

Declaration
From
- (CGFloat)customSpacingAfterView:(NSView *)aView
To
- (CGFloat)customSpacingAfterView:(NSView *)view

Declaration
From
@property(assign) id<NSStackViewDelegate> delegate
To
@property(weak) id<NSStackViewDelegate> delegate

Declaration
From
- (void)insertView:(NSView *)aView atIndex:(NSUInteger)index inGravity:(NSStackViewGravity)gravity
To
- (void)insertView:(NSView *)view atIndex:(NSUInteger)index inGravity:(NSStackViewGravity)gravity

Declaration
From
- (void)removeView:(NSView *)aView
To
- (void)removeView:(NSView *)view

Declaration
From
- (void)setCustomSpacing:(CGFloat)spacing afterView:(NSView *)aView
To
- (void)setCustomSpacing:(CGFloat)spacing afterView:(NSView *)view

Declaration
From
- (void)setVisibilityPriority:(NSStackViewVisibilityPriority)priority forView:(NSView *)aView
To
- (void)setVisibilityPriority:(NSStackViewVisibilityPriority)priority forView:(NSView *)view

Declaration
From
- (NSStackViewVisibilityPriority)visibilityPriorityForView:(NSView *)aView
To
- (NSStackViewVisibilityPriority)visibilityPriorityForView:(NSView *)view

NSStatusItem.h

Declaration
From
- (NSInteger)sendActionOn:(NSInteger)mask
To
- (NSInteger)sendActionOn:(NSEventMask)mask

NSTableColumn.h

Designated Initializer
From--
Toyes

NSTableHeaderCell.h

Declaration
From
- (NSRect)sortIndicatorRectForBounds:(NSRect)theRect
To
- (NSRect)sortIndicatorRectForBounds:(NSRect)rect

NSTableView.h

Declaration
From
- (id<NSTableViewDataSource>)dataSource
To
@property(weak) id<NSTableViewDataSource> dataSource

Declaration
From
- (id<NSTableViewDelegate>)delegate
To
@property(weak) id<NSTableViewDelegate> delegate

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 *)event select:(BOOL)select

Declaration
From
- (void)setIndicatorImage:(NSImage *)anImage inTableColumn:(NSTableColumn *)tableColumn
To
- (void)setIndicatorImage:(NSImage *)image inTableColumn:(NSTableColumn *)tableColumn

NSTableViewRowAction.h

NSTabView.h

NSText.h

Declaration
From
- (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)aString
To
- (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

NSTextContainer.h

Declaration
From
@property(strong) NSTextView *textView
To
@property(weak) NSTextView *textView

NSTextField.h

NSTextFieldCell.h

NSTextFinder.h

Designated Initializer
From--
Toyes

NSTextInputClient.h

Declaration
From
- (NSAttributedString *)attributedSubstringForProposedRange:(NSRange)aRange actualRange:(NSRangePointer)actualRange
To
- (NSAttributedString *)attributedSubstringForProposedRange:(NSRange)range actualRange:(NSRangePointer)actualRange

Declaration
From
- (NSUInteger)characterIndexForPoint:(NSPoint)aPoint
To
- (NSUInteger)characterIndexForPoint:(NSPoint)point

Declaration
From
- (void)doCommandBySelector:(SEL)aSelector
To
- (void)doCommandBySelector:(SEL)selector

Declaration
From
- (NSRect)firstRectForCharacterRange:(NSRange)aRange actualRange:(NSRangePointer)actualRange
To
- (NSRect)firstRectForCharacterRange:(NSRange)range actualRange:(NSRangePointer)actualRange

Declaration
From
- (CGFloat)fractionOfDistanceThroughGlyphForPoint:(NSPoint)aPoint
To
- (CGFloat)fractionOfDistanceThroughGlyphForPoint:(NSPoint)point

Declaration
From
- (void)insertText:(id)aString replacementRange:(NSRange)replacementRange
To
- (void)insertText:(id)string replacementRange:(NSRange)replacementRange

Declaration
From
- (void)setMarkedText:(id)aString selectedRange:(NSRange)selectedRange replacementRange:(NSRange)replacementRange
To
- (void)setMarkedText:(id)string selectedRange:(NSRange)selectedRange replacementRange:(NSRange)replacementRange

NSTextInputContext.h

Declaration
From
- (BOOL)handleEvent:(NSEvent *)theEvent
To
- (BOOL)handleEvent:(NSEvent *)event

DeclarationDesignated Initializer
From
- (instancetype)initWithClient:(id<NSTextInputClient>)theClient
--
To
- (instancetype)initWithClient:(id<NSTextInputClient>)client
yes

NSTextTable.h

Designated Initializer
From--
Toyes

Designated Initializer
From--
Toyes

NSTextView.h

Added +[NSTextView stronglyReferencesTextStorage]
Added NSTextView.stronglyReferencesTextStorage
Declaration
From
- (void)setLayoutOrientation:(NSTextLayoutOrientation)theOrientation
To
- (void)setLayoutOrientation:(NSTextLayoutOrientation)orientation

NSTitlebarAccessoryViewController.h

Protocols
From--
ToNSAnimatablePropertyContainer, NSAnimationDelegate

NSTokenField.h

Declaration
From
- (id<NSTokenFieldDelegate>)delegate
To
@property(assign) id<NSTokenFieldDelegate> delegate

NSToolbarItem.h

Declaration
From
- (BOOL)validateToolbarItem:(NSToolbarItem *)theItem
To
- (BOOL)validateToolbarItem:(NSToolbarItem *)item

NSTypesetter.h

Declaration
From
+ (id)sharedSystemTypesetterForBehavior:(NSTypesetterBehavior)theBehavior
To
+ (id)sharedSystemTypesetterForBehavior:(NSTypesetterBehavior)behavior

NSUserInterfaceValidation.h

Declaration
From
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)anItem
To
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item

DeclarationReadonly
From
- (SEL)action
--
To
@property(readonly) SEL action
yes

DeclarationReadonly
From
- (NSInteger)tag
--
To
@property(readonly) NSInteger tag
yes

NSView.h

Declaration
From
- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
To
- (BOOL)acceptsFirstMouse:(NSEvent *)event

Declaration
From
- (void)addCursorRect:(NSRect)aRect cursor:(NSCursor *)anObj
To
- (void)addCursorRect:(NSRect)rect cursor:(NSCursor *)object

Declaration
From
- (void)addSubview:(NSView *)aView
To
- (void)addSubview:(NSView *)view

Declaration
From
- (void)addSubview:(NSView *)aView positioned:(NSWindowOrderingMode)place relativeTo:(NSView *)otherView
To
- (void)addSubview:(NSView *)view positioned:(NSWindowOrderingMode)place relativeTo:(NSView *)otherView

Declaration
From
- (NSToolTipTag)addToolTipRect:(NSRect)aRect owner:(id)anObject userData:(void *)data
To
- (NSToolTipTag)addToolTipRect:(NSRect)rect owner:(id)owner userData:(void *)data

Declaration
From
- (NSTrackingRectTag)addTrackingRect:(NSRect)aRect owner:(id)anObject userData:(void *)data assumeInside:(BOOL)flag
To
- (NSTrackingRectTag)addTrackingRect:(NSRect)rect owner:(id)owner userData:(void *)data assumeInside:(BOOL)flag

Declaration
From
- (NSView *)ancestorSharedWithView:(NSView *)aView
To
- (NSView *)ancestorSharedWithView:(NSView *)view

Declaration
From
- (BOOL)autoscroll:(NSEvent *)theEvent
To
- (BOOL)autoscroll:(NSEvent *)event

Declaration
From
- (NSRect)backingAlignedRect:(NSRect)aRect options:(NSAlignmentOptions)options
To
- (NSRect)backingAlignedRect:(NSRect)rect options:(NSAlignmentOptions)options

Declaration
From
- (void)beginPageInRect:(NSRect)aRect atPlacement:(NSPoint)location
To
- (void)beginPageInRect:(NSRect)rect atPlacement:(NSPoint)location

Declaration
From
- (NSRect)centerScanRect:(NSRect)aRect
To
- (NSRect)centerScanRect:(NSRect)rect

Declaration
From
- (NSPoint)convertPoint:(NSPoint)aPoint fromView:(NSView *)aView
To
- (NSPoint)convertPoint:(NSPoint)point fromView:(NSView *)view

Declaration
From
- (NSPoint)convertPoint:(NSPoint)aPoint toView:(NSView *)aView
To
- (NSPoint)convertPoint:(NSPoint)point toView:(NSView *)view

Declaration
From
- (NSPoint)convertPointFromBacking:(NSPoint)aPoint
To
- (NSPoint)convertPointFromBacking:(NSPoint)point

Declaration
From
- (NSPoint)convertPointFromBase:(NSPoint)aPoint
To
- (NSPoint)convertPointFromBase:(NSPoint)point

Declaration
From
- (NSPoint)convertPointFromLayer:(NSPoint)aPoint
To
- (NSPoint)convertPointFromLayer:(NSPoint)point

Declaration
From
- (NSPoint)convertPointToBacking:(NSPoint)aPoint
To
- (NSPoint)convertPointToBacking:(NSPoint)point

Declaration
From
- (NSPoint)convertPointToBase:(NSPoint)aPoint
To
- (NSPoint)convertPointToBase:(NSPoint)point

Declaration
From
- (NSPoint)convertPointToLayer:(NSPoint)aPoint
To
- (NSPoint)convertPointToLayer:(NSPoint)point

Declaration
From
- (NSRect)convertRect:(NSRect)aRect fromView:(NSView *)aView
To
- (NSRect)convertRect:(NSRect)rect fromView:(NSView *)view

Declaration
From
- (NSRect)convertRect:(NSRect)aRect toView:(NSView *)aView
To
- (NSRect)convertRect:(NSRect)rect toView:(NSView *)view

Declaration
From
- (NSRect)convertRectFromBacking:(NSRect)aRect
To
- (NSRect)convertRectFromBacking:(NSRect)rect

Declaration
From
- (NSRect)convertRectFromBase:(NSRect)aRect
To
- (NSRect)convertRectFromBase:(NSRect)rect

Declaration
From
- (NSRect)convertRectFromLayer:(NSRect)aRect
To
- (NSRect)convertRectFromLayer:(NSRect)rect

Declaration
From
- (NSRect)convertRectToBacking:(NSRect)aRect
To
- (NSRect)convertRectToBacking:(NSRect)rect

Declaration
From
- (NSRect)convertRectToBase:(NSRect)aRect
To
- (NSRect)convertRectToBase:(NSRect)rect

Declaration
From
- (NSRect)convertRectToLayer:(NSRect)aRect
To
- (NSRect)convertRectToLayer:(NSRect)rect

Declaration
From
- (NSSize)convertSize:(NSSize)aSize fromView:(NSView *)aView
To
- (NSSize)convertSize:(NSSize)size fromView:(NSView *)view

Declaration
From
- (NSSize)convertSize:(NSSize)aSize toView:(NSView *)aView
To
- (NSSize)convertSize:(NSSize)size toView:(NSView *)view

Declaration
From
- (NSSize)convertSizeFromBacking:(NSSize)aSize
To
- (NSSize)convertSizeFromBacking:(NSSize)size

Declaration
From
- (NSSize)convertSizeFromBase:(NSSize)aSize
To
- (NSSize)convertSizeFromBase:(NSSize)size

Declaration
From
- (NSSize)convertSizeFromLayer:(NSSize)aSize
To
- (NSSize)convertSizeFromLayer:(NSSize)size

Declaration
From
- (NSSize)convertSizeToBacking:(NSSize)aSize
To
- (NSSize)convertSizeToBacking:(NSSize)size

Declaration
From
- (NSSize)convertSizeToBase:(NSSize)aSize
To
- (NSSize)convertSizeToBase:(NSSize)size

Declaration
From
- (NSSize)convertSizeToLayer:(NSSize)aSize
To
- (NSSize)convertSizeToLayer:(NSSize)size

Declaration
From
- (void)displayRectIgnoringOpacity:(NSRect)aRect inContext:(NSGraphicsContext *)context
To
- (void)displayRectIgnoringOpacity:(NSRect)rect inContext:(NSGraphicsContext *)context

Declaration
From
- (BOOL)dragFile:(NSString *)filename fromRect:(NSRect)rect slideBack:(BOOL)aFlag event:(NSEvent *)event
To
- (BOOL)dragFile:(NSString *)filename fromRect:(NSRect)rect slideBack:(BOOL)flag event:(NSEvent *)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 *)image at:(NSPoint)viewLocation offset:(NSSize)initialOffset event:(NSEvent *)event pasteboard:(NSPasteboard *)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag

Declaration
From
- (BOOL)dragPromisedFilesOfTypes:(NSArray<NSString *> *)typeArray fromRect:(NSRect)rect source:(id)sourceObject slideBack:(BOOL)aFlag event:(NSEvent *)event
To
- (BOOL)dragPromisedFilesOfTypes:(NSArray<NSString *> *)typeArray fromRect:(NSRect)rect source:(id)sourceObject slideBack:(BOOL)flag event:(NSEvent *)event

Declaration
From
- (NSView *)hitTest:(NSPoint)aPoint
To
- (NSView *)hitTest:(NSPoint)point

Declaration
From
- (BOOL)isDescendantOf:(NSView *)aView
To
- (BOOL)isDescendantOf:(NSView *)view

Declaration
From
- (NSPoint)locationOfPrintRect:(NSRect)aRect
To
- (NSPoint)locationOfPrintRect:(NSRect)rect

Declaration
From
- (BOOL)mouse:(NSPoint)aPoint inRect:(NSRect)aRect
To
- (BOOL)mouse:(NSPoint)point inRect:(NSRect)rect

Declaration
From
- (BOOL)needsToDrawRect:(NSRect)aRect
To
- (BOOL)needsToDrawRect:(NSRect)rect

Declaration
From
- (BOOL)performKeyEquivalent:(NSEvent *)theEvent
To
- (BOOL)performKeyEquivalent:(NSEvent *)event

Declaration
From
- (BOOL)performMnemonic:(NSString *)theString
To
- (BOOL)performMnemonic:(NSString *)string

Declaration
From
- (void)removeCursorRect:(NSRect)aRect cursor:(NSCursor *)anObj
To
- (void)removeCursorRect:(NSRect)rect cursor:(NSCursor *)object

Declaration
From
- (void)scrollPoint:(NSPoint)aPoint
To
- (void)scrollPoint:(NSPoint)point

Declaration
From
- (void)scrollRect:(NSRect)aRect by:(NSSize)delta
To
- (void)scrollRect:(NSRect)rect by:(NSSize)delta

Declaration
From
- (BOOL)scrollRectToVisible:(NSRect)aRect
To
- (BOOL)scrollRectToVisible:(NSRect)rect

Declaration
From
- (BOOL)shouldDelayWindowOrderingForEvent:(NSEvent *)theEvent
To
- (BOOL)shouldDelayWindowOrderingForEvent:(NSEvent *)event

Declaration
From
- (__kindof NSView *)viewWithTag:(NSInteger)aTag
To
- (__kindof NSView *)viewWithTag:(NSInteger)tag

NSViewController.h

Declaration
From
@property(readonly, assign) NSArray<__kindof NSViewController *> *presentedViewControllers
To
@property(readonly) NSArray<__kindof NSViewController *> *presentedViewControllers

NSVisualEffectView.h

NSWindow.h

Added NSWindow(NSCursorRect)
Added NSWindow(NSEvent)
Declaration
From
- (NSRect)backingAlignedRect:(NSRect)aRect options:(NSAlignmentOptions)options
To
- (NSRect)backingAlignedRect:(NSRect)rect options:(NSAlignmentOptions)options

Declaration
From
- (void)cacheImageInRect:(NSRect)aRect
To
- (void)cacheImageInRect:(NSRect)rect

Declaration
From
+ (NSRect)contentRectForFrameRect:(NSRect)fRect styleMask:(NSUInteger)aStyle
To
+ (NSRect)contentRectForFrameRect:(NSRect)fRect styleMask:(NSWindowStyleMask)style

Declaration
From
- (NSPoint)convertBaseToScreen:(NSPoint)aPoint
To
- (NSPoint)convertBaseToScreen:(NSPoint)point

Declaration
From
- (NSRect)convertRectFromBacking:(NSRect)aRect
To
- (NSRect)convertRectFromBacking:(NSRect)rect

Declaration
From
- (NSRect)convertRectFromScreen:(NSRect)aRect
To
- (NSRect)convertRectFromScreen:(NSRect)rect

Declaration
From
- (NSRect)convertRectToBacking:(NSRect)aRect
To
- (NSRect)convertRectToBacking:(NSRect)rect

Declaration
From
- (NSRect)convertRectToScreen:(NSRect)aRect
To
- (NSRect)convertRectToScreen:(NSRect)rect

Declaration
From
- (NSPoint)convertScreenToBase:(NSPoint)aPoint
To
- (NSPoint)convertScreenToBase:(NSPoint)point

Declaration
From
- (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent *)lastEvent
To
- (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(NSEvent *)lastEvent

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 *)image at:(NSPoint)baseLocation offset:(NSSize)initialOffset event:(NSEvent *)event pasteboard:(NSPasteboard *)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag

Declaration
From
- (void)endEditingFor:(id)anObject
To
- (void)endEditingFor:(id)object

Declaration
From
- (NSText *)fieldEditor:(BOOL)createFlag forObject:(id)anObject
To
- (NSText *)fieldEditor:(BOOL)createFlag forObject:(id)object

Declaration
From
+ (NSRect)frameRectForContentRect:(NSRect)cRect styleMask:(NSUInteger)aStyle
To
+ (NSRect)frameRectForContentRect:(NSRect)cRect styleMask:(NSWindowStyleMask)style

DeclarationDesignated Initializer
From
- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
--
To
- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
yes

Declaration
From
- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(NSScreen *)screen
To
- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(NSScreen *)screen

Declaration
From
- (void)invalidateCursorRectsForView:(NSView *)aView
To
- (void)invalidateCursorRectsForView:(NSView *)view

Declaration
From
- (void)keyDown:(NSEvent *)theEvent
To
- (void)keyDown:(NSEvent *)event

Declaration
From
- (BOOL)makeFirstResponder:(NSResponder *)aResponder
To
- (BOOL)makeFirstResponder:(NSResponder *)responder

Declaration
From
+ (CGFloat)minFrameWidthWithTitle:(NSString *)aTitle styleMask:(NSUInteger)aStyle
To
+ (CGFloat)minFrameWidthWithTitle:(NSString *)title styleMask:(NSWindowStyleMask)style

Declaration
From
- (NSEvent *)nextEventMatchingMask:(NSUInteger)mask
To
- (NSEvent *)nextEventMatchingMask:(NSEventMask)mask

Declaration
From
- (NSEvent *)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate *)expiration inMode:(NSString *)mode dequeue:(BOOL)deqFlag
To
- (NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag

Declaration
From
- (void)selectKeyViewFollowingView:(NSView *)aView
To
- (void)selectKeyViewFollowingView:(NSView *)view

Declaration
From
- (void)selectKeyViewPrecedingView:(NSView *)aView
To
- (void)selectKeyViewPrecedingView:(NSView *)view

Declaration
From
- (void)sendEvent:(NSEvent *)theEvent
To
- (void)sendEvent:(NSEvent *)event

Declaration
From
- (void)setContentSize:(NSSize)aSize
To
- (void)setContentSize:(NSSize)size

Declaration
From
- (void)setFrameOrigin:(NSPoint)aPoint
To
- (void)setFrameOrigin:(NSPoint)point

Declaration
From
- (void)setFrameTopLeftPoint:(NSPoint)aPoint
To
- (void)setFrameTopLeftPoint:(NSPoint)point

Declaration
From
+ (NSButton *)standardWindowButton:(NSWindowButton)b forStyleMask:(NSUInteger)styleMask
To
+ (NSButton *)standardWindowButton:(NSWindowButton)b forStyleMask:(NSWindowStyleMask)styleMask

Declaration
From
@property NSUInteger styleMask
To
@property NSWindowStyleMask styleMask

Declaration
From
- (BOOL)tryToPerform:(SEL)anAction with:(id)anObject
To
- (BOOL)tryToPerform:(SEL)action with:(id)object

Deprecation
From--
ToOS X 10.12

NSWorkspace.h

Declaration
From
- (BOOL)openFile:(NSString *)fullPath fromImage:(NSImage *)anImage at:(NSPoint)point inView:(NSView *)aView
To
- (BOOL)openFile:(NSString *)fullPath fromImage:(NSImage *)image at:(NSPoint)point inView:(NSView *)view

Feedback