Documentation Archive Developer
Search

Foundation Changes

Foundation

FoundationErrors.h
NSAppleEventDescriptor.h
Protocols
FromNSCopying
ToNSCopying, NSSecureCoding

NSArchiver.h
Removed -[NSUnarchiver NS_AUTOMATED_REFCOUNT_UNAVAILABLE] (no architecture available)
NSArray.h
Added -[NSArray NS_OPTIONS] (no architecture available)
Modified NSArray
Protocols
FromNSCoding, NSCopying, NSMutableCopying, NSFastEnumeration
ToNSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding

NSAttributedString.h
Added -[NSAttributedString NS_OPTIONS] (no architecture available)
NSCalendar.h
Modified NSCalendar
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSCoder.h
Removed -[NSCoder NS_AUTOMATED_REFCOUNT_UNAVAILABLE] (no architecture available)
NSData.h
Added NS_ENUM_AVAILABLE() (no architecture available)
Modified NSData
Protocols
FromNSCoding, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying, NSSecureCoding

NSDate.h
Modified NSDate
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSDateFormatter.h
Added -[NSDateFormatter NS_ENUM] (no architecture available)
NSDictionary.h
Added NSDictionary(NSSharedKeySetDictionary)
Added NSMutableDictionary(NSSharedKeySetDictionary)
Declaration
From- (void)setObject:(id)anObject forKey:(id)aKey
To- (void)setObject:(id)anObject forKey:(id < NSCopying >)aKey

Declaration
From- (id)initWithObjects:(const id[])objects forKeys:(const id[])keys count:(NSUInteger)cnt
To- (id)initWithObjects:(const id[])objects forKeys:(const id < NSCopying >[])keys count:(NSUInteger)cnt

Declaration
From+ (id)dictionaryWithObjects:(const id[])objects forKeys:(const id[])keys count:(NSUInteger)cnt
To+ (id)dictionaryWithObjects:(const id[])objects forKeys:(const id < NSCopying >[])keys count:(NSUInteger)cnt

Modified NSDictionary
Protocols
FromNSCoding, NSCopying, NSMutableCopying, NSFastEnumeration
ToNSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding

Declaration
From+ (id)dictionaryWithObject:(id)object forKey:(id)key
To+ (id)dictionaryWithObject:(id)object forKey:(id < NSCopying >)key

NSError.h
Modified NSError
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSFileHandle.h
Modified NSFileHandle
Protocols
Fromnone
ToNSSecureCoding

NSFilePresenter.h
NSGarbageCollector.h
Declaration
From- (void)disableCollectorForPointer:(void *)ptr
To- (void)disableCollectorForPointer:(const void *)ptr

Declaration
From- (void)enableCollectorForPointer:(void *)ptr
To- (void)enableCollectorForPointer:(const void *)ptr

NSHashTable.h
Added NS_ENUM_DEPRECATED_MAC (no architecture available)
Deprecation
Fromnone
ToOS X 10.8

NSIndexPath.h
Declaration
From- (id)initWithIndexes:(NSUInteger *)indexes length:(NSUInteger)length
To- (id)initWithIndexes:(const NSUInteger[])indexes length:(NSUInteger)length

Declaration
From+ (id)indexPathWithIndexes:(NSUInteger *)indexes length:(NSUInteger)length
To+ (id)indexPathWithIndexes:(const NSUInteger[])indexes length:(NSUInteger)length

NSLocale.h
Added -[NSLocale NS_ENUM] (no architecture available)
Modified NSLocale
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSNetServices.h
Declaration
From- (BOOL)getInputStream:(NSInputStream **)inputStream outputStream:(NSOutputStream **)outputStream
To- (BOOL)getInputStream:(out NSInputStream **)inputStream outputStream:(out NSOutputStream **)outputStream

NSNull.h
Modified NSNull
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSNumberFormatter.h
Added -[NSNumberFormatter NS_ENUM] (no architecture available)
NSObjCRuntime.h
Added #def AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Added #def NS_AUTOMATED_REFCOUNT_WEAK_UNAVAILABLE
Added #def NS_CLASS_AVAILABLE_IOS
Added #def NS_CLASS_AVAILABLE_MAC
Added #def NS_ENUM
Added #def NS_ENUM_AVAILABLE
Added #def NS_ENUM_AVAILABLE_IOS
Added #def NS_ENUM_AVAILABLE_MAC
Added #def NS_ENUM_DEPRECATED
Added #def NS_ENUM_DEPRECATED_IOS
Added #def NS_ENUM_DEPRECATED_MAC
Added #def NS_OPTIONS
Added #def NS_RELEASES_ARGUMENT
Added #def NS_REPLACES_RECEIVER
Added #def NS_REQUIRES_PROPERTY_DEFINITIONS
Added #def NS_RETURNS_INNER_POINTER
Added #def NS_ROOT_CLASS
NSObject.h
Removed -[NSObject NS_AUTOMATED_REFCOUNT_UNAVAILABLE] (no architecture available)
Removed -[NSObject NS_UNAVAILABLE] (no architecture available)
Added +[NSSecureCoding supportsSecureCoding]
Deprecation
Fromnone
ToOS X 10.8

NSOperation.h
Added -[NSOperation NS_ENUM] (no architecture available)
NSOrderedSet.h
Modified NSOrderedSet
Protocols
FromNSCoding, NSCopying, NSMutableCopying, NSFastEnumeration
ToNSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding

NSPathUtilities.h
NSPointerArray.h
Removed NSPointerArray(NSArrayConveniences)
Added NSPointerArray(NSPointerArrayConveniences)
Deprecation
Fromnone
ToOS X 10.8

Deprecation
Fromnone
ToOS X 10.8

NSPointerFunctions.h
NSProxy.h
Removed -[NSProxy NS_UNAVAILABLE] (no architecture available)
NSSet.h
Modified NSSet
Protocols
FromNSCoding, NSCopying, NSMutableCopying, NSFastEnumeration
ToNSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding

Declaration
From- (id)initWithObjects:(const id *)objects count:(NSUInteger)cnt
To- (id)initWithObjects:(const id[])objects count:(NSUInteger)cnt

Declaration
From+ (id)setWithObjects:(const id *)objects count:(NSUInteger)cnt
To+ (id)setWithObjects:(const id[])objects count:(NSUInteger)cnt

NSString.h
Added -[NSString NS_OPTIONS] (no architecture available)
Modified NSString
Protocols
FromNSCoding, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying, NSSecureCoding

NSTimeZone.h
Added -[NSTimeZone NS_ENUM] (no architecture available)
Modified NSTimeZone
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSURL.h
Deprecation
Fromnone
ToOS X 10.8

Modified NSURL
Protocols
FromNSCoding, NSCopying, NSURLHandleClient
ToNSCopying, NSSecureCoding, NSURLHandleClient

Deprecation
Fromnone
ToOS X 10.8

NSURLAuthenticationChallenge.h
Protocols
Fromnone
ToNSCoding

NSURLConnection.h
Removed -[NSURLConnectionDelegate connection:didReceiveData:]
Removed -[NSURLConnectionDelegate connection:didReceiveResponse:]
Removed -[NSURLConnectionDelegate connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:]
Removed -[NSURLConnectionDelegate connection:needNewBodyStream:]
Removed -[NSURLConnectionDelegate connection:willCacheResponse:]
Removed -[NSURLConnectionDelegate connection:willSendRequest:redirectResponse:]
Removed -[NSURLConnectionDelegate connectionDidFinishLoading:]
NSURLCredential.h
Protocols
FromNSCopying
ToNSCoding, NSCopying

NSURLProtectionSpace.h
Protocols
FromNSCopying
ToNSCoding, NSCopying

NSUbiquitousKeyValueStore.h
NSUserNotification.h
NSValue.h
Modified NSValue
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSXPCConnection.h
NSZone.h
Deprecation
Fromnone
ToOS X 10.8