CoreWLAN Changes for Objective-C
CoreWLAN
CoreWLANUtil.h
Modified CWKeychainCopyEAPIdentity()
Declaration | |
---|---|
From | OSStatus CWKeychainCopyEAPIdentity ( CFDataRef ssidData, SecIdentityRef *identity ); |
To | OSStatus CWKeychainCopyEAPIdentity ( CFDataRef _Nonnull ssidData, SecIdentityRef _Nullable * _Nullable identity ); |
Modified CWKeychainCopyEAPIdentityList()
Declaration | |
---|---|
From | OSStatus CWKeychainCopyEAPIdentityList ( CFArrayRef *list ); |
To | OSStatus CWKeychainCopyEAPIdentityList ( CFArrayRef _Nullable * _Nullable list ); |
Declaration | |
---|---|
From | OSStatus CWKeychainCopyEAPUsernameAndPassword ( CFDataRef ssidData, CFStringRef *username, CFStringRef *password ); |
To | OSStatus CWKeychainCopyEAPUsernameAndPassword ( CFDataRef _Nonnull ssidData, CFStringRef _Nullable * _Nullable username, CFStringRef _Nullable * _Nullable password ); |
Modified CWKeychainCopyPassword()
Declaration | |
---|---|
From | OSStatus CWKeychainCopyPassword ( CFDataRef ssidData, CFStringRef *password ); |
To | OSStatus CWKeychainCopyPassword ( CFDataRef _Nonnull ssidData, CFStringRef _Nullable * _Nullable password ); |
Modified CWKeychainCopyWiFiEAPIdentity()
Declaration | |
---|---|
From | OSStatus CWKeychainCopyWiFiEAPIdentity ( CWKeychainDomain domain, NSData *ssid, SecIdentityRef *identity ); |
To | OSStatus CWKeychainCopyWiFiEAPIdentity ( CWKeychainDomain domain, NSData * _Nonnull ssid, SecIdentityRef _Nullable * _Nullable identity ); |
Declaration | |
---|---|
From | OSStatus CWKeychainDeleteEAPUsernameAndPassword ( CFDataRef ssidData ); |
To | OSStatus CWKeychainDeleteEAPUsernameAndPassword ( CFDataRef _Nonnull ssidData ); |
Modified CWKeychainDeletePassword()
Declaration | |
---|---|
From | OSStatus CWKeychainDeletePassword ( CFDataRef ssidData ); |
To | OSStatus CWKeychainDeletePassword ( CFDataRef _Nonnull ssidData ); |
Declaration | |
---|---|
From | OSStatus CWKeychainDeleteWiFiEAPUsernameAndPassword ( CWKeychainDomain domain, NSData *ssid ); |
To | OSStatus CWKeychainDeleteWiFiEAPUsernameAndPassword ( CWKeychainDomain domain, NSData * _Nonnull ssid ); |
Modified CWKeychainDeleteWiFiPassword()
Declaration | |
---|---|
From | OSStatus CWKeychainDeleteWiFiPassword ( CWKeychainDomain domain, NSData *ssid ); |
To | OSStatus CWKeychainDeleteWiFiPassword ( CWKeychainDomain domain, NSData * _Nonnull ssid ); |
Declaration | |
---|---|
From | OSStatus CWKeychainFindWiFiEAPUsernameAndPassword ( CWKeychainDomain domain, NSData *ssid, NSString **username, NSString **password ); |
To | OSStatus CWKeychainFindWiFiEAPUsernameAndPassword ( CWKeychainDomain domain, NSData * _Nonnull ssid, NSString * _Nullable * _Nullable username, NSString * _Nullable * _Nullable password ); |
Modified CWKeychainFindWiFiPassword()
Declaration | |
---|---|
From | OSStatus CWKeychainFindWiFiPassword ( CWKeychainDomain domain, NSData *ssid, NSString **password ); |
To | OSStatus CWKeychainFindWiFiPassword ( CWKeychainDomain domain, NSData * _Nonnull ssid, NSString * _Nullable * _Nullable password ); |
Modified CWKeychainSetEAPIdentity()
Declaration | |
---|---|
From | OSStatus CWKeychainSetEAPIdentity ( CFDataRef ssidData, SecIdentityRef identity ); |
To | OSStatus CWKeychainSetEAPIdentity ( CFDataRef _Nonnull ssidData, SecIdentityRef _Nullable identity ); |
Declaration | |
---|---|
From | OSStatus CWKeychainSetEAPUsernameAndPassword ( CFDataRef ssidData, CFStringRef username, CFStringRef password ); |
To | OSStatus CWKeychainSetEAPUsernameAndPassword ( CFDataRef _Nonnull ssidData, CFStringRef _Nullable username, CFStringRef _Nullable password ); |
Modified CWKeychainSetPassword()
Declaration | |
---|---|
From | OSStatus CWKeychainSetPassword ( CFDataRef ssidData, CFStringRef password ); |
To | OSStatus CWKeychainSetPassword ( CFDataRef _Nonnull ssidData, CFStringRef _Nonnull password ); |
Modified CWKeychainSetWiFiEAPIdentity()
Declaration | |
---|---|
From | OSStatus CWKeychainSetWiFiEAPIdentity ( CWKeychainDomain domain, NSData *ssid, SecIdentityRef identity ); |
To | OSStatus CWKeychainSetWiFiEAPIdentity ( CWKeychainDomain domain, NSData * _Nonnull ssid, SecIdentityRef _Nullable identity ); |
Declaration | |
---|---|
From | OSStatus CWKeychainSetWiFiEAPUsernameAndPassword ( CWKeychainDomain domain, NSData *ssid, NSString *username, NSString *password ); |
To | OSStatus CWKeychainSetWiFiEAPUsernameAndPassword ( CWKeychainDomain domain, NSData * _Nonnull ssid, NSString * _Nullable username, NSString * _Nullable password ); |
Modified CWKeychainSetWiFiPassword()
Declaration | |
---|---|
From | OSStatus CWKeychainSetWiFiPassword ( CWKeychainDomain domain, NSData *ssid, NSString *password ); |
To | OSStatus CWKeychainSetWiFiPassword ( CWKeychainDomain domain, NSData * _Nonnull ssid, NSString * _Nonnull password ); |
Modified CWMergeNetworks()
Declaration | |
---|---|
From | NSSet * CWMergeNetworks ( NSSet *networks ); |
To | NSSet<CWNetwork *> * _Nonnull CWMergeNetworks ( NSSet<CWNetwork *> * _Nonnull networks ); |
CWChannel.h
Modified -[CWChannel isEqualToChannel:]
Declaration | |
---|---|
From | - (BOOL)isEqualToChannel:(CWChannel *)channel |
To | - (BOOL)isEqualToChannel:(CWChannel * _Nonnull)channel |
CWConfiguration.h
Modified +[CWConfiguration configuration]
Declaration | |
---|---|
From | + (instancetype)configuration |
To | + (instancetype _Nonnull)configuration |
Declaration | |
---|---|
From | + (instancetype)configurationWithConfiguration:(CWConfiguration *)configuration |
To | + (instancetype _Nonnull)configurationWithConfiguration:(CWConfiguration * _Nonnull)configuration |
Modified -[CWConfiguration init]
Declaration | |
---|---|
From | - (instancetype)init |
To | - (instancetype _Nonnull)init |
Declaration | |
---|---|
From | - (instancetype)initWithConfiguration:(CWConfiguration *)configuration |
To | - (instancetype _Nonnull)initWithConfiguration:(CWConfiguration * _Nonnull)configuration |
Declaration | |
---|---|
From | - (BOOL)isEqualToConfiguration:(CWConfiguration *)configuration |
To | - (BOOL)isEqualToConfiguration:(CWConfiguration * _Nonnull)configuration |
Modified CWConfiguration.networkProfiles
Declaration | |
---|---|
From | @property(readonly, copy) NSOrderedSet *networkProfiles |
To | @property(readonly, copy, nonnull) NSOrderedSet<CWNetworkProfile *> *networkProfiles |
Declaration | |
---|---|
From | @property(copy) NSOrderedSet *networkProfiles |
To | @property(copy, nonnull) NSOrderedSet<CWNetworkProfile *> *networkProfiles |
CWInterface.h
Declaration | |
---|---|
From | - (BOOL)associateToEnterpriseNetwork:(CWNetwork *)network identity:(SecIdentityRef)identity username:(NSString *)username password:(NSString *)password error:(out NSError **)error |
To | - (BOOL)associateToEnterpriseNetwork:(CWNetwork * _Nonnull)network identity:(SecIdentityRef _Nullable)identity username:(NSString * _Nullable)username password:(NSString * _Nullable)password error:(out NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)associateToNetwork:(CWNetwork *)network password:(NSString *)password error:(out NSError **)error |
To | - (BOOL)associateToNetwork:(CWNetwork * _Nonnull)network password:(NSString * _Nullable)password error:(out NSError * _Nullable * _Nullable)error |
Modified -[CWInterface bssid]
Declaration | |
---|---|
From | - (NSString *)bssid |
To | - (NSString * _Nullable)bssid |
Modified -[CWInterface cachedScanResults]
Declaration | |
---|---|
From | - (NSSet *)cachedScanResults |
To | - (NSSet<CWNetwork *> * _Nullable)cachedScanResults |
Declaration | |
---|---|
From | - (BOOL)commitConfiguration:(CWConfiguration *)configuration authorization:(SFAuthorization *)authorization error:(out NSError **)error |
To | - (BOOL)commitConfiguration:(CWConfiguration * _Nonnull)configuration authorization:(SFAuthorization * _Nullable)authorization error:(out NSError * _Nullable * _Nullable)error |
Modified -[CWInterface configuration]
Declaration | |
---|---|
From | - (CWConfiguration *)configuration |
To | - (CWConfiguration * _Nullable)configuration |
Modified -[CWInterface countryCode]
Declaration | |
---|---|
From | - (NSString *)countryCode |
To | - (NSString * _Nullable)countryCode |
Modified -[CWInterface hardwareAddress]
Declaration | |
---|---|
From | - (NSString *)hardwareAddress |
To | - (NSString * _Nullable)hardwareAddress |
Declaration | |
---|---|
From | - (instancetype)initWithInterfaceName:(NSString *)name |
To | - (instancetype _Nonnull)initWithInterfaceName:(NSString * _Nonnull)name |
Modified +[CWInterface interface]
Declaration | |
---|---|
From | + (instancetype)interface |
To | + (instancetype _Nonnull)interface |
Modified CWInterface.interfaceName
Declaration | |
---|---|
From | @property(readonly) NSString *interfaceName |
To | @property(readonly, nullable) NSString *interfaceName |
Modified +[CWInterface interfaceNames]
Declaration | |
---|---|
From | + (NSSet *)interfaceNames |
To | + (NSSet<NSString *> * _Nullable)interfaceNames |
Modified +[CWInterface interfaceWithName:]
Declaration | |
---|---|
From | + (instancetype)interfaceWithName:(NSString *)name |
To | + (instancetype _Nonnull)interfaceWithName:(NSString * _Nonnull)name |
Declaration | |
---|---|
From | - (NSSet *)scanForNetworksWithName:(NSString *)networkName error:(out NSError **)error |
To | - (NSSet<CWNetwork *> * _Nullable)scanForNetworksWithName:(NSString * _Nullable)networkName error:(out NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (NSSet *)scanForNetworksWithSSID:(NSData *)ssid error:(out NSError **)error |
To | - (NSSet<CWNetwork *> * _Nullable)scanForNetworksWithSSID:(NSData * _Nullable)ssid error:(out NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)setPairwiseMasterKey:(NSData *)key error:(out NSError **)error |
To | - (BOOL)setPairwiseMasterKey:(NSData * _Nullable)key error:(out NSError * _Nullable * _Nullable)error |
Modified -[CWInterface setPower:error:]
Declaration | |
---|---|
From | - (BOOL)setPower:(BOOL)power error:(out NSError **)error |
To | - (BOOL)setPower:(BOOL)power error:(out NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)setWEPKey:(NSData *)key flags:(CWCipherKeyFlags)flags index:(NSInteger)index error:(out NSError **)error |
To | - (BOOL)setWEPKey:(NSData * _Nullable)key flags:(CWCipherKeyFlags)flags index:(NSInteger)index error:(out NSError * _Nullable * _Nullable)error |
Modified -[CWInterface setWLANChannel:error:]
Declaration | |
---|---|
From | - (BOOL)setWLANChannel:(CWChannel *)channel error:(out NSError **)error |
To | - (BOOL)setWLANChannel:(CWChannel * _Nonnull)channel error:(out NSError * _Nullable * _Nullable)error |
Modified -[CWInterface ssid]
Declaration | |
---|---|
From | - (NSString *)ssid |
To | - (NSString * _Nullable)ssid |
Modified -[CWInterface ssidData]
Declaration | |
---|---|
From | - (NSData *)ssidData |
To | - (NSData * _Nullable)ssidData |
Declaration | |
---|---|
From | - (BOOL)startIBSSModeWithSSID:(NSData *)ssidData security:(CWIBSSModeSecurity)security channel:(NSUInteger)channel password:(NSString *)password error:(out NSError **)error |
To | - (BOOL)startIBSSModeWithSSID:(NSData * _Nonnull)ssidData security:(CWIBSSModeSecurity)security channel:(NSUInteger)channel password:(NSString * _Nullable)password error:(out NSError * _Nullable * _Nullable)error |
Modified -[CWInterface supportedWLANChannels]
Declaration | |
---|---|
From | - (NSSet *)supportedWLANChannels |
To | - (NSSet<CWChannel *> * _Nullable)supportedWLANChannels |
Modified -[CWInterface wlanChannel]
Declaration | |
---|---|
From | - (CWChannel *)wlanChannel |
To | - (CWChannel * _Nullable)wlanChannel |
CWNetwork.h
Modified CWNetwork.bssid
Declaration | |
---|---|
From | @property(readonly) NSString *bssid |
To | @property(readonly, nullable) NSString *bssid |
Modified CWNetwork.countryCode
Declaration | |
---|---|
From | @property(readonly) NSString *countryCode |
To | @property(readonly, nullable) NSString *countryCode |
Modified CWNetwork.informationElementData
Declaration | |
---|---|
From | @property(readonly) NSData *informationElementData |
To | @property(readonly, nullable) NSData *informationElementData |
Modified -[CWNetwork isEqualToNetwork:]
Declaration | |
---|---|
From | - (BOOL)isEqualToNetwork:(CWNetwork *)network |
To | - (BOOL)isEqualToNetwork:(CWNetwork * _Nonnull)network |
Modified CWNetwork.ssid
Declaration | |
---|---|
From | @property(readonly) NSString *ssid |
To | @property(readonly, nullable) NSString *ssid |
Modified CWNetwork.ssidData
Declaration | |
---|---|
From | @property(readonly) NSData *ssidData |
To | @property(readonly, nullable) NSData *ssidData |
Modified CWNetwork.wlanChannel
Declaration | |
---|---|
From | @property(readonly) CWChannel *wlanChannel |
To | @property(readonly, nonnull) CWChannel *wlanChannel |
CWNetworkProfile.h
Modified CWMutableNetworkProfile.ssidData
Declaration | |
---|---|
From | @property(copy) NSData *ssidData |
To | @property(copy, nonnull) NSData *ssidData |
Modified -[CWNetworkProfile init]
Declaration | |
---|---|
From | - (instancetype)init |
To | - (instancetype _Nonnull)init |
Declaration | |
---|---|
From | - (instancetype)initWithNetworkProfile:(CWNetworkProfile *)networkProfile |
To | - (instancetype _Nonnull)initWithNetworkProfile:(CWNetworkProfile * _Nonnull)networkProfile |
Declaration | |
---|---|
From | - (BOOL)isEqualToNetworkProfile:(CWNetworkProfile *)networkProfile |
To | - (BOOL)isEqualToNetworkProfile:(CWNetworkProfile * _Nonnull)networkProfile |
Modified +[CWNetworkProfile networkProfile]
Declaration | |
---|---|
From | + (instancetype)networkProfile |
To | + (instancetype _Nonnull)networkProfile |
Declaration | |
---|---|
From | + (instancetype)networkProfileWithNetworkProfile:(CWNetworkProfile *)networkProfile |
To | + (instancetype _Nonnull)networkProfileWithNetworkProfile:(CWNetworkProfile * _Nonnull)networkProfile |
Modified CWNetworkProfile.ssid
Declaration | |
---|---|
From | @property(readonly, copy) NSString *ssid |
To | @property(readonly, copy, nullable) NSString *ssid |
Modified CWNetworkProfile.ssidData
Declaration | |
---|---|
From | @property(readonly, copy) NSData *ssidData |
To | @property(readonly, copy, nullable) NSData *ssidData |
CWWiFiClient.h
Declaration | |
---|---|
From | - (void)bssidDidChangeForWiFiInterfaceWithName:(NSString *)interfaceName |
To | - (void)bssidDidChangeForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName |
Declaration | |
---|---|
From | - (void)countryCodeDidChangeForWiFiInterfaceWithName:(NSString *)interfaceName |
To | - (void)countryCodeDidChangeForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName |
Declaration | |
---|---|
From | - (void)linkDidChangeForWiFiInterfaceWithName:(NSString *)interfaceName |
To | - (void)linkDidChangeForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName |
Declaration | |
---|---|
From | - (void)linkQualityDidChangeForWiFiInterfaceWithName:(NSString *)interfaceName rssi:(NSInteger)rssi transmitRate:(double)transmitRate |
To | - (void)linkQualityDidChangeForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName rssi:(NSInteger)rssi transmitRate:(double)transmitRate |
Declaration | |
---|---|
From | - (void)modeDidChangeForWiFiInterfaceWithName:(NSString *)interfaceName |
To | - (void)modeDidChangeForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName |
Declaration | |
---|---|
From | - (void)powerStateDidChangeForWiFiInterfaceWithName:(NSString *)interfaceName |
To | - (void)powerStateDidChangeForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName |
Declaration | |
---|---|
From | - (void)scanCacheUpdatedForWiFiInterfaceWithName:(NSString *)interfaceName |
To | - (void)scanCacheUpdatedForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName |
Declaration | |
---|---|
From | - (void)ssidDidChangeForWiFiInterfaceWithName:(NSString *)interfaceName |
To | - (void)ssidDidChangeForWiFiInterfaceWithName:(NSString * _Nonnull)interfaceName |
Modified CWWiFiClient.delegate
Declaration | |
---|---|
From | @property(nonatomic, weak) id delegate |
To | @property(nonatomic, weak, nullable) id delegate |
Modified -[CWWiFiClient init]
Declaration | |
---|---|
From | - (CWWiFiClient *)init |
To | - (CWWiFiClient * _Nullable)init |
Modified -[CWWiFiClient interface]
Declaration | |
---|---|
From | - (CWInterface *)interface |
To | - (CWInterface * _Nullable)interface |
Modified +[CWWiFiClient interfaceNames]
Declaration | |
---|---|
From | + (NSArray *)interfaceNames |
To | + (NSArray<NSString *> * _Nullable)interfaceNames |
Modified -[CWWiFiClient interfaces]
Declaration | |
---|---|
From | - (NSArray *)interfaces |
To | - (NSArray<CWInterface *> * _Nullable)interfaces |
Modified -[CWWiFiClient interfaceWithName:]
Declaration | |
---|---|
From | - (CWInterface *)interfaceWithName:(NSString *)interfaceName |
To | - (CWInterface * _Nullable)interfaceWithName:(NSString * _Nullable)interfaceName |
Modified +[CWWiFiClient sharedWiFiClient]
Declaration | |
---|---|
From | + (CWWiFiClient *)sharedWiFiClient |
To | + (CWWiFiClient * _Nonnull)sharedWiFiClient |
Declaration | |
---|---|
From | - (BOOL)startMonitoringEventWithType:(CWEventType)type error:(out NSError **)error |
To | - (BOOL)startMonitoringEventWithType:(CWEventType)type error:(out NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)stopMonitoringAllEventsAndReturnError:(out NSError **)error |
To | - (BOOL)stopMonitoringAllEventsAndReturnError:(out NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)stopMonitoringEventWithType:(CWEventType)type error:(out NSError **)error |
To | - (BOOL)stopMonitoringEventWithType:(CWEventType)type error:(out NSError * _Nullable * _Nullable)error |