CoreFoundation Changes for Swift
CoreFoundation
Modified CFAllocator
| Name | Declaration | |
|---|---|---|
| From | CFAllocatorRef | typealias CFAllocatorRef = CFAllocator |
| To | CFAllocator | class CFAllocator {
} |
Modified CFArray
| Name | Declaration | |
|---|---|---|
| From | CFArrayRef | typealias CFArrayRef = CFArray |
| To | CFArray | class CFArray {
} |
Modified CFAttributedString
| Name | Declaration | |
|---|---|---|
| From | CFAttributedStringRef | typealias CFAttributedStringRef = CFAttributedString |
| To | CFAttributedString | class CFAttributedString {
} |
Modified CFBag
| Name | Declaration | |
|---|---|---|
| From | CFBagRef | typealias CFBagRef = CFBag |
| To | CFBag | class CFBag {
} |
Modified CFBinaryHeap
| Name | Declaration | |
|---|---|---|
| From | CFBinaryHeapRef | typealias CFBinaryHeapRef = CFBinaryHeap |
| To | CFBinaryHeap | class CFBinaryHeap {
} |
Modified CFBitVector
| Name | Declaration | |
|---|---|---|
| From | CFBitVectorRef | typealias CFBitVectorRef = CFBitVector |
| To | CFBitVector | class CFBitVector {
} |
Modified CFBoolean
| Name | Declaration | |
|---|---|---|
| From | CFBooleanRef | typealias CFBooleanRef = CFBoolean |
| To | CFBoolean | class CFBoolean {
} |
Modified CFBundle
| Name | Declaration | |
|---|---|---|
| From | CFBundleRef | typealias CFBundleRef = CFBundle |
| To | CFBundle | class CFBundle {
} |
Modified CFCalendar
| Name | Declaration | |
|---|---|---|
| From | CFCalendarRef | typealias CFCalendarRef = CFCalendar |
| To | CFCalendar | class CFCalendar {
} |
Modified CFCharacterSet
| Name | Declaration | |
|---|---|---|
| From | CFCharacterSetRef | typealias CFCharacterSetRef = CFCharacterSet |
| To | CFCharacterSet | class CFCharacterSet {
} |
Modified CFData
| Name | Declaration | |
|---|---|---|
| From | CFDataRef | typealias CFDataRef = CFData |
| To | CFData | class CFData {
} |
Modified CFDate
| Name | Declaration | |
|---|---|---|
| From | CFDateRef | typealias CFDateRef = CFDate |
| To | CFDate | class CFDate {
} |
Modified CFDateFormatter
| Name | Declaration | |
|---|---|---|
| From | CFDateFormatterRef | typealias CFDateFormatterRef = CFDateFormatter |
| To | CFDateFormatter | class CFDateFormatter {
} |
Modified CFDictionary
| Name | Declaration | |
|---|---|---|
| From | CFDictionaryRef | typealias CFDictionaryRef = CFDictionary |
| To | CFDictionary | class CFDictionary {
} |
Modified CFError
| Name | Declaration | Protocols | |
|---|---|---|---|
| From | CFErrorRef | typealias CFErrorRef = CFError | -- |
| To | CFError | class CFError {
}
extension CFError : ErrorType {
} | ErrorType |
Modified CFFileDescriptor
| Name | Declaration | |
|---|---|---|
| From | CFFileDescriptorRef | typealias CFFileDescriptorRef = CFFileDescriptor |
| To | CFFileDescriptor | class CFFileDescriptor {
} |
Modified CFFileSecurity
| Name | Declaration | |
|---|---|---|
| From | CFFileSecurityRef | typealias CFFileSecurityRef = CFFileSecurity |
| To | CFFileSecurity | class CFFileSecurity {
} |
Modified CFLocale
| Name | Declaration | |
|---|---|---|
| From | CFLocaleRef | typealias CFLocaleRef = CFLocale |
| To | CFLocale | class CFLocale {
} |
Modified CFMachPort
| Name | Declaration | |
|---|---|---|
| From | CFMachPortRef | typealias CFMachPortRef = CFMachPort |
| To | CFMachPort | class CFMachPort {
} |
Modified CFMessagePort
| Name | Declaration | |
|---|---|---|
| From | CFMessagePortRef | typealias CFMessagePortRef = CFMessagePort |
| To | CFMessagePort | class CFMessagePort {
} |
Modified CFMutableArray
| Name | Declaration | |
|---|---|---|
| From | CFMutableArrayRef | typealias CFMutableArrayRef = CFMutableArray |
| To | CFMutableArray | class CFMutableArray {
} |
Modified CFMutableAttributedString
| Name | Declaration | |
|---|---|---|
| From | CFMutableAttributedStringRef | typealias CFMutableAttributedStringRef = CFMutableAttributedString |
| To | CFMutableAttributedString | class CFMutableAttributedString {
} |
Modified CFMutableBag
| Name | Declaration | |
|---|---|---|
| From | CFMutableBagRef | typealias CFMutableBagRef = CFMutableBag |
| To | CFMutableBag | class CFMutableBag {
} |
Modified CFMutableBitVector
| Name | Declaration | |
|---|---|---|
| From | CFMutableBitVectorRef | typealias CFMutableBitVectorRef = CFMutableBitVector |
| To | CFMutableBitVector | class CFMutableBitVector {
} |
Modified CFMutableCharacterSet
| Name | Declaration | |
|---|---|---|
| From | CFMutableCharacterSetRef | typealias CFMutableCharacterSetRef = CFMutableCharacterSet |
| To | CFMutableCharacterSet | class CFMutableCharacterSet {
} |
Modified CFMutableData
| Name | Declaration | |
|---|---|---|
| From | CFMutableDataRef | typealias CFMutableDataRef = CFMutableData |
| To | CFMutableData | class CFMutableData {
} |
Modified CFMutableDictionary
| Name | Declaration | |
|---|---|---|
| From | CFMutableDictionaryRef | typealias CFMutableDictionaryRef = CFMutableDictionary |
| To | CFMutableDictionary | class CFMutableDictionary {
} |
Modified CFMutableSet
| Name | Declaration | |
|---|---|---|
| From | CFMutableSetRef | typealias CFMutableSetRef = CFMutableSet |
| To | CFMutableSet | class CFMutableSet {
} |
Modified CFMutableString
| Name | Declaration | |
|---|---|---|
| From | CFMutableStringRef | typealias CFMutableStringRef = CFMutableString |
| To | CFMutableString | class CFMutableString {
} |
Modified CFNotificationCenter
| Name | Declaration | |
|---|---|---|
| From | CFNotificationCenterRef | typealias CFNotificationCenterRef = CFNotificationCenter |
| To | CFNotificationCenter | class CFNotificationCenter {
} |
Modified CFNull
| Name | Declaration | |
|---|---|---|
| From | CFNullRef | typealias CFNullRef = CFNull |
| To | CFNull | class CFNull {
} |
Modified CFNumber
| Name | Declaration | |
|---|---|---|
| From | CFNumberRef | typealias CFNumberRef = CFNumber |
| To | CFNumber | class CFNumber {
} |
Modified CFNumberFormatter
| Name | Declaration | |
|---|---|---|
| From | CFNumberFormatterRef | typealias CFNumberFormatterRef = CFNumberFormatter |
| To | CFNumberFormatter | class CFNumberFormatter {
} |
Modified CFPlugIn
| Name | Declaration | |
|---|---|---|
| From | CFPlugInRef | typealias CFPlugInRef = CFPlugIn |
| To | CFPlugIn | class CFPlugIn {
} |
Modified CFPlugInInstance
| Name | Declaration | |
|---|---|---|
| From | CFPlugInInstanceRef | typealias CFPlugInInstanceRef = CFPlugInInstance |
| To | CFPlugInInstance | class CFPlugInInstance {
} |
Modified CFReadStream
| Name | Declaration | |
|---|---|---|
| From | CFReadStreamRef | typealias CFReadStreamRef = CFReadStream |
| To | CFReadStream | class CFReadStream {
} |
Modified CFRunLoop
| Name | Declaration | |
|---|---|---|
| From | CFRunLoopRef | typealias CFRunLoopRef = CFRunLoop |
| To | CFRunLoop | class CFRunLoop {
} |
Modified CFRunLoopObserver
| Name | Declaration | |
|---|---|---|
| From | CFRunLoopObserverRef | typealias CFRunLoopObserverRef = CFRunLoopObserver |
| To | CFRunLoopObserver | class CFRunLoopObserver {
} |
Modified CFRunLoopSource
| Name | Declaration | |
|---|---|---|
| From | CFRunLoopSourceRef | typealias CFRunLoopSourceRef = CFRunLoopSource |
| To | CFRunLoopSource | class CFRunLoopSource {
} |
Modified CFRunLoopTimer
| Name | Declaration | |
|---|---|---|
| From | CFRunLoopTimerRef | typealias CFRunLoopTimerRef = CFRunLoopTimer |
| To | CFRunLoopTimer | class CFRunLoopTimer {
} |
Modified CFSet
| Name | Declaration | |
|---|---|---|
| From | CFSetRef | typealias CFSetRef = CFSet |
| To | CFSet | class CFSet {
} |
Modified CFSocket
| Name | Declaration | |
|---|---|---|
| From | CFSocketRef | typealias CFSocketRef = CFSocket |
| To | CFSocket | class CFSocket {
} |
Modified CFSocketSignature [struct]
| Declaration | |
|---|---|
| From | struct CFSocketSignature {
var protocolFamily: Int32
var socketType: Int32
var `protocol`: Int32
var address: Unmanaged<CFData>!
init()
init(protocolFamily protocolFamily: Int32, socketType socketType: Int32, `protocol` `protocol`: Int32, address address: Unmanaged<CFData>!)
} |
| To | struct CFSocketSignature {
var protocolFamily: Int32
var socketType: Int32
var `protocol`: Int32
var address: Unmanaged<CFData>!
init()
init(protocolFamily protocolFamily: Int32, socketType socketType: Int32, protocol protocol: Int32, address address: Unmanaged<CFData>!)
} |
| Declaration | |
|---|---|
| From | init(protocolFamily protocolFamily: Int32, socketType socketType: Int32, `protocol` `protocol`: Int32, address address: Unmanaged<CFData>!) |
| To | init(protocolFamily protocolFamily: Int32, socketType socketType: Int32, protocol protocol: Int32, address address: Unmanaged<CFData>!) |
Modified CFString
| Name | Declaration | |
|---|---|---|
| From | CFStringRef | typealias CFStringRef = CFString |
| To | CFString | class CFString {
} |
Modified CFStringTokenizer
| Name | Declaration | |
|---|---|---|
| From | CFStringTokenizerRef | typealias CFStringTokenizerRef = CFStringTokenizer |
| To | CFStringTokenizer | class CFStringTokenizer {
} |
Modified CFTimeZone
| Name | Declaration | |
|---|---|---|
| From | CFTimeZoneRef | typealias CFTimeZoneRef = CFTimeZone |
| To | CFTimeZone | class CFTimeZone {
} |
Modified CFTree
| Name | Declaration | |
|---|---|---|
| From | CFTreeRef | typealias CFTreeRef = CFTree |
| To | CFTree | class CFTree {
} |
Modified CFURL
| Name | Declaration | |
|---|---|---|
| From | CFURLRef | typealias CFURLRef = CFURL |
| To | CFURL | class CFURL {
} |
Modified CFURLEnumerator
| Name | Declaration | |
|---|---|---|
| From | CFURLEnumeratorRef | typealias CFURLEnumeratorRef = CFURLEnumerator |
| To | CFURLEnumerator | class CFURLEnumerator {
} |
Modified CFUUID
| Name | Declaration | |
|---|---|---|
| From | CFUUIDRef | typealias CFUUIDRef = CFUUID |
| To | CFUUID | class CFUUID {
} |
Modified CFWriteStream
| Name | Declaration | |
|---|---|---|
| From | CFWriteStreamRef | typealias CFWriteStreamRef = CFWriteStream |
| To | CFWriteStream | class CFWriteStream {
} |
| Declaration | |
|---|---|
| From | func CFPlugInRegisterFactoryFunction(_ factoryUUID: CFUUID!, _ `func`: CFPlugInFactoryFunction!) -> Bool |
| To | func CFPlugInRegisterFactoryFunction(_ factoryUUID: CFUUID!, _ func: CFPlugInFactoryFunction!) -> Bool |
| Declaration | |
|---|---|
| From | func CFSocketCreate(_ allocator: CFAllocator!, _ protocolFamily: Int32, _ socketType: Int32, _ `protocol`: Int32, _ callBackTypes: CFOptionFlags, _ callout: CFSocketCallBack!, _ context: UnsafePointer<CFSocketContext>) -> CFSocket! |
| To | func CFSocketCreate(_ allocator: CFAllocator!, _ protocolFamily: Int32, _ socketType: Int32, _ protocol: Int32, _ callBackTypes: CFOptionFlags, _ callout: CFSocketCallBack!, _ context: UnsafePointer<CFSocketContext>) -> CFSocket! |
| Declaration | |
|---|---|
| From | func CFURLCreateCopyAppendingPathExtension(_ allocator: CFAllocator!, _ url: CFURL!, _ `extension`: CFString!) -> CFURL! |
| To | func CFURLCreateCopyAppendingPathExtension(_ allocator: CFAllocator!, _ url: CFURL!, _ extension: CFString!) -> CFURL! |