Documentation Archive Developer
Search

CFNetwork Changes

CFNetwork

Removed CFNetServiceBrowserFlags.IsRegistrationDomain
Added CFHostClientContext.init()
Added CFHostClientContext.init(version: CFIndex, info: UnsafeMutablePointer<Void>, retain: CFAllocatorRetainCallBack, release: CFAllocatorReleaseCallBack, copyDescription: CFAllocatorCopyDescriptionCallBack)
Added CFNetServiceClientContext.init()
Added CFNetServiceClientContext.init(version: CFIndex, info: UnsafeMutablePointer<Void>, retain: CFAllocatorRetainCallBack, release: CFAllocatorReleaseCallBack, copyDescription: CFAllocatorCopyDescriptionCallBack)
Modified CFHostClientContext [struct]
Declaration
From
struct CFHostClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack
    var release: CFAllocatorReleaseCallBack
    var copyDescription: CFAllocatorCopyDescriptionCallBack
}
To
struct CFHostClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack
    var release: CFAllocatorReleaseCallBack
    var copyDescription: CFAllocatorCopyDescriptionCallBack
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: CFAllocatorRetainCallBack, release release: CFAllocatorReleaseCallBack, copyDescription copyDescription: CFAllocatorCopyDescriptionCallBack)
}

Modified CFNetServiceClientContext [struct]
Declaration
From
struct CFNetServiceClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack
    var release: CFAllocatorReleaseCallBack
    var copyDescription: CFAllocatorCopyDescriptionCallBack
}
To
struct CFNetServiceClientContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: CFAllocatorRetainCallBack
    var release: CFAllocatorReleaseCallBack
    var copyDescription: CFAllocatorCopyDescriptionCallBack
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: CFAllocatorRetainCallBack, release release: CFAllocatorReleaseCallBack, copyDescription copyDescription: CFAllocatorCopyDescriptionCallBack)
}