Documentation Archive Developer
Search

CoreBluetooth Changes

CoreBluetooth

CBAttribute.h (Added)
CBCentral.h
Removed CBCentral.UUID
Removed CBCentral.identifier
Modified CBCentral
ProtocolsSuperclasses
FromNSCopyingNSObject
To--CBPeer

CBCentralManager.h
Declaration
From
- (id)initWithDelegate:(id<CBCentralManagerDelegate>)delegate queue:(dispatch_queue_t)queue
To
- (instancetype)initWithDelegate:(id<CBCentralManagerDelegate>)delegate queue:(dispatch_queue_t)queue

Declaration
From
- (id)initWithDelegate:(id<CBCentralManagerDelegate>)delegate queue:(dispatch_queue_t)queue options:(NSDictionary *)options
To
- (instancetype)initWithDelegate:(id<CBCentralManagerDelegate>)delegate queue:(dispatch_queue_t)queue options:(NSDictionary *)options

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Modified -[CBCentralManagerDelegate centralManager:didRetrieveConnectedPeripherals:]
Optional
From--
Toyes

Modified -[CBCentralManagerDelegate centralManager:didRetrievePeripherals:]
Optional
From--
Toyes

Optional
From--
Toyes

CBCharacteristic.h
Removed CBCharacteristic.UUID
Superclasses
FromNSObject
ToCBAttribute

Deprecation
From--
ToiOS 8.0

Declaration
From
- (id)initWithType:(CBUUID *)UUID properties:(CBCharacteristicProperties)properties value:(NSData *)value permissions:(CBAttributePermissions)permissions
To
- (instancetype)initWithType:(CBUUID *)UUID properties:(CBCharacteristicProperties)properties value:(NSData *)value permissions:(CBAttributePermissions)permissions

CBDescriptor.h
Removed CBDescriptor.UUID
Modified CBDescriptor
Superclasses
FromNSObject
ToCBAttribute

Declaration
From
- (id)initWithType:(CBUUID *)UUID value:(id)value
To
- (instancetype)initWithType:(CBUUID *)UUID value:(id)value

CBPeer.h (Added)
Added CBPeer
Added CBPeer.UUID
CBPeripheral.h
Removed CBPeripheral.UUID
Removed CBPeripheral.identifier
CBPeripheralManager.h
Declaration
From
- (id)initWithDelegate:(id<CBPeripheralManagerDelegate>)delegate queue:(dispatch_queue_t)queue
To
- (instancetype)initWithDelegate:(id<CBPeripheralManagerDelegate>)delegate queue:(dispatch_queue_t)queue

Declaration
From
- (id)initWithDelegate:(id<CBPeripheralManagerDelegate>)delegate queue:(dispatch_queue_t)queue options:(NSDictionary *)options
To
- (instancetype)initWithDelegate:(id<CBPeripheralManagerDelegate>)delegate queue:(dispatch_queue_t)queue options:(NSDictionary *)options

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

CBService.h
Removed CBService.UUID
Declaration
From
- (id)initWithType:(CBUUID *)UUID primary:(BOOL)isPrimary
To
- (instancetype)initWithType:(CBUUID *)UUID primary:(BOOL)isPrimary

Modified CBService
Superclasses
FromNSObject
ToCBAttribute