CoreWLAN Changes for Swift
CoreWLAN
Removed CWCipherKeyFlags.init(_: UInt)
Modified CWChannel
| Declaration | |
|---|---|
| From | class CWChannel : NSObject, NSCopying, NSSecureCoding, NSCoding {
var channelNumber: Int { get }
var channelWidth: CWChannelWidth { get }
var channelBand: CWChannelBand { get }
func isEqualToChannel(_ channel: CWChannel!) -> Bool
} |
| To | class CWChannel : NSObject, NSCopying, NSSecureCoding, NSCoding {
var channelNumber: Int { get }
var channelWidth: CWChannelWidth { get }
var channelBand: CWChannelBand { get }
func isEqualToChannel(_ channel: CWChannel) -> Bool
} |
| Declaration | |
|---|---|
| From | func isEqualToChannel(_ channel: CWChannel!) -> Bool |
| To | func isEqualToChannel(_ channel: CWChannel) -> Bool |
Modified CWChannelBand [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWChannelWidth [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWCipherKeyFlags [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct CWCipherKeyFlags : RawOptionSetType {
init(_ rawValue: UInt)
init(rawValue rawValue: UInt)
static var None: CWCipherKeyFlags { get }
static var Unicast: CWCipherKeyFlags { get }
static var Multicast: CWCipherKeyFlags { get }
static var Tx: CWCipherKeyFlags { get }
static var Rx: CWCipherKeyFlags { get }
} | RawOptionSetType |
| To | struct CWCipherKeyFlags : OptionSetType {
init(rawValue rawValue: UInt)
static var None: CWCipherKeyFlags { get }
static var Unicast: CWCipherKeyFlags { get }
static var Multicast: CWCipherKeyFlags { get }
static var Tx: CWCipherKeyFlags { get }
static var Rx: CWCipherKeyFlags { get }
} | OptionSetType |
Modified CWConfiguration
| Declaration | |
|---|---|
| From | class CWConfiguration : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
@NSCopying var networkProfiles: NSOrderedSet! { get }
var requireAdministratorForAssociation: Bool { get }
var requireAdministratorForPower: Bool { get }
var requireAdministratorForIBSSMode: Bool { get }
var rememberJoinedNetworks: Bool { get }
convenience init!()
class func configuration() -> Self!
init!()
init!(configuration configuration: CWConfiguration!)
class func configurationWithConfiguration(_ configuration: CWConfiguration!) -> Self!
func isEqualToConfiguration(_ configuration: CWConfiguration!) -> Bool
} |
| To | class CWConfiguration : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
@NSCopying var networkProfiles: NSOrderedSet { get }
var requireAdministratorForAssociation: Bool { get }
var requireAdministratorForPower: Bool { get }
var requireAdministratorForIBSSMode: Bool { get }
var rememberJoinedNetworks: Bool { get }
convenience init()
class func configuration() -> Self
init()
init(configuration configuration: CWConfiguration)
class func configurationWithConfiguration(_ configuration: CWConfiguration) -> Self
func isEqualToConfiguration(_ configuration: CWConfiguration) -> Bool
} |
Modified CWConfiguration.init()
| Declaration | |
|---|---|
| From | init!() |
| To | init() |
| Declaration | |
|---|---|
| From | init!(configuration configuration: CWConfiguration!) |
| To | init(configuration configuration: CWConfiguration) |
| Declaration | |
|---|---|
| From | func isEqualToConfiguration(_ configuration: CWConfiguration!) -> Bool |
| To | func isEqualToConfiguration(_ configuration: CWConfiguration) -> Bool |
Modified CWConfiguration.networkProfiles
| Declaration | |
|---|---|
| From | @NSCopying var networkProfiles: NSOrderedSet! { get } |
| To | @NSCopying var networkProfiles: NSOrderedSet { get } |
Modified CWErr [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWEventDelegate
| Declaration | |
|---|---|
| From | protocol CWEventDelegate {
optional func clientConnectionInterrupted()
optional func clientConnectionInvalidated()
optional func powerStateDidChangeForWiFiInterfaceWithName(_ interfaceName: String!)
optional func ssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String!)
optional func bssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String!)
optional func countryCodeDidChangeForWiFiInterfaceWithName(_ interfaceName: String!)
optional func linkDidChangeForWiFiInterfaceWithName(_ interfaceName: String!)
optional func linkQualityDidChangeForWiFiInterfaceWithName(_ interfaceName: String!, rssi rssi: Int, transmitRate transmitRate: Double)
optional func modeDidChangeForWiFiInterfaceWithName(_ interfaceName: String!)
optional func scanCacheUpdatedForWiFiInterfaceWithName(_ interfaceName: String!)
} |
| To | protocol CWEventDelegate {
optional func clientConnectionInterrupted()
optional func clientConnectionInvalidated()
optional func powerStateDidChangeForWiFiInterfaceWithName(_ interfaceName: String)
optional func ssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String)
optional func bssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String)
optional func countryCodeDidChangeForWiFiInterfaceWithName(_ interfaceName: String)
optional func linkDidChangeForWiFiInterfaceWithName(_ interfaceName: String)
optional func linkQualityDidChangeForWiFiInterfaceWithName(_ interfaceName: String, rssi rssi: Int, transmitRate transmitRate: Double)
optional func modeDidChangeForWiFiInterfaceWithName(_ interfaceName: String)
optional func scanCacheUpdatedForWiFiInterfaceWithName(_ interfaceName: String)
} |
| Declaration | |
|---|---|
| From | optional func bssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String!) |
| To | optional func bssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String) |
| Declaration | |
|---|---|
| From | optional func countryCodeDidChangeForWiFiInterfaceWithName(_ interfaceName: String!) |
| To | optional func countryCodeDidChangeForWiFiInterfaceWithName(_ interfaceName: String) |
| Declaration | |
|---|---|
| From | optional func linkDidChangeForWiFiInterfaceWithName(_ interfaceName: String!) |
| To | optional func linkDidChangeForWiFiInterfaceWithName(_ interfaceName: String) |
| Declaration | |
|---|---|
| From | optional func linkQualityDidChangeForWiFiInterfaceWithName(_ interfaceName: String!, rssi rssi: Int, transmitRate transmitRate: Double) |
| To | optional func linkQualityDidChangeForWiFiInterfaceWithName(_ interfaceName: String, rssi rssi: Int, transmitRate transmitRate: Double) |
| Declaration | |
|---|---|
| From | optional func modeDidChangeForWiFiInterfaceWithName(_ interfaceName: String!) |
| To | optional func modeDidChangeForWiFiInterfaceWithName(_ interfaceName: String) |
| Declaration | |
|---|---|
| From | optional func powerStateDidChangeForWiFiInterfaceWithName(_ interfaceName: String!) |
| To | optional func powerStateDidChangeForWiFiInterfaceWithName(_ interfaceName: String) |
| Declaration | |
|---|---|
| From | optional func scanCacheUpdatedForWiFiInterfaceWithName(_ interfaceName: String!) |
| To | optional func scanCacheUpdatedForWiFiInterfaceWithName(_ interfaceName: String) |
| Declaration | |
|---|---|
| From | optional func ssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String!) |
| To | optional func ssidDidChangeForWiFiInterfaceWithName(_ interfaceName: String) |
Modified CWEventType [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWIBSSModeSecurity [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWInterface
| Declaration | |
|---|---|
| From | class CWInterface : NSObject {
var interfaceName: String! { get }
func powerOn() -> Bool
func supportedWLANChannels() -> Set<NSObject>!
func wlanChannel() -> CWChannel!
func activePHYMode() -> CWPHYMode
func ssid() -> String!
func ssidData() -> NSData!
func bssid() -> String!
func rssiValue() -> Int
func noiseMeasurement() -> Int
func security() -> CWSecurity
func transmitRate() -> Double
func countryCode() -> String!
func interfaceMode() -> CWInterfaceMode
func transmitPower() -> Int
func hardwareAddress() -> String!
func serviceActive() -> Bool
func cachedScanResults() -> Set<NSObject>!
func configuration() -> CWConfiguration!
class func interfaceNames() -> Set<NSObject>!
convenience init!()
class func interface() -> Self!
convenience init!(name name: String!)
class func interfaceWithName(_ name: String!) -> Self!
init!(interfaceName name: String!)
func setPower(_ power: Bool, error error: NSErrorPointer) -> Bool
func setWLANChannel(_ channel: CWChannel!, error error: NSErrorPointer) -> Bool
func setPairwiseMasterKey(_ key: NSData!, error error: NSErrorPointer) -> Bool
func setWEPKey(_ key: NSData!, flags flags: CWCipherKeyFlags, index index: Int, error error: NSErrorPointer) -> Bool
func scanForNetworksWithSSID(_ ssid: NSData!, error error: NSErrorPointer) -> Set<NSObject>!
func scanForNetworksWithName(_ networkName: String!, error error: NSErrorPointer) -> Set<NSObject>!
func associateToNetwork(_ network: CWNetwork!, password password: String!, error error: NSErrorPointer) -> Bool
func disassociate()
func associateToEnterpriseNetwork(_ network: CWNetwork!, identity identity: SecIdentity!, username username: String!, password password: String!, error error: NSErrorPointer) -> Bool
func startIBSSModeWithSSID(_ ssidData: NSData!, security security: CWIBSSModeSecurity, channel channel: Int, password password: String!, error error: NSErrorPointer) -> Bool
func commitConfiguration(_ configuration: CWConfiguration!, authorization authorization: SFAuthorization!, error error: NSErrorPointer) -> Bool
} |
| To | class CWInterface : NSObject {
var interfaceName: String? { get }
func powerOn() -> Bool
func supportedWLANChannels() -> Set<CWChannel>?
func wlanChannel() -> CWChannel?
func activePHYMode() -> CWPHYMode
func ssid() -> String?
func ssidData() -> NSData?
func bssid() -> String?
func rssiValue() -> Int
func noiseMeasurement() -> Int
func security() -> CWSecurity
func transmitRate() -> Double
func countryCode() -> String?
func interfaceMode() -> CWInterfaceMode
func transmitPower() -> Int
func hardwareAddress() -> String?
func serviceActive() -> Bool
func cachedScanResults() -> Set<CWNetwork>?
func configuration() -> CWConfiguration?
class func interfaceNames() -> Set<String>?
convenience init()
class func interface() -> Self
convenience init(name name: String)
class func interfaceWithName(_ name: String) -> Self
init(interfaceName name: String)
func setPower(_ power: Bool) throws
func setWLANChannel(_ channel: CWChannel) throws
func setPairwiseMasterKey(_ key: NSData?) throws
func setWEPKey(_ key: NSData?, flags flags: CWCipherKeyFlags, index index: Int) throws
func scanForNetworksWithSSID(_ ssid: NSData?) throws -> Set<CWNetwork>
func scanForNetworksWithName(_ networkName: String?) throws -> Set<CWNetwork>
func associateToNetwork(_ network: CWNetwork, password password: String?) throws
func disassociate()
func associateToEnterpriseNetwork(_ network: CWNetwork, identity identity: SecIdentity?, username username: String?, password password: String?) throws
func startIBSSModeWithSSID(_ ssidData: NSData, security security: CWIBSSModeSecurity, channel channel: Int, password password: String?) throws
func commitConfiguration(_ configuration: CWConfiguration, authorization authorization: SFAuthorization?) throws
} |
| Declaration | |
|---|---|
| From | func associateToEnterpriseNetwork(_ network: CWNetwork!, identity identity: SecIdentity!, username username: String!, password password: String!, error error: NSErrorPointer) -> Bool |
| To | func associateToEnterpriseNetwork(_ network: CWNetwork, identity identity: SecIdentity?, username username: String?, password password: String?) throws |
| Declaration | |
|---|---|
| From | func associateToNetwork(_ network: CWNetwork!, password password: String!, error error: NSErrorPointer) -> Bool |
| To | func associateToNetwork(_ network: CWNetwork, password password: String?) throws |
Modified CWInterface.bssid() -> String?
| Declaration | |
|---|---|
| From | func bssid() -> String! |
| To | func bssid() -> String? |
| Declaration | |
|---|---|
| From | func cachedScanResults() -> Set<NSObject>! |
| To | func cachedScanResults() -> Set<CWNetwork>? |
Modified CWInterface.commitConfiguration(_: CWConfiguration, authorization: SFAuthorization?) throws
| Declaration | |
|---|---|
| From | func commitConfiguration(_ configuration: CWConfiguration!, authorization authorization: SFAuthorization!, error error: NSErrorPointer) -> Bool |
| To | func commitConfiguration(_ configuration: CWConfiguration, authorization authorization: SFAuthorization?) throws |
| Declaration | |
|---|---|
| From | func configuration() -> CWConfiguration! |
| To | func configuration() -> CWConfiguration? |
Modified CWInterface.countryCode() -> String?
| Declaration | |
|---|---|
| From | func countryCode() -> String! |
| To | func countryCode() -> String? |
| Declaration | |
|---|---|
| From | func hardwareAddress() -> String! |
| To | func hardwareAddress() -> String? |
| Declaration | |
|---|---|
| From | init!(interfaceName name: String!) |
| To | init(interfaceName name: String) |
Modified CWInterface.init(name: String)
| Declaration | |
|---|---|
| From | convenience init!(name name: String!) |
| To | convenience init(name name: String) |
Modified CWInterface.interfaceName
| Declaration | |
|---|---|
| From | var interfaceName: String! { get } |
| To | var interfaceName: String? { get } |
| Declaration | |
|---|---|
| From | class func interfaceNames() -> Set<NSObject>! |
| To | class func interfaceNames() -> Set<String>? |
| Declaration | |
|---|---|
| From | func scanForNetworksWithName(_ networkName: String!, error error: NSErrorPointer) -> Set<NSObject>! |
| To | func scanForNetworksWithName(_ networkName: String?) throws -> Set<CWNetwork> |
| Declaration | |
|---|---|
| From | func scanForNetworksWithSSID(_ ssid: NSData!, error error: NSErrorPointer) -> Set<NSObject>! |
| To | func scanForNetworksWithSSID(_ ssid: NSData?) throws -> Set<CWNetwork> |
| Declaration | |
|---|---|
| From | func setPairwiseMasterKey(_ key: NSData!, error error: NSErrorPointer) -> Bool |
| To | func setPairwiseMasterKey(_ key: NSData?) throws |
Modified CWInterface.setPower(_: Bool) throws
| Declaration | |
|---|---|
| From | func setPower(_ power: Bool, error error: NSErrorPointer) -> Bool |
| To | func setPower(_ power: Bool) throws |
| Declaration | |
|---|---|
| From | func setWEPKey(_ key: NSData!, flags flags: CWCipherKeyFlags, index index: Int, error error: NSErrorPointer) -> Bool |
| To | func setWEPKey(_ key: NSData?, flags flags: CWCipherKeyFlags, index index: Int) throws |
| Declaration | |
|---|---|
| From | func setWLANChannel(_ channel: CWChannel!, error error: NSErrorPointer) -> Bool |
| To | func setWLANChannel(_ channel: CWChannel) throws |
Modified CWInterface.ssid() -> String?
| Declaration | |
|---|---|
| From | func ssid() -> String! |
| To | func ssid() -> String? |
Modified CWInterface.ssidData() -> NSData?
| Declaration | |
|---|---|
| From | func ssidData() -> NSData! |
| To | func ssidData() -> NSData? |
| Declaration | |
|---|---|
| From | func startIBSSModeWithSSID(_ ssidData: NSData!, security security: CWIBSSModeSecurity, channel channel: Int, password password: String!, error error: NSErrorPointer) -> Bool |
| To | func startIBSSModeWithSSID(_ ssidData: NSData, security security: CWIBSSModeSecurity, channel channel: Int, password password: String?) throws |
| Declaration | |
|---|---|
| From | func supportedWLANChannels() -> Set<NSObject>! |
| To | func supportedWLANChannels() -> Set<CWChannel>? |
| Declaration | |
|---|---|
| From | func wlanChannel() -> CWChannel! |
| To | func wlanChannel() -> CWChannel? |
Modified CWInterfaceMode [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWKeychainDomain [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWMutableConfiguration
| Declaration | |
|---|---|
| From | class CWMutableConfiguration : CWConfiguration {
@NSCopying var networkProfiles: NSOrderedSet!
var requireAdministratorForAssociation: Bool
var requireAdministratorForPower: Bool
var requireAdministratorForIBSSMode: Bool
var rememberJoinedNetworks: Bool
} |
| To | class CWMutableConfiguration : CWConfiguration {
@NSCopying var networkProfiles: NSOrderedSet
var requireAdministratorForAssociation: Bool
var requireAdministratorForPower: Bool
var requireAdministratorForIBSSMode: Bool
var rememberJoinedNetworks: Bool
} |
| Declaration | |
|---|---|
| From | @NSCopying var networkProfiles: NSOrderedSet! |
| To | @NSCopying var networkProfiles: NSOrderedSet |
Modified CWMutableNetworkProfile
| Declaration | |
|---|---|
| From | class CWMutableNetworkProfile : CWNetworkProfile {
@NSCopying var ssidData: NSData!
var security: CWSecurity
} |
| To | class CWMutableNetworkProfile : CWNetworkProfile {
@NSCopying var ssidData: NSData
var security: CWSecurity
} |
Modified CWMutableNetworkProfile.ssidData
| Declaration | |
|---|---|
| From | @NSCopying var ssidData: NSData! |
| To | @NSCopying var ssidData: NSData |
Modified CWNetwork
| Declaration | |
|---|---|
| From | class CWNetwork : NSObject, NSCopying, NSSecureCoding, NSCoding {
var ssid: String! { get }
var ssidData: NSData! { get }
var bssid: String! { get }
var wlanChannel: CWChannel! { get }
var rssiValue: Int { get }
var noiseMeasurement: Int { get }
var informationElementData: NSData! { get }
var countryCode: String! { get }
var beaconInterval: Int { get }
var ibss: Bool { get }
func isEqualToNetwork(_ network: CWNetwork!) -> Bool
func supportsSecurity(_ security: CWSecurity) -> Bool
func supportsPHYMode(_ phyMode: CWPHYMode) -> Bool
} |
| To | class CWNetwork : NSObject, NSCopying, NSSecureCoding, NSCoding {
var ssid: String? { get }
var ssidData: NSData? { get }
var bssid: String? { get }
var wlanChannel: CWChannel { get }
var rssiValue: Int { get }
var noiseMeasurement: Int { get }
var informationElementData: NSData? { get }
var countryCode: String? { get }
var beaconInterval: Int { get }
var ibss: Bool { get }
func isEqualToNetwork(_ network: CWNetwork) -> Bool
func supportsSecurity(_ security: CWSecurity) -> Bool
func supportsPHYMode(_ phyMode: CWPHYMode) -> Bool
} |
Modified CWNetwork.bssid
| Declaration | |
|---|---|
| From | var bssid: String! { get } |
| To | var bssid: String? { get } |
Modified CWNetwork.countryCode
| Declaration | |
|---|---|
| From | var countryCode: String! { get } |
| To | var countryCode: String? { get } |
Modified CWNetwork.informationElementData
| Declaration | |
|---|---|
| From | var informationElementData: NSData! { get } |
| To | var informationElementData: NSData? { get } |
| Declaration | |
|---|---|
| From | func isEqualToNetwork(_ network: CWNetwork!) -> Bool |
| To | func isEqualToNetwork(_ network: CWNetwork) -> Bool |
Modified CWNetwork.ssid
| Declaration | |
|---|---|
| From | var ssid: String! { get } |
| To | var ssid: String? { get } |
Modified CWNetwork.ssidData
| Declaration | |
|---|---|
| From | var ssidData: NSData! { get } |
| To | var ssidData: NSData? { get } |
Modified CWNetwork.wlanChannel
| Declaration | |
|---|---|
| From | var wlanChannel: CWChannel! { get } |
| To | var wlanChannel: CWChannel { get } |
Modified CWNetworkProfile
| Declaration | |
|---|---|
| From | class CWNetworkProfile : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
var ssid: String! { get }
@NSCopying var ssidData: NSData! { get }
var security: CWSecurity { get }
convenience init!()
class func networkProfile() -> Self!
init!()
init!(networkProfile networkProfile: CWNetworkProfile!)
class func networkProfileWithNetworkProfile(_ networkProfile: CWNetworkProfile!) -> Self!
func isEqualToNetworkProfile(_ networkProfile: CWNetworkProfile!) -> Bool
} |
| To | class CWNetworkProfile : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
var ssid: String? { get }
@NSCopying var ssidData: NSData? { get }
var security: CWSecurity { get }
convenience init()
class func networkProfile() -> Self
init()
init(networkProfile networkProfile: CWNetworkProfile)
class func networkProfileWithNetworkProfile(_ networkProfile: CWNetworkProfile) -> Self
func isEqualToNetworkProfile(_ networkProfile: CWNetworkProfile) -> Bool
} |
Modified CWNetworkProfile.init()
| Declaration | |
|---|---|
| From | init!() |
| To | init() |
| Declaration | |
|---|---|
| From | init!(networkProfile networkProfile: CWNetworkProfile!) |
| To | init(networkProfile networkProfile: CWNetworkProfile) |
| Declaration | |
|---|---|
| From | func isEqualToNetworkProfile(_ networkProfile: CWNetworkProfile!) -> Bool |
| To | func isEqualToNetworkProfile(_ networkProfile: CWNetworkProfile) -> Bool |
Modified CWNetworkProfile.ssid
| Declaration | |
|---|---|
| From | var ssid: String! { get } |
| To | var ssid: String? { get } |
Modified CWNetworkProfile.ssidData
| Declaration | |
|---|---|
| From | @NSCopying var ssidData: NSData! { get } |
| To | @NSCopying var ssidData: NSData? { get } |
Modified CWPHYMode [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWSecurity [enum]
| Raw Value Type | |
|---|---|
| From | -- |
| To | Int |
Modified CWWiFiClient
| Declaration | |
|---|---|
| From | class CWWiFiClient : NSObject {
weak var delegate: AnyObject!
class func sharedWiFiClient() -> CWWiFiClient!
init!()
func interface() -> CWInterface!
class func interfaceNames() -> [AnyObject]!
func interfaceWithName(_ interfaceName: String!) -> CWInterface!
func interfaces() -> [AnyObject]!
func startMonitoringEventWithType(_ type: CWEventType, error error: NSErrorPointer) -> Bool
func stopMonitoringEventWithType(_ type: CWEventType, error error: NSErrorPointer) -> Bool
func stopMonitoringAllEventsAndReturnError(_ error: NSErrorPointer) -> Bool
} |
| To | class CWWiFiClient : NSObject {
weak var delegate: AnyObject?
class func sharedWiFiClient() -> CWWiFiClient
init?()
func interface() -> CWInterface?
class func interfaceNames() -> [String]?
func interfaceWithName(_ interfaceName: String?) -> CWInterface?
func interfaces() -> [CWInterface]?
func startMonitoringEventWithType(_ type: CWEventType) throws
func stopMonitoringEventWithType(_ type: CWEventType) throws
func stopMonitoringAllEvents() throws
} |
Modified CWWiFiClient.delegate
| Declaration | |
|---|---|
| From | weak var delegate: AnyObject! |
| To | weak var delegate: AnyObject? |
Modified CWWiFiClient.init()
| Declaration | |
|---|---|
| From | init!() |
| To | init?() |
| Declaration | |
|---|---|
| From | func interface() -> CWInterface! |
| To | func interface() -> CWInterface? |
| Declaration | |
|---|---|
| From | class func interfaceNames() -> [AnyObject]! |
| To | class func interfaceNames() -> [String]? |
| Declaration | |
|---|---|
| From | func interfaces() -> [AnyObject]! |
| To | func interfaces() -> [CWInterface]? |
| Declaration | |
|---|---|
| From | func interfaceWithName(_ interfaceName: String!) -> CWInterface! |
| To | func interfaceWithName(_ interfaceName: String?) -> CWInterface? |
| Declaration | |
|---|---|
| From | class func sharedWiFiClient() -> CWWiFiClient! |
| To | class func sharedWiFiClient() -> CWWiFiClient |
| Declaration | |
|---|---|
| From | func startMonitoringEventWithType(_ type: CWEventType, error error: NSErrorPointer) -> Bool |
| To | func startMonitoringEventWithType(_ type: CWEventType) throws |
| Declaration | |
|---|---|
| From | func stopMonitoringAllEventsAndReturnError(_ error: NSErrorPointer) -> Bool |
| To | func stopMonitoringAllEvents() throws |
| Declaration | |
|---|---|
| From | func stopMonitoringEventWithType(_ type: CWEventType, error error: NSErrorPointer) -> Bool |
| To | func stopMonitoringEventWithType(_ type: CWEventType) throws |
| Declaration | |
|---|---|
| From | func CWKeychainCopyWiFiEAPIdentity(_ domain: CWKeychainDomain, _ ssid: NSData!, _ identity: UnsafeMutablePointer<Unmanaged<SecIdentity>?>) -> OSStatus |
| To | func CWKeychainCopyWiFiEAPIdentity(_ domain: CWKeychainDomain, _ ssid: NSData, _ identity: UnsafeMutablePointer<Unmanaged<SecIdentity>?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWKeychainDeleteWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData!) -> OSStatus |
| To | func CWKeychainDeleteWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWKeychainDeleteWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData!) -> OSStatus |
| To | func CWKeychainDeleteWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWKeychainFindWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ username: AutoreleasingUnsafeMutablePointer<NSString?>, _ password: AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus |
| To | func CWKeychainFindWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData, _ username: AutoreleasingUnsafeMutablePointer<NSString?>, _ password: AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWKeychainFindWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ password: AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus |
| To | func CWKeychainFindWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData, _ password: AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWKeychainSetWiFiEAPIdentity(_ domain: CWKeychainDomain, _ ssid: NSData!, _ identity: SecIdentity!) -> OSStatus |
| To | func CWKeychainSetWiFiEAPIdentity(_ domain: CWKeychainDomain, _ ssid: NSData, _ identity: SecIdentity?) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWKeychainSetWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ username: String!, _ password: String!) -> OSStatus |
| To | func CWKeychainSetWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData, _ username: String?, _ password: String?) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWKeychainSetWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ password: String!) -> OSStatus |
| To | func CWKeychainSetWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData, _ password: String) -> OSStatus |
| Declaration | |
|---|---|
| From | func CWMergeNetworks(_ networks: Set<NSObject>!) -> Set<NSObject>! |
| To | func CWMergeNetworks(_ networks: Set<CWNetwork>) -> Set<CWNetwork> |