Documentation Archive Developer
Search

CoreWLAN Changes

CoreWLAN

Removed CWCipherKeyFlags.value
Removed CWConfiguration.configurationWithConfiguration(CWConfiguration!) -> Self! [class]
Removed CWNetworkProfile.networkProfileWithNetworkProfile(CWNetworkProfile!) -> Self! [class]
Added CWCipherKeyFlags.init(rawValue: UInt)
Added CWInterface.commitConfiguration(CWConfiguration!, authorization: SFAuthorization!, error: NSErrorPointer) -> Bool
Modified CWChannel
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWChannel.channelBand
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWChannel.channelNumber
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWChannel.channelWidth
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWChannel.isEqualToChannel(CWChannel!) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWChannelBand [enum]
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWChannelWidth [enum]
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWCipherKeyFlags [struct]
DeclarationProtocolsIntroduction
From
struct CWCipherKeyFlags : RawOptionSet {
    init(_ value: UInt)
    var value: 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 }
}
RawOptionSetOS X 10.10
To
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 }
}
RawOptionSetTypeOS X 10.7

Modified CWCipherKeyFlags.init(_: UInt)
Declaration
From
init(_ value: UInt)
To
init(_ rawValue: UInt)

Modified CWConfiguration
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWConfiguration.init()
DeclarationIntroduction
From
init()
OS X 10.10
To
init!()
OS X 10.6

Modified CWConfiguration.init(configuration: CWConfiguration!)
DeclarationIntroduction
From
init(configuration configuration: CWConfiguration!)
OS X 10.10
To
init!(configuration configuration: CWConfiguration!)
OS X 10.7

Modified CWConfiguration.isEqualToConfiguration(CWConfiguration!) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWConfiguration.networkProfiles
DeclarationIntroduction
From
var networkProfiles: NSOrderedSet! { get }
OS X 10.10
To
@NSCopying var networkProfiles: NSOrderedSet! { get }
OS X 10.7

Modified CWConfiguration.rememberJoinedNetworks
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWConfiguration.requireAdministratorForAssociation
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWConfiguration.requireAdministratorForIBSSMode
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWConfiguration.requireAdministratorForPower
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWErr [enum]
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWEventDelegate.bssidDidChangeForWiFiInterfaceWithName(String!)
Optional
From--
Toyes

Modified CWEventDelegate.clientConnectionInterrupted()
Optional
From--
Toyes

Modified CWEventDelegate.clientConnectionInvalidated()
Optional
From--
Toyes

Modified CWEventDelegate.countryCodeDidChangeForWiFiInterfaceWithName(String!)
Optional
From--
Toyes

Modified CWEventDelegate.linkDidChangeForWiFiInterfaceWithName(String!)
Optional
From--
Toyes

Modified CWEventDelegate.linkQualityDidChangeForWiFiInterfaceWithName(String!, rssi: Int, transmitRate: Double)
Optional
From--
Toyes

Modified CWEventDelegate.modeDidChangeForWiFiInterfaceWithName(String!)
Optional
From--
Toyes

Modified CWEventDelegate.powerStateDidChangeForWiFiInterfaceWithName(String!)
Optional
From--
Toyes

Modified CWEventDelegate.scanCacheUpdatedForWiFiInterfaceWithName(String!)
Optional
From--
Toyes

Modified CWEventDelegate.ssidDidChangeForWiFiInterfaceWithName(String!)
Optional
From--
Toyes

Modified CWIBSSModeSecurity [enum]
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.activePHYMode() -> CWPHYMode
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.associateToEnterpriseNetwork(CWNetwork!, identity: SecIdentity!, username: String!, password: String!, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.associateToNetwork(CWNetwork!, password: String!, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.bssid() -> String!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.cachedScanResults() -> Set<NSObject>!
DeclarationIntroduction
From
func cachedScanResults() -> NSSet!
OS X 10.10
To
func cachedScanResults() -> Set<NSObject>!
OS X 10.7

Modified CWInterface.configuration() -> CWConfiguration!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.countryCode() -> String!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.disassociate()
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.hardwareAddress() -> String!
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.interfaceMode() -> CWInterfaceMode
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.interfaceName
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.init(interfaceName: String!)
DeclarationIntroductionDeprecation
From
init(interfaceName name: String!)
OS X 10.10--
To
init!(interfaceName name: String!)
OS X 10.6OS X 10.10

Modified CWInterface.interfaceNames() -> Set<NSObject>! [class]
DeclarationIntroductionDeprecation
From
class func interfaceNames() -> NSSet!
OS X 10.10--
To
class func interfaceNames() -> Set<NSObject>!
OS X 10.6OS X 10.10

Modified CWInterface.init(name: String!)
DeclarationIntroductionDeprecation
From
convenience init(name name: String!)
OS X 10.10--
To
convenience init!(name name: String!)
OS X 10.6OS X 10.10

Modified CWInterface.noiseMeasurement() -> Int
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.powerOn() -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.rssiValue() -> Int
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.scanForNetworksWithName(String!, error: NSErrorPointer) -> Set<NSObject>!
DeclarationIntroduction
From
func scanForNetworksWithName(_ networkName: String!, error error: NSErrorPointer) -> NSSet!
OS X 10.10
To
func scanForNetworksWithName(_ networkName: String!, error error: NSErrorPointer) -> Set<NSObject>!
OS X 10.7

Modified CWInterface.scanForNetworksWithSSID(NSData!, error: NSErrorPointer) -> Set<NSObject>!
DeclarationIntroduction
From
func scanForNetworksWithSSID(_ ssid: NSData!, error error: NSErrorPointer) -> NSSet!
OS X 10.10
To
func scanForNetworksWithSSID(_ ssid: NSData!, error error: NSErrorPointer) -> Set<NSObject>!
OS X 10.7

Modified CWInterface.security() -> CWSecurity
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.serviceActive() -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.setPairwiseMasterKey(NSData!, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.setPower(Bool, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.setWEPKey(NSData!, flags: CWCipherKeyFlags, index: Int, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.setWLANChannel(CWChannel!, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.ssid() -> String!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWInterface.ssidData() -> NSData!
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.startIBSSModeWithSSID(NSData!, security: CWIBSSModeSecurity, channel: Int, password: String!, error: NSErrorPointer) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.supportedWLANChannels() -> Set<NSObject>!
DeclarationIntroduction
From
func supportedWLANChannels() -> NSSet!
OS X 10.10
To
func supportedWLANChannels() -> Set<NSObject>!
OS X 10.7

Modified CWInterface.transmitPower() -> Int
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.transmitRate() -> Double
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterface.wlanChannel() -> CWChannel!
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWInterfaceMode [enum]
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWMutableConfiguration
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWMutableConfiguration.networkProfiles
DeclarationIntroduction
From
var networkProfiles: NSOrderedSet!
OS X 10.10
To
@NSCopying var networkProfiles: NSOrderedSet!
OS X 10.7

Modified CWMutableConfiguration.rememberJoinedNetworks
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWMutableConfiguration.requireAdministratorForAssociation
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWMutableConfiguration.requireAdministratorForIBSSMode
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWMutableConfiguration.requireAdministratorForPower
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWMutableNetworkProfile
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWMutableNetworkProfile.security
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWMutableNetworkProfile.ssidData
DeclarationIntroduction
From
var ssidData: NSData!
OS X 10.10
To
@NSCopying var ssidData: NSData!
OS X 10.7

Modified CWNetwork
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWNetwork.beaconInterval
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.bssid
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWNetwork.countryCode
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.ibss
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.informationElementData
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.isEqualToNetwork(CWNetwork!) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWNetwork.noiseMeasurement
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.rssiValue
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.ssid
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CWNetwork.ssidData
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.supportsPHYMode(CWPHYMode) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.8

Modified CWNetwork.supportsSecurity(CWSecurity) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetwork.wlanChannel
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetworkProfile
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetworkProfile.init()
DeclarationIntroduction
From
init()
OS X 10.10
To
init!()
OS X 10.7

Modified CWNetworkProfile.isEqualToNetworkProfile(CWNetworkProfile!) -> Bool
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetworkProfile.init(networkProfile: CWNetworkProfile!)
DeclarationIntroduction
From
init(networkProfile networkProfile: CWNetworkProfile!)
OS X 10.10
To
init!(networkProfile networkProfile: CWNetworkProfile!)
OS X 10.7

Modified CWNetworkProfile.security
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetworkProfile.ssid
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWNetworkProfile.ssidData
DeclarationIntroduction
From
var ssidData: NSData! { get }
OS X 10.10
To
@NSCopying var ssidData: NSData! { get }
OS X 10.7

Modified CWPHYMode [enum]
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWSecurity [enum]
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CWWiFiClient.init()
Declaration
From
init()
To
init!()

Modified CWWiFiClient.delegate
Declaration
From
var delegate: AnyObject!
To
weak var delegate: AnyObject!

Modified CWBSSIDDidChangeNotification
DeclarationIntroductionDeprecation
From
let CWBSSIDDidChangeNotification: NSString!
OS X 10.10--
To
let CWBSSIDDidChangeNotification: String
OS X 10.6OS X 10.10

Modified CWCountryCodeDidChangeNotification
DeclarationIntroductionDeprecation
From
let CWCountryCodeDidChangeNotification: NSString!
OS X 10.10--
To
let CWCountryCodeDidChangeNotification: String
OS X 10.6OS X 10.10

Modified CWErrorDomain
DeclarationIntroduction
From
let CWErrorDomain: NSString!
OS X 10.10
To
let CWErrorDomain: String
OS X 10.7

Modified CWKeychainCopyEAPIdentityList(UnsafeMutablePointer<Unmanaged<CFArray>?>) -> OSStatus
DeclarationIntroduction
From
func CWKeychainCopyEAPIdentityList(_ list: UnsafePointer<Unmanaged<CFArray>?>) -> OSStatus
OS X 10.10
To
func CWKeychainCopyEAPIdentityList(_ list: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> OSStatus
OS X 10.7

Modified CWKeychainCopyWiFiEAPIdentity(CWKeychainDomain, NSData!, UnsafeMutablePointer<Unmanaged<SecIdentity>?>) -> OSStatus
DeclarationIntroduction
From
func CWKeychainCopyWiFiEAPIdentity(_ domain: CWKeychainDomain, _ ssid: NSData!, _ identity: UnsafePointer<Unmanaged<SecIdentity>?>) -> OSStatus
OS X 10.10
To
func CWKeychainCopyWiFiEAPIdentity(_ domain: CWKeychainDomain, _ ssid: NSData!, _ identity: UnsafeMutablePointer<Unmanaged<SecIdentity>?>) -> OSStatus
OS X 10.9

Modified CWKeychainDeleteWiFiEAPUsernameAndPassword(CWKeychainDomain, NSData!) -> OSStatus
Introduction
FromOS X 10.10
ToOS X 10.9

Modified CWKeychainDeleteWiFiPassword(CWKeychainDomain, NSData!) -> OSStatus
Introduction
FromOS X 10.10
ToOS X 10.9

Modified CWKeychainFindWiFiEAPUsernameAndPassword(CWKeychainDomain, NSData!, AutoreleasingUnsafeMutablePointer<NSString?>, AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus
DeclarationIntroduction
From
func CWKeychainFindWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ username: AutoreleasingUnsafePointer<NSString?>, _ password: AutoreleasingUnsafePointer<NSString?>) -> OSStatus
OS X 10.10
To
func CWKeychainFindWiFiEAPUsernameAndPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ username: AutoreleasingUnsafeMutablePointer<NSString?>, _ password: AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus
OS X 10.9

Modified CWKeychainFindWiFiPassword(CWKeychainDomain, NSData!, AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus
DeclarationIntroduction
From
func CWKeychainFindWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ password: AutoreleasingUnsafePointer<NSString?>) -> OSStatus
OS X 10.10
To
func CWKeychainFindWiFiPassword(_ domain: CWKeychainDomain, _ ssid: NSData!, _ password: AutoreleasingUnsafeMutablePointer<NSString?>) -> OSStatus
OS X 10.9

Modified CWKeychainSetWiFiEAPIdentity(CWKeychainDomain, NSData!, SecIdentity!) -> OSStatus
Introduction
FromOS X 10.10
ToOS X 10.9

Modified CWKeychainSetWiFiEAPUsernameAndPassword(CWKeychainDomain, NSData!, String!, String!) -> OSStatus
Introduction
FromOS X 10.10
ToOS X 10.9

Modified CWKeychainSetWiFiPassword(CWKeychainDomain, NSData!, String!) -> OSStatus
Introduction
FromOS X 10.10
ToOS X 10.9

Modified CWLinkDidChangeNotification
DeclarationIntroductionDeprecation
From
let CWLinkDidChangeNotification: NSString!
OS X 10.10--
To
let CWLinkDidChangeNotification: String
OS X 10.6OS X 10.10

Modified CWLinkQualityDidChangeNotification
DeclarationIntroductionDeprecation
From
let CWLinkQualityDidChangeNotification: NSString!
OS X 10.10--
To
let CWLinkQualityDidChangeNotification: String
OS X 10.7OS X 10.10

Modified CWLinkQualityNotificationRSSIKey
DeclarationIntroductionDeprecation
From
let CWLinkQualityNotificationRSSIKey: NSString!
OS X 10.10--
To
let CWLinkQualityNotificationRSSIKey: String
OS X 10.6OS X 10.10

Modified CWLinkQualityNotificationTransmitRateKey
DeclarationIntroductionDeprecation
From
let CWLinkQualityNotificationTransmitRateKey: NSString!
OS X 10.10--
To
let CWLinkQualityNotificationTransmitRateKey: String
OS X 10.6OS X 10.10

Modified CWMergeNetworks(Set<NSObject>!) -> Set<NSObject>!
DeclarationIntroduction
From
func CWMergeNetworks(_ networks: NSSet!) -> NSSet!
OS X 10.10
To
func CWMergeNetworks(_ networks: Set<NSObject>!) -> Set<NSObject>!
OS X 10.7

Modified CWModeDidChangeNotification
DeclarationIntroductionDeprecation
From
let CWModeDidChangeNotification: NSString!
OS X 10.10--
To
let CWModeDidChangeNotification: String
OS X 10.6OS X 10.10

Modified CWPowerDidChangeNotification
DeclarationIntroductionDeprecation
From
let CWPowerDidChangeNotification: NSString!
OS X 10.10--
To
let CWPowerDidChangeNotification: String
OS X 10.6OS X 10.10

Modified CWSSIDDidChangeNotification
DeclarationIntroductionDeprecation
From
let CWSSIDDidChangeNotification: NSString!
OS X 10.10--
To
let CWSSIDDidChangeNotification: String
OS X 10.6OS X 10.10

Modified CWScanCacheDidUpdateNotification
DeclarationIntroductionDeprecation
From
let CWScanCacheDidUpdateNotification: NSString!
OS X 10.10--
To
let CWScanCacheDidUpdateNotification: String
OS X 10.7OS X 10.10