rhummelmose / BluetoothKit

Easily communicate between iOS/OSX devices using BLE
Other
2.27k stars 267 forks source link

IMPORTANT: Libary will not work without these changes #54

Closed mrdavidrees closed 7 years ago

mrdavidrees commented 7 years ago

allow ios 8 & 9

By switching on the iOS version we can decide between using the new CBManager.state or the CBPeripheralManager.state or CBCentralManager.state, these states are all compatible with each other and still convert into an Availability and UnavailabiltyCause

fix delegate BKCBPeripheralManagerDelegateProxy so it conforms properly to CBPeripheralManagerDelegate and recieves calls, (NSError -> Error, AnyObject -> Any). remove unused didRestoreState to fix warning.

rhummelmose commented 7 years ago

Thanks!