CoreFoundation Changes for Objective-C
CoreFoundation
CFAvailability.h
Added #def CF_EXTENSIBLE_STRING_ENUM
Added #def CF_STRING_ENUM
CFBase.h
Added #def CF_NO_TAIL_CALL
Added #def CF_NOESCAPE
CFCalendar.h
Modified CFCalendarCreateWithIdentifier()
Declaration | |
---|---|
From | CFCalendarRef CFCalendarCreateWithIdentifier ( CFAllocatorRef allocator, CFStringRef identifier ); |
To | CFCalendarRef CFCalendarCreateWithIdentifier ( CFAllocatorRef allocator, CFCalendarIdentifier identifier ); |
Modified CFCalendarGetIdentifier()
Declaration | |
---|---|
From | CFStringRef CFCalendarGetIdentifier ( CFCalendarRef calendar ); |
To | CFCalendarIdentifier CFCalendarGetIdentifier ( CFCalendarRef calendar ); |
CFDateFormatter.h
Added CFDateFormatterKey
Modified CFDateFormatterCopyProperty()
Declaration | |
---|---|
From | CFTypeRef CFDateFormatterCopyProperty ( CFDateFormatterRef formatter, CFStringRef key ); |
To | CFTypeRef CFDateFormatterCopyProperty ( CFDateFormatterRef formatter, CFDateFormatterKey key ); |
CFError.h
Added CFErrorDomain
Modified CFErrorCreate()
Declaration | |
---|---|
From | CFErrorRef CFErrorCreate ( CFAllocatorRef allocator, CFStringRef domain, CFIndex code, CFDictionaryRef userInfo ); |
To | CFErrorRef CFErrorCreate ( CFAllocatorRef allocator, CFErrorDomain domain, CFIndex code, CFDictionaryRef userInfo ); |
Declaration | |
---|---|
From | CFErrorRef CFErrorCreateWithUserInfoKeysAndValues ( CFAllocatorRef allocator, CFStringRef domain, CFIndex code, const void *const *userInfoKeys, const void *const *userInfoValues, CFIndex numUserInfoValues ); |
To | CFErrorRef CFErrorCreateWithUserInfoKeysAndValues ( CFAllocatorRef allocator, CFErrorDomain domain, CFIndex code, const void *const *userInfoKeys, const void *const *userInfoValues, CFIndex numUserInfoValues ); |
Modified CFErrorGetDomain()
Declaration | |
---|---|
From | CFStringRef CFErrorGetDomain ( CFErrorRef err ); |
To | CFErrorDomain CFErrorGetDomain ( CFErrorRef err ); |
CFLocale.h
Declaration | |
---|---|
From | CFStringRef CFLocaleCopyDisplayNameForPropertyValue ( CFLocaleRef displayLocale, CFStringRef key, CFStringRef value ); |
To | CFStringRef CFLocaleCopyDisplayNameForPropertyValue ( CFLocaleRef displayLocale, CFLocaleKey key, CFStringRef value ); |
Modified CFLocaleCreate()
Declaration | |
---|---|
From | CFLocaleRef CFLocaleCreate ( CFAllocatorRef allocator, CFStringRef localeIdentifier ); |
To | CFLocaleRef CFLocaleCreate ( CFAllocatorRef allocator, CFLocaleIdentifier localeIdentifier ); |
Declaration | |
---|---|
From | CFStringRef CFLocaleCreateCanonicalLanguageIdentifierFromString ( CFAllocatorRef allocator, CFStringRef localeIdentifier ); |
To | CFLocaleIdentifier CFLocaleCreateCanonicalLanguageIdentifierFromString ( CFAllocatorRef allocator, CFStringRef localeIdentifier ); |
Declaration | |
---|---|
From | CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes ( CFAllocatorRef allocator, LangCode lcode, RegionCode rcode ); |
To | CFLocaleIdentifier CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes ( CFAllocatorRef allocator, LangCode lcode, RegionCode rcode ); |
Declaration | |
---|---|
From | CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromString ( CFAllocatorRef allocator, CFStringRef localeIdentifier ); |
To | CFLocaleIdentifier CFLocaleCreateCanonicalLocaleIdentifierFromString ( CFAllocatorRef allocator, CFStringRef localeIdentifier ); |
Declaration | |
---|---|
From | CFDictionaryRef CFLocaleCreateComponentsFromLocaleIdentifier ( CFAllocatorRef allocator, CFStringRef localeID ); |
To | CFDictionaryRef CFLocaleCreateComponentsFromLocaleIdentifier ( CFAllocatorRef allocator, CFLocaleIdentifier localeID ); |
Declaration | |
---|---|
From | CFStringRef CFLocaleCreateLocaleIdentifierFromComponents ( CFAllocatorRef allocator, CFDictionaryRef dictionary ); |
To | CFLocaleIdentifier CFLocaleCreateLocaleIdentifierFromComponents ( CFAllocatorRef allocator, CFDictionaryRef dictionary ); |
Declaration | |
---|---|
From | CFStringRef CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode ( CFAllocatorRef allocator, uint32_t lcid ); |
To | CFLocaleIdentifier CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode ( CFAllocatorRef allocator, uint32_t lcid ); |
Modified CFLocaleGetIdentifier()
Declaration | |
---|---|
From | CFStringRef CFLocaleGetIdentifier ( CFLocaleRef locale ); |
To | CFLocaleIdentifier CFLocaleGetIdentifier ( CFLocaleRef locale ); |
Modified CFLocaleGetValue()
Declaration | |
---|---|
From | CFTypeRef CFLocaleGetValue ( CFLocaleRef locale, CFStringRef key ); |
To | CFTypeRef CFLocaleGetValue ( CFLocaleRef locale, CFLocaleKey key ); |
Declaration | |
---|---|
From | uint32_t CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier ( CFStringRef localeIdentifier ); |
To | uint32_t CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier ( CFLocaleIdentifier localeIdentifier ); |
CFNotificationCenter.h
Added CFNotificationName
Declaration | |
---|---|
From | void CFNotificationCenterPostNotification ( CFNotificationCenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediately ); |
To | void CFNotificationCenterPostNotification ( CFNotificationCenterRef center, CFNotificationName name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediately ); |
Declaration | |
---|---|
From | void CFNotificationCenterPostNotificationWithOptions ( CFNotificationCenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, CFOptionFlags options ); |
To | void CFNotificationCenterPostNotificationWithOptions ( CFNotificationCenterRef center, CFNotificationName name, const void *object, CFDictionaryRef userInfo, CFOptionFlags options ); |
Modified CFNotificationCenterRemoveObserver()
Declaration | |
---|---|
From | void CFNotificationCenterRemoveObserver ( CFNotificationCenterRef center, const void *observer, CFStringRef name, const void *object ); |
To | void CFNotificationCenterRemoveObserver ( CFNotificationCenterRef center, const void *observer, CFNotificationName name, const void *object ); |
CFNumberFormatter.h
Added CFNumberFormatterKey
Modified CFNumberFormatterCopyProperty()
Declaration | |
---|---|
From | CFTypeRef CFNumberFormatterCopyProperty ( CFNumberFormatterRef formatter, CFStringRef key ); |
To | CFTypeRef CFNumberFormatterCopyProperty ( CFNumberFormatterRef formatter, CFNumberFormatterKey key ); |
Modified CFNumberFormatterSetProperty()
Declaration | |
---|---|
From | void CFNumberFormatterSetProperty ( CFNumberFormatterRef formatter, CFStringRef key, CFTypeRef value ); |
To | void CFNumberFormatterSetProperty ( CFNumberFormatterRef formatter, CFNumberFormatterKey key, CFTypeRef value ); |
CFRunLoop.h
Added CFRunLoopMode
Modified CFRunLoopAddCommonMode()
Declaration | |
---|---|
From | void CFRunLoopAddCommonMode ( CFRunLoopRef rl, CFStringRef mode ); |
To | void CFRunLoopAddCommonMode ( CFRunLoopRef rl, CFRunLoopMode mode ); |
Modified CFRunLoopAddObserver()
Declaration | |
---|---|
From | void CFRunLoopAddObserver ( CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode ); |
To | void CFRunLoopAddObserver ( CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode ); |
Modified CFRunLoopAddSource()
Declaration | |
---|---|
From | void CFRunLoopAddSource ( CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode ); |
To | void CFRunLoopAddSource ( CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode ); |
Modified CFRunLoopAddTimer()
Declaration | |
---|---|
From | void CFRunLoopAddTimer ( CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode ); |
To | void CFRunLoopAddTimer ( CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode ); |
Modified CFRunLoopContainsObserver()
Declaration | |
---|---|
From | Boolean CFRunLoopContainsObserver ( CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode ); |
To | Boolean CFRunLoopContainsObserver ( CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode ); |
Modified CFRunLoopContainsSource()
Declaration | |
---|---|
From | Boolean CFRunLoopContainsSource ( CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode ); |
To | Boolean CFRunLoopContainsSource ( CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode ); |
Modified CFRunLoopContainsTimer()
Declaration | |
---|---|
From | Boolean CFRunLoopContainsTimer ( CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode ); |
To | Boolean CFRunLoopContainsTimer ( CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode ); |
Modified CFRunLoopCopyCurrentMode()
Declaration | |
---|---|
From | CFStringRef CFRunLoopCopyCurrentMode ( CFRunLoopRef rl ); |
To | CFRunLoopMode CFRunLoopCopyCurrentMode ( CFRunLoopRef rl ); |
Modified CFRunLoopGetNextTimerFireDate()
Declaration | |
---|---|
From | CFAbsoluteTime CFRunLoopGetNextTimerFireDate ( CFRunLoopRef rl, CFStringRef mode ); |
To | CFAbsoluteTime CFRunLoopGetNextTimerFireDate ( CFRunLoopRef rl, CFRunLoopMode mode ); |
Modified CFRunLoopRemoveObserver()
Declaration | |
---|---|
From | void CFRunLoopRemoveObserver ( CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode ); |
To | void CFRunLoopRemoveObserver ( CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode ); |
Modified CFRunLoopRemoveSource()
Declaration | |
---|---|
From | void CFRunLoopRemoveSource ( CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode ); |
To | void CFRunLoopRemoveSource ( CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode ); |
Modified CFRunLoopRemoveTimer()
Declaration | |
---|---|
From | void CFRunLoopRemoveTimer ( CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode ); |
To | void CFRunLoopRemoveTimer ( CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode ); |
Modified CFRunLoopRunInMode()
Declaration | |
---|---|
From | CFRunLoopRunResult CFRunLoopRunInMode ( CFStringRef mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled ); |
To | CFRunLoopRunResult CFRunLoopRunInMode ( CFRunLoopMode mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled ); |
CFStream.h
Added CFStreamPropertyKey
Modified CFReadStreamCopyProperty()
Declaration | |
---|---|
From | CFTypeRef CFReadStreamCopyProperty ( CFReadStreamRef stream, CFStringRef propertyName ); |
To | CFTypeRef CFReadStreamCopyProperty ( CFReadStreamRef stream, CFStreamPropertyKey propertyName ); |
Modified CFReadStreamScheduleWithRunLoop()
Declaration | |
---|---|
From | void CFReadStreamScheduleWithRunLoop ( CFReadStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode ); |
To | void CFReadStreamScheduleWithRunLoop ( CFReadStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode ); |
Modified CFReadStreamSetProperty()
Declaration | |
---|---|
From | Boolean CFReadStreamSetProperty ( CFReadStreamRef stream, CFStringRef propertyName, CFTypeRef propertyValue ); |
To | Boolean CFReadStreamSetProperty ( CFReadStreamRef stream, CFStreamPropertyKey propertyName, CFTypeRef propertyValue ); |
Modified CFReadStreamUnscheduleFromRunLoop()
Declaration | |
---|---|
From | void CFReadStreamUnscheduleFromRunLoop ( CFReadStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode ); |
To | void CFReadStreamUnscheduleFromRunLoop ( CFReadStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode ); |
Modified CFWriteStreamCopyProperty()
Declaration | |
---|---|
From | CFTypeRef CFWriteStreamCopyProperty ( CFWriteStreamRef stream, CFStringRef propertyName ); |
To | CFTypeRef CFWriteStreamCopyProperty ( CFWriteStreamRef stream, CFStreamPropertyKey propertyName ); |
Modified CFWriteStreamScheduleWithRunLoop()
Declaration | |
---|---|
From | void CFWriteStreamScheduleWithRunLoop ( CFWriteStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode ); |
To | void CFWriteStreamScheduleWithRunLoop ( CFWriteStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode ); |
Modified CFWriteStreamSetProperty()
Declaration | |
---|---|
From | Boolean CFWriteStreamSetProperty ( CFWriteStreamRef stream, CFStringRef propertyName, CFTypeRef propertyValue ); |
To | Boolean CFWriteStreamSetProperty ( CFWriteStreamRef stream, CFStreamPropertyKey propertyName, CFTypeRef propertyValue ); |
Modified CFWriteStreamUnscheduleFromRunLoop()
Declaration | |
---|---|
From | void CFWriteStreamUnscheduleFromRunLoop ( CFWriteStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode ); |
To | void CFWriteStreamUnscheduleFromRunLoop ( CFWriteStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode ); |
CFURL.h
Added kCFURLCanonicalPathKey
Modified kCFURLCustomIconKey
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified kCFURLEffectiveIconKey
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified kCFURLLabelColorKey
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |