Documentation Archive Developer
Search

CoreBluetooth Changes for Objective-C

CoreBluetooth

CBCentralManager.h

Removed CBCentralManager.state
Superclasses
FromNSObject
ToCBManager

Declaration
From
@property(assign, nonatomic) id<CBCentralManagerDelegate> delegate
To
@property(nonatomic, weak) id<CBCentralManagerDelegate> delegate

Declaration
From
@property(readonly) BOOL isScanning
To
@property(nonatomic, assign, readonly) BOOL isScanning

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

CBManager.h (Added)

CBPeripheral.h

Declaration
From
@property(assign, nonatomic) id<CBPeripheralDelegate> delegate
To
@property(weak, nonatomic) id<CBPeripheralDelegate> delegate

CBPeripheralManager.h

Removed CBPeripheralManager.state
Superclasses
FromNSObject
ToCBManager

Declaration
From
@property(assign, nonatomic) id<CBPeripheralManagerDelegate> delegate
To
@property(nonatomic, weak) id<CBPeripheralManagerDelegate> delegate

Declaration
From
@property(readonly) BOOL isAdvertising
To
@property(nonatomic, assign, readonly) BOOL isAdvertising

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

CBUUID.h