RxCoreBluetooth

RxCoreBluetooth is a CoreBluetooth Extension for RxSwift


Keywords
ble, bluetooth, corebluetooth, ios, iosbluetooth, rxble, rxbluetooth, rxbluetoothkit, rxcocoa, rxcorebluetooth, rxswift
License
MIT
Install
pod try RxCoreBluetooth

Documentation

RxCoreBluetooth

Swift CI Status spm Version codecov License Platform

RxCoreBluetooth is a CoreBluetooth Extension for RxSwift


Usage

/// Bind CBManager State
centralManager.rx.state
.bind { state in
  state == .powerOn
}.disposed(by: disposeBag)


/// Bind Discovered Peripheral
centralManager.rx
.didDiscover
.bind { discovered in
  discovered
}
.disposed(by: disposeBag)

Requirements

  • iOS 10.0 +
  • Swift 3.0 +
  • Xcode 8.0 +

Installation

RxCoreBluetooth is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RxCoreBluetooth'
- For CBCentralManager Delegates

CentralManager

- For CBPeripheral Delegates

Peripheral


Author

Won, trilliwon@gmail.com


License

RxCoreBluetooth is available under the MIT license. See the LICENSE file for more info.