CoreBluetooth Changes for Objective-C
CoreBluetooth
CBCentralManager.h
Removed CBCentralManager.state
Added -[CBCentralManager init]
Modified CBCentralManager
Superclasses | |
---|---|
From | NSObject |
To | CBManager |
Modified CBCentralManager.delegate
Declaration | |
---|---|
From | @property(assign, nonatomic) id<CBCentralManagerDelegate> delegate |
To | @property(nonatomic, weak) id<CBCentralManagerDelegate> delegate |
Modified CBCentralManager.isScanning
Declaration | |
---|---|
From | @property(readonly) BOOL isScanning |
To | @property(nonatomic, assign, readonly) BOOL isScanning |
Modified CBCentralManagerStatePoweredOff
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBCentralManagerStatePoweredOn
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBCentralManagerStateResetting
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBCentralManagerStateUnauthorized
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBCentralManagerStateUnknown
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBCentralManagerStateUnsupported
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
CBManager.h (Added)
Added CBManager
Added CBManager.state
Added CBManagerState
Added CBManagerStatePoweredOff
Added CBManagerStatePoweredOn
Added CBManagerStateResetting
Added CBManagerStateUnknown
CBPeripheral.h
Modified CBPeripheral.delegate
Declaration | |
---|---|
From | @property(assign, nonatomic) id<CBPeripheralDelegate> delegate |
To | @property(weak, nonatomic) id<CBPeripheralDelegate> delegate |
CBPeripheralManager.h
Removed CBPeripheralManager.state
Modified CBPeripheralManager
Superclasses | |
---|---|
From | NSObject |
To | CBManager |
Modified CBPeripheralManager.delegate
Declaration | |
---|---|
From | @property(assign, nonatomic) id<CBPeripheralManagerDelegate> delegate |
To | @property(nonatomic, weak) id<CBPeripheralManagerDelegate> delegate |
Modified CBPeripheralManager.isAdvertising
Declaration | |
---|---|
From | @property(readonly) BOOL isAdvertising |
To | @property(nonatomic, assign, readonly) BOOL isAdvertising |
Modified CBPeripheralManagerStatePoweredOff
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBPeripheralManagerStatePoweredOn
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBPeripheralManagerStateResetting
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBPeripheralManagerStateUnauthorized
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBPeripheralManagerStateUnknown
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified CBPeripheralManagerStateUnsupported
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |