Documentation Archive Developer
Search

AppKit Changes

AppKit

Framework Architectures
Fromi386,ppc,x86_64
Toi386,x86_64
AppKitDefines.h
Added #def AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_0
Added #def AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1
Added #def AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2
Added #def AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3
Added #def AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4
Added #def AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5
Added #def AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6
Added #def AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7
NSATSTypesetter.h
Modified -[NSATSTypesetter insertGlyph:atGlyphIndex:characterIndex:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter setDrawsOutsideLineFragment:forGlyphRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter characterRangeForGlyphRange:actualGlyphRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter setAttachmentSize:forGlyphRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter setLineFragmentRect:forGlyphRange:usedRect:baselineOffset:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter deleteGlyphsInRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified NSATSTypesetter(NSGlyphStorageInterface)
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter setLocation:withAdvancements:forStartOfGlyphRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified NSATSTypesetter(NSLayoutPhaseInterface)
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified NSATSTypesetter(NSPrimitiveInterface)
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter glyphRangeForCharacterRange:actualCharacterRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter setNotShownAttribute:forGlyphRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter setBidiLevels:forGlyphRange:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

Modified -[NSATSTypesetter substituteGlyphsInRange:withGlyphs:]
32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

32/64-bitArchitectures
FromUnknownUnknown
ToBothi386,x86_64

NSAccessibility.h
Removed NSAccessibilityHorizontialUnitDescriptionAttribute
Removed NSAccessibilityHorizontialUnitsAttribute
NSApplication.h
Declaration
From- (NSModalSession)beginModalSessionForWindow:(NSWindow *)theWindow relativeToWindow:(NSWindow *)docWindow
To- (NSModalSession)beginModalSessionForWindow:(NSWindow *)theWindow relativeToWindow:(NSWindow *)__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_0

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

NSBezierPath.h
32/64-bitArchitectures
FromBothi386,ppc,x86_64
ToUnknownUnknown

Declaration
From- (void)setCachesBezierPath:(BOOL)flag
To- (void)setCachesBezierPath:(BOOL)__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_0

NSButtonCell.h
NSCell.h
Declaration
From- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)rightDigits
To- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_0

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

DeprecationDeclaration
Fromnone- (BOOL)isEntryAcceptable:(NSString *)aString
ToOS X v10.0- (BOOL)isEntryAcceptable:(NSString *)__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_0

32/64-bitArchitectures
FromBothi386,ppc,x86_64
ToUnknownUnknown

Modified NSCell
Protocols
FromNSCoding, NSCopying
ToNSCoding, NSCopying, NSUserInterfaceItemIdentification

NSControl.h
Declaration
From- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)rightDigits
To- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_0

NSDocument.h
Declaration
From- (void)setAutosavedContentsFileURL:(NSURL *)absoluteURL
To- (void)setAutosavedContentsFileURL:(NSURL *)url

Declaration
From- (BOOL)revertToContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError
To- (BOOL)revertToContentsOfURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError

Declaration
From- (void)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo
To- (void)saveToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo

Declaration
From- (id)initForURL:(NSURL *)absoluteDocumentURL withContentsOfURL:(NSURL *)absoluteDocumentContentsURL ofType:(NSString *)typeName error:(NSError **)outError
To- (id)initForURL:(NSURL *)urlOrNil withContentsOfURL:(NSURL *)contentsURL ofType:(NSString *)typeName error:(NSError **)outError

Declaration
From- (NSDictionary *)fileAttributesToWriteToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError
To- (NSDictionary *)fileAttributesToWriteToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError

Declaration
From- (BOOL)writeSafelyToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError
To- (BOOL)writeSafelyToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError

Declaration
From- (void)setFileURL:(NSURL *)absoluteURL
To- (void)setFileURL:(NSURL *)url

Declaration
From- (BOOL)writeToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError
To- (BOOL)writeToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError

DeprecationDeclaration
Fromnone- (BOOL)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError
ToOS X v10.7- (BOOL)saveToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError

Declaration
From- (id)initWithContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName
To- (id)initWithContentsOfURL:(NSURL *)url ofType:(NSString *)typeName

Declaration
From- (id)initWithContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError
To- (id)initWithContentsOfURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError

Declaration
From- (BOOL)writeToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError
To- (BOOL)writeToURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError

Declaration
From- (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError
To- (BOOL)readFromURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError

Modified NSDocument
Protocols
FromNSUserInterfaceValidations
ToNSFilePresenter, NSUserInterfaceValidations

NSDocumentController.h
Declaration
From- (id)makeDocumentForURL:(NSURL *)absoluteDocumentURL withContentsOfURL:(NSURL *)absoluteDocumentContentsURL ofType:(NSString *)typeName error:(NSError **)outError
To- (id)makeDocumentForURL:(NSURL *)urlOrNil withContentsOfURL:(NSURL *)contentsURL ofType:(NSString *)typeName error:(NSError **)outError

Declaration
From- (NSString *)typeForContentsOfURL:(NSURL *)inAbsoluteURL error:(NSError **)outError
To- (NSString *)typeForContentsOfURL:(NSURL *)url error:(NSError **)outError

Declaration
From- (void)noteNewRecentDocumentURL:(NSURL *)absoluteURL
To- (void)noteNewRecentDocumentURL:(NSURL *)url

DeprecationDeclaration
Fromnone- (id)openDocumentWithContentsOfURL:(NSURL *)absoluteURL display:(BOOL)displayDocument error:(NSError **)outError
ToOS X v10.7- (id)openDocumentWithContentsOfURL:(NSURL *)url display:(BOOL)displayDocument error:(NSError **)outError

DeprecationDeclaration
Fromnone- (BOOL)reopenDocumentForURL:(NSURL *)absoluteDocumentURL withContentsOfURL:(NSURL *)absoluteDocumentContentsURL error:(NSError **)outError
ToOS X v10.7- (BOOL)reopenDocumentForURL:(NSURL *)url withContentsOfURL:(NSURL *)contentsURL error:(NSError **)outError

Declaration
From- (id)documentForURL:(NSURL *)absoluteURL
To- (id)documentForURL:(NSURL *)url

Declaration
From- (id)makeDocumentWithContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError
To- (id)makeDocumentWithContentsOfURL:(NSURL *)url ofType:(NSString *)typeName error:(NSError **)outError

NSDragging.h
Removed -[NSObject concludeDragOperation:]
Removed -[NSObject draggingEnded:]
Removed -[NSObject draggingEntered:]
Removed -[NSObject draggingExited:]
Removed -[NSObject draggingUpdated:]
Removed -[NSObject performDragOperation:]
Removed -[NSObject prepareForDragOperation:]
Removed -[NSObject wantsPeriodicDraggingUpdates]
Removed NSObject(NSDraggingDestination)
Removed NSObject(NSDraggingSource)
Deprecation
Fromnone
ToOS X v10.7

Deprecation
Fromnone
ToOS X v10.7

Deprecation
Fromnone
ToOS X v10.7

Protocols
Fromnone
ToNSObject

Deprecation
Fromnone
ToOS X v10.7

Deprecation
Fromnone
ToOS X v10.7

Deprecation
Fromnone
ToOS X v10.7

NSFileWrapper.h
Removed NSFileWrapper
Removed NSFileWrapper(NSDeprecated)
NSFileWrapperExtensions.h
Added NSFileWrapper(NSExtensions)
Header
FromNSFileWrapper.h
ToNSFileWrapperExtensions.h

Header
FromNSFileWrapper.h
ToNSFileWrapperExtensions.h

NSFontCollection.h
NSGraphics.h
Declaration
Fromvoid NSRectFillListWithColors ( const NSRect *rects, NSColor **colors, NSInteger num);
Tovoid NSRectFillListWithColors ( const NSRect *rects, NSColor *const *colors, NSInteger num);

Declaration
Fromvoid NSRectFillListWithColorsUsingOperation ( const NSRect *rects, NSColor **colors, NSInteger num, NSCompositingOperation op);
Tovoid NSRectFillListWithColorsUsingOperation ( const NSRect *rects, NSColor *const *colors, NSInteger num, NSCompositingOperation op);

NSLayoutConstraint.h
Added NSControl(NSConstraintBasedLayoutLayering)
Added NSLayoutPriorityDefaultHigh
Added NSLayoutPriorityDefaultLow
Added NSLayoutPriorityDragThatCanResizeWindow
Added NSLayoutPriorityDragThatCannotResizeWindow
Added NSLayoutPriorityFittingSizeCompression
Added NSLayoutPriorityRequired
Added NSLayoutPriorityWindowSizeStayPut
Added NSView(NSConstraintBasedCompatibility)
Added NSView(NSConstraintBasedLayoutCoreMethods)
Added NSView(NSConstraintBasedLayoutDebugging)
Added NSView(NSConstraintBasedLayoutFittingSize)
Added NSView(NSConstraintBasedLayoutInstallingConstraints)
Added NSView(NSConstraintBasedLayoutLayering)
Added NSWindow(NSConstraintBasedLayoutAnchoring)
Added NSWindow(NSConstraintBasedLayoutCoreMethods)
Added NSWindow(NSConstraintBasedLayoutDebugging)
NSOpenGLView.h
NSOutlineView.h
Removed -[NSObject outlineViewColumnDidMove:]
Removed -[NSObject outlineViewColumnDidResize:]
Removed -[NSObject outlineViewItemDidCollapse:]
Removed -[NSObject outlineViewItemDidExpand:]
Removed -[NSObject outlineViewItemWillCollapse:]
Removed -[NSObject outlineViewItemWillExpand:]
Removed -[NSObject outlineViewSelectionDidChange:]
Removed -[NSObject outlineViewSelectionIsChanging:]
Removed NSObject(NSOutlineViewNotifications)
Added -[NSOutlineView insertRowsAtIndexes:withAnimation:] (no architecture available)
Added -[NSOutlineView moveRowAtIndex:toIndex:] (no architecture available)
Added -[NSOutlineView removeRowsAtIndexes:withAnimation:] (no architecture available)
NSPasteboard.h
NSScreen.h
Deprecation
Fromnone
ToOS X v10.7

NSTabView.h
Declaration
From- (void)tabViewDidChangeNumberOfTabViewItems:(NSTabView *)TabView
To- (void)tabViewDidChangeNumberOfTabViewItems:(NSTabView *)tabView

NSTableColumn.h
Modified NSTableColumn
Protocols
FromNSCoding
ToNSCoding, NSUserInterfaceItemIdentification

Declaration
From- (void)setIdentifier:(id)identifier
To- (void)setIdentifier:(NSString *)identifier

Declaration
From- (id)initWithIdentifier:(id)identifier
To- (id)initWithIdentifier:(NSString *)identifier

Declaration
From- (id)identifier
To- (NSString *)identifier

NSTableView.h
Declaration
From- (void)setGridStyleMask:(NSUInteger)gridType
To- (void)setGridStyleMask:(NSTableViewGridLineStyle)gridStyle

Declaration
From- (NSTableColumn *)tableColumnWithIdentifier:(id)identifier
To- (NSTableColumn *)tableColumnWithIdentifier:(NSString *)identifier

Modified NSTableView
Protocols
FromNSUserInterfaceValidations, NSTextViewDelegate
ToNSDraggingSource, NSTextViewDelegate, NSUserInterfaceValidations

Declaration
From- (NSUInteger)gridStyleMask
To- (NSTableViewGridLineStyle)gridStyleMask

Declaration
From- (NSInteger)columnWithIdentifier:(id)identifier
To- (NSInteger)columnWithIdentifier:(NSString *)identifier

NSTextContainer.h
Protocols
FromNSCoding
ToNSCoding, NSTextLayoutOrientationProvider

NSTextFinder.h
NSTextView.h
Modified NSTextView
Protocols
FromNSTextInput, NSUserInterfaceValidations, NSTextInputClient
ToNSDraggingSource, NSTextInput, NSTextInputClient, NSTextLayoutOrientationProvider, NSUserInterfaceValidations

NSWindow.h
Added -[NSWindowDelegate window:willResizeForVersionBrowserWithMaxPreferredSize:]
Modified -[NSWindow setCanBeVisibleOnAllSpaces:]
Declaration
From- (void)setCanBeVisibleOnAllSpaces:(BOOL)flag
To- (void)setCanBeVisibleOnAllSpaces:(BOOL)__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_5

Modified -[NSWindow canBeVisibleOnAllSpaces]
32/64-bitArchitectures
FromBothi386,ppc,x86_64
ToUnknownUnknown

Modified NSWindow
Protocols
FromNSUserInterfaceValidations, NSAnimatablePropertyContainer
ToNSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSUserInterfaceValidations

NSWorkspace.h
Deprecation
Fromnone
ToOS X v10.7

Deprecation
Fromnone
ToOS X v10.7