Foundation Changes
Foundation
| Framework Architectures | |
|---|---|
| From | i386,ppc,x86_64 | 
| To | i386,x86_64 | 
FoundationErrors.h
NSAppleEventDescriptor.h
Removed -[NSAppleEventDescriptor removeDecriptorAtIndex:] (no architecture available)
NSArchiver.h
Added -[NSUnarchiver NS_AUTOMATED_REFCOUNT_UNAVAILABLE] (no architecture available)
NSArray.h
Modified -[NSArray getObjects:]
| Declaration | |
|---|---|
| From | - (void)getObjects:(id *)objects | 
| To | - (void)getObjects:(id[])objects | 
Modified -[NSArray getObjects:range:]
| Declaration | |
|---|---|
| From | - (void)getObjects:(id *)objects range:(NSRange)range | 
| To | - (void)getObjects:(id[])objects range:(NSRange)range | 
Modified +[NSArray arrayWithObjects:count:]
| Declaration | |
|---|---|
| From | + (id)arrayWithObjects:(const id *)objects count:(NSUInteger)cnt | 
| To | + (id)arrayWithObjects:(const id[])objects count:(NSUInteger)cnt | 
Modified -[NSArray initWithObjects:count:]
| Declaration | |
|---|---|
| From | - (id)initWithObjects:(const id *)objects count:(NSUInteger)cnt | 
| To | - (id)initWithObjects:(const id[])objects count:(NSUInteger)cnt | 
NSBundle.h
NSCache.h
Modified -[NSCache setDelegate:]
| Declaration | |
|---|---|
| From | - (void)setDelegate:(id)d | 
| To | - (void)setDelegate:(id < NSCacheDelegate >)d | 
Modified -[NSCache delegate]
| Declaration | |
|---|---|
| From | - (id)delegate | 
| To | - (id < NSCacheDelegate >)delegate | 
Modified NSCacheDelegate
| Protocols | |
|---|---|
| From | none | 
| To | NSObject | 
NSCalendar.h
Added -[NSDateComponents date] 
Added NSCalendarCalendarUnit 
Added NSTimeZoneCalendarUnit 
Added NSWeekOfYearCalendarUnit 
NSCoder.h
Added -[NSCoder NS_AUTOMATED_REFCOUNT_UNAVAILABLE] (no architecture available)
NSComparisonPredicate.h
Modified -[NSComparisonPredicate options]
| Declaration | |
|---|---|
| From | - (NSUInteger)options | 
| To | - (NSComparisonPredicateOptions)options | 
Modified +[NSComparisonPredicate predicateWithLeftExpression:rightExpression:modifier:type:options:]
| Declaration | |
|---|---|
| From | + (NSPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSUInteger)options | 
| To | + (NSPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options | 
| Declaration | |
|---|---|
| From | - (id)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSUInteger)options | 
| To | - (id)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options | 
NSConnection.h
NSData.h
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
NSDebug.h
Removed +[NSAutoreleasePool autoreleasedObjectCount] 
Removed +[NSAutoreleasePool enableFreedObjectCheck:] 
Removed +[NSAutoreleasePool enableRelease:] 
Removed +[NSAutoreleasePool poolCountHighWaterMark] 
Removed +[NSAutoreleasePool poolCountHighWaterResolution] 
Removed +[NSAutoreleasePool resetTotalAutoreleasedObjects] 
Removed +[NSAutoreleasePool setPoolCountHighWaterMark:] 
Removed +[NSAutoreleasePool setPoolCountHighWaterResolution:] 
Removed +[NSAutoreleasePool topAutoreleasePoolCount] 
Removed +[NSAutoreleasePool totalAutoreleasedObjects] 
Removed NSHangOnUncaughtException 
NSDictionary.h
| Declaration | |
|---|---|
| From | - (id)initWithObjects:(id *)objects forKeys:(id *)keys count:(NSUInteger)cnt | 
| To | - (id)initWithObjects:(const id[])objects forKeys:(const id[])keys count:(NSUInteger)cnt | 
| Declaration | |
|---|---|
| From | + (id)dictionaryWithObjects:(id *)objects forKeys:(id *)keys count:(NSUInteger)cnt | 
| To | + (id)dictionaryWithObjects:(const id[])objects forKeys:(const id[])keys count:(NSUInteger)cnt | 
Modified -[NSDictionary getObjects:andKeys:]
| Declaration | |
|---|---|
| From | - (void)getObjects:(id *)objects andKeys:(id *)keys | 
| To | - (void)getObjects:(id[])objects andKeys:(id[])keys | 
NSEnumerator.h
| Declaration | |
|---|---|
| From | - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len | 
| To | - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id[])buffer count:(NSUInteger)len | 
NSExpression.h
NSFileCoordinator.h
NSFileHandle.h
NSFileManager.h
Removed -[NSObject fileManager:shouldCopyItemAtPath:toPath:] 
Removed -[NSObject fileManager:shouldCopyItemAtURL:toURL:] 
Removed -[NSObject fileManager:shouldLinkItemAtPath:toPath:] 
Removed -[NSObject fileManager:shouldLinkItemAtURL:toURL:] 
Removed -[NSObject fileManager:shouldMoveItemAtPath:toPath:] 
Removed -[NSObject fileManager:shouldMoveItemAtURL:toURL:] 
Removed -[NSObject fileManager:shouldProceedAfterError:copyingItemAtPath:toPath:] 
Removed -[NSObject fileManager:shouldProceedAfterError:copyingItemAtURL:toURL:] 
Removed -[NSObject fileManager:shouldProceedAfterError:linkingItemAtPath:toPath:] 
Removed -[NSObject fileManager:shouldProceedAfterError:linkingItemAtURL:toURL:] 
Removed -[NSObject fileManager:shouldProceedAfterError:movingItemAtPath:toPath:] 
Removed -[NSObject fileManager:shouldProceedAfterError:movingItemAtURL:toURL:] 
Removed -[NSObject fileManager:shouldProceedAfterError:removingItemAtPath:] 
Removed -[NSObject fileManager:shouldProceedAfterError:removingItemAtURL:] 
Removed -[NSObject fileManager:shouldRemoveItemAtPath:] 
Removed -[NSObject fileManager:shouldRemoveItemAtURL:] 
Removed NSObject(NSFileManagerFileOperationAdditions) 
Added NSFileManagerDelegate 
NSFilePresenter.h
Added NSFilePresenter 
NSFileVersion.h
Added NSFileVersion 
Added NSFileVersion.URL 
Added NSFileVersion.conflict 
Added NSFileVersion.resolved 
NSFileWrapper.h
Added NSFileWrapper 
Added NSFileWrapper(NSDeprecated) 
NSGeometry.h
Added NSAlignAllEdgesInward 
Added NSAlignAllEdgesNearest 
Added NSAlignAllEdgesOutward 
Added NSAlignHeightInward 
Added NSAlignHeightNearest 
Added NSAlignHeightOutward 
Added NSAlignMaxXInward 
Added NSAlignMaxXNearest 
Added NSAlignMaxXOutward 
Added NSAlignMaxYInward 
Added NSAlignMaxYNearest 
Added NSAlignMaxYOutward 
Added NSAlignMinXInward 
Added NSAlignMinXNearest 
Added NSAlignMinXOutward 
Added NSAlignMinYInward 
Added NSAlignMinYNearest 
Added NSAlignMinYOutward 
Added NSAlignRectFlipped 
Added NSAlignWidthInward 
Added NSAlignWidthNearest 
Added NSAlignWidthOutward 
Added NSAlignmentOptions 
NSHTTPCookieStorage.h
NSHost.h
Modified +[NSHost flushHostCache]
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
Modified +[NSHost isHostCacheEnabled]
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
Modified +[NSHost setHostCacheEnabled:]
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
NSIndexSet.h
NSJSONSerialization.h
NSKeyValueCoding.h
Added NSOrderedSet(NSKeyValueCoding) 
| Declaration | |
|---|---|
| From | - (BOOL)validateValue:(id *)ioValue forKey:(NSString *)inKey error:(NSError **)outError | 
| To | - (BOOL)validateValue:(inout id *)ioValue forKey:(NSString *)inKey error:(out NSError **)outError | 
| Declaration | |
|---|---|
| From | - (BOOL)validateValue:(id *)ioValue forKeyPath:(NSString *)inKeyPath error:(NSError **)outError | 
| To | - (BOOL)validateValue:(inout id *)ioValue forKeyPath:(NSString *)inKeyPath error:(out NSError **)outError | 
NSKeyValueObserving.h
Added NSOrderedSet(NSKeyValueObserverRegistration) 
NSLinguisticTagger.h
Added NSLinguisticTagger 
Added NSLinguisticTagAdjective 
Added NSLinguisticTagAdverb 
Added NSLinguisticTagDash 
Added NSLinguisticTagIdiom 
Added NSLinguisticTagNoun 
Added NSLinguisticTagNumber 
Added NSLinguisticTagOpenQuote 
Added NSLinguisticTagOther 
Added NSLinguisticTagOtherWord 
Added NSLinguisticTagParticle 
Added NSLinguisticTagPlaceName 
Added NSLinguisticTagPronoun 
Added NSLinguisticTagVerb 
Added NSLinguisticTagWord 
Added NSString(NSLinguisticAnalysis) 
NSMetadata.h
Added NSMetadataItemFSNameKey 
Added NSMetadataItemFSSizeKey 
Added NSMetadataItemPathKey 
Added NSMetadataItemURLKey 
Added NSMetadataQueryLocalDocumentsScope 
NSNotification.h
| Declaration | |
|---|---|
| From | - (id)addObserverForName:(NSString *)name object:(id)obj queue:(NSOperationQueue *)queue usingBlock:(void (^)(NSNotification *))block | 
| To | - (id)addObserverForName:(NSString *)name object:(id)obj queue:(NSOperationQueue *)queue usingBlock:(void (^)(NSNotification *note))block | 
NSObjCRuntime.h
Added #def AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def AVAILABLE_MAC_OS_X_VERSION_NA_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA 
Added #def NS_AUTOMATED_REFCOUNT_UNAVAILABLE 
Added #def NS_AVAILABLE 
Added #def NS_AVAILABLE_IOS 
Added #def NS_AVAILABLE_IPHONE 
Added #def NS_AVAILABLE_MAC 
Added #def NS_CLASS_AVAILABLE 
Added #def NS_DEPRECATED 
Added #def NS_DEPRECATED_IOS 
Added #def NS_DEPRECATED_IPHONE 
Added #def NS_DEPRECATED_MAC 
Added #def NS_NONATOMIC_IOSONLY 
Added #def NS_RETURNS_NOT_RETAINED 
Added #def NS_UNAVAILABLE 
NSObject.h
Added -[NSObject NS_AUTOMATED_REFCOUNT_UNAVAILABLE] (no architecture available)
Added -[NSObject NS_UNAVAILABLE] (no architecture available)
NSOrderedSet.h
Added NSMutableOrderedSet 
Added NSOrderedSet 
Added -[NSOrderedSet array] 
Added -[NSOrderedSet count] 
Added -[NSOrderedSet set] 
Added NSMutableOrderedSet(NSExtendedMutableOrderedSet) 
Added NSMutableOrderedSet(NSMutableOrderedSetCreation) 
Added NSOrderedSet(NSExtendedOrderedSet) 
Added NSOrderedSet(NSOrderedSetCreation) 
NSPointerFunctions.h
| Declaration | |
|---|---|
| From | @property void(* relinquishFunction | 
| To | @property void(*relinquishFunction)(const void *item, NSUInteger(*size)(const void *item)) | 
| Declaration | |
|---|---|
| From | @property NSString *(* descriptionFunction | 
| To | @property NSString *(*descriptionFunction)(const void *item) | 
Modified NSPointerFunctions.sizeFunction
| Declaration | |
|---|---|
| From | @property NSUInteger(* sizeFunction | 
| To | @property NSUInteger(*sizeFunction)(const void *item) | 
Modified NSPointerFunctions.hashFunction
| Declaration | |
|---|---|
| From | @property NSUInteger(* hashFunction | 
| To | @property NSUInteger(*hashFunction)(const void *item, NSUInteger(*size)(const void *item)) | 
Modified NSPointerFunctions.acquireFunction
| Declaration | |
|---|---|
| From | @property void *(* acquireFunction | 
| To | @property void *(*acquireFunction)(const void *src, NSUInteger(*size)(const void *item), BOOL shouldCopy) | 
Modified NSPointerFunctions.isEqualFunction
| Declaration | |
|---|---|
| From | @property BOOL(* isEqualFunction | 
| To | @property BOOL(*isEqualFunction)(const void *item1, const void *item2, NSUInteger(*size)(const void *item)) | 
NSPort.h
Removed +[NSPort allocWithZone:] 
NSPortCoder.h
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
Modified -[NSPortCoder dispatch]
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
Modified -[NSPortCoder connection]
| Deprecation | |
|---|---|
| From | none | 
| To | OS X v10.7 | 
NSProcessInfo.h
NSPropertyList.h
| Declaration | |
|---|---|
| From | + (NSInteger)writePropertyList:(id)plist toStream:(NSOutputStream *)stream format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(NSError **)error | 
| To | + (NSInteger)writePropertyList:(id)plist toStream:(NSOutputStream *)stream format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(out NSError **)error | 
| Declaration | |
|---|---|
| From | + (NSData *)dataWithPropertyList:(id)plist format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(NSError **)error | 
| To | + (NSData *)dataWithPropertyList:(id)plist format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(out NSError **)error | 
Modified +[NSPropertyListSerialization propertyListFromData:mutabilityOption:format:errorDescription:]
| Declaration | |
|---|---|
| From | + (id)propertyListFromData:(NSData *)data mutabilityOption:(NSPropertyListMutabilityOptions)opt format:(NSPropertyListFormat *)format errorDescription:(NSString **)errorString | 
| To | + (id)propertyListFromData:(NSData *)data mutabilityOption:(NSPropertyListMutabilityOptions)opt format:(NSPropertyListFormat *)format errorDescription:(out NSString **)errorString | 
| Declaration | |
|---|---|
| From | + (NSData *)dataFromPropertyList:(id)plist format:(NSPropertyListFormat)format errorDescription:(NSString **)errorString | 
| To | + (NSData *)dataFromPropertyList:(id)plist format:(NSPropertyListFormat)format errorDescription:(out NSString **)errorString | 
| Declaration | |
|---|---|
| From | + (id)propertyListWithData:(NSData *)data options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat *)format error:(NSError **)error | 
| To | + (id)propertyListWithData:(NSData *)data options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat *)format error:(out NSError **)error | 
| Declaration | |
|---|---|
| From | + (id)propertyListWithStream:(NSInputStream *)stream options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat *)format error:(NSError **)error | 
| To | + (id)propertyListWithStream:(NSInputStream *)stream options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat *)format error:(out NSError **)error | 
NSProxy.h
Added -[NSProxy NS_UNAVAILABLE] (no architecture available)
NSRegularExpression.h
Added NSDataDetector 
Added NSRegularExpression 
Added NSMatchingAnchored 
Added NSMatchingCompleted 
Added NSMatchingFlags 
Added NSMatchingHitEnd 
Added NSMatchingInternalError 
Added NSMatchingOptions 
Added NSMatchingProgress 
Added NSMatchingReportProgress 
Added NSMatchingRequiredEnd 
Added NSRegularExpression(NSMatching) 
Added NSRegularExpression(NSReplacement) 
NSSet.h
Modified -[NSSet initWithObjects:count:]
| Declaration | |
|---|---|
| From | - (id)initWithObjects:(id *)objects count:(NSUInteger)cnt | 
| To | - (id)initWithObjects:(const id *)objects count:(NSUInteger)cnt | 
Modified +[NSSet setWithObjects:count:]
| Declaration | |
|---|---|
| From | + (id)setWithObjects:(id *)objects count:(NSUInteger)cnt | 
| To | + (id)setWithObjects:(const id *)objects count:(NSUInteger)cnt | 
NSSpellServer.h
NSStream.h
NSString.h
NSTask.h
NSTextCheckingResult.h
Added NSTextCheckingAirlineKey 
Added NSTextCheckingFlightKey 
NSURL.h
Added NSFileSecurity 
Added NSURLFileResourceTypeKey 
Added NSURLFileSecurityKey 
Added NSURLIsExecutableKey 
Added NSURLIsMountTriggerKey 
Added NSURLIsReadableKey 
Added NSURLIsUbiquitousItemKey 
Added NSURLIsWritableKey 
Added NSURLTotalFileSizeKey 
Added NSURLVolumeIdentifierKey 
Added NSURLVolumeIsInternalKey 
Added NSURLVolumeIsLocalKey 
Added NSURLVolumeIsReadOnlyKey 
Added NSURLVolumeNameKey 
Added NSURLVolumeUUIDStringKey 
| Declaration | |
|---|---|
| From | - (BOOL)getResourceValue:(id *)value forKey:(NSString *)key error:(NSError **)error | 
| To | - (BOOL)getResourceValue:(out id *)value forKey:(NSString *)key error:(out NSError **)error | 
NSURLAuthenticationChallenge.h
NSURLConnection.h
Removed -[NSObject connection:canAuthenticateAgainstProtectionSpace:] 
Removed -[NSObject connection:didCancelAuthenticationChallenge:] 
Removed -[NSObject connection:didFailWithError:] 
Removed -[NSObject connection:didReceiveAuthenticationChallenge:] 
Removed -[NSObject connection:didReceiveData:] 
Removed -[NSObject connection:didReceiveResponse:] 
Removed -[NSObject connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:] 
Removed -[NSObject connection:needNewBodyStream:] 
Removed -[NSObject connection:willCacheResponse:] 
Removed -[NSObject connection:willSendRequest:redirectResponse:] 
Removed -[NSObject connectionDidFinishLoading:] 
Removed -[NSObject connectionShouldUseCredentialStorage:] 
Removed NSObject(NSURLConnectionDelegate) 
Added NSURLConnectionDelegate 
Added -[NSURLConnectionDelegate connection:didReceiveData:] 
Added -[NSURLConnectionDelegate connection:didReceiveResponse:] 
Added -[NSURLConnectionDelegate connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:] 
Added -[NSURLConnectionDelegate connection:needNewBodyStream:] 
Added -[NSURLConnectionDelegate connection:willCacheResponse:] 
Added -[NSURLConnectionDelegate connection:willSendRequest:redirectResponse:] 
Added -[NSURLConnectionDelegate connectionDidFinishLoading:] 
Added NSURLConnection(NSURLConnectionQueuedLoading) 
NSURLDownload.h
Removed -[NSObject download:canAuthenticateAgainstProtectionSpace:] 
Removed -[NSObject download:decideDestinationWithSuggestedFilename:] 
Removed -[NSObject download:didCancelAuthenticationChallenge:] 
Removed -[NSObject download:didCreateDestination:] 
Removed -[NSObject download:didFailWithError:] 
Removed -[NSObject download:didReceiveAuthenticationChallenge:] 
Removed -[NSObject download:didReceiveDataOfLength:] 
Removed -[NSObject download:didReceiveResponse:] 
Removed -[NSObject download:shouldDecodeSourceDataOfMIMEType:] 
Removed -[NSObject download:willResumeWithResponse:fromByte:] 
Removed -[NSObject download:willSendRequest:redirectResponse:] 
Removed -[NSObject downloadDidBegin:] 
Removed -[NSObject downloadDidFinish:] 
Removed -[NSObject downloadShouldUseCredentialStorage:] 
Removed NSObject(NSURLDownloadDelegate) 
Added NSURLDownloadDelegate 
| Declaration | |
|---|---|
| From | - (id)initWithResumeData:(NSData *)resumeData delegate:(id)delegate path:(NSString *)path | 
| To | - (id)initWithResumeData:(NSData *)resumeData delegate:(id < NSURLDownloadDelegate >)delegate path:(NSString *)path | 
| Declaration | |
|---|---|
| From | - (id)initWithRequest:(NSURLRequest *)request delegate:(id)delegate | 
| To | - (id)initWithRequest:(NSURLRequest *)request delegate:(id < NSURLDownloadDelegate >)delegate | 
NSURLError.h
NSURLRequest.h
NSUbiquitousKeyValueStore.h
NSUndoManager.h
NSXMLElement.h
Added NSXMLElement(NSDeprecated) 
NSXMLNodeOptions.h
NSXMLParser.h
NSZone.h
Added #def CF_CONSUMED