Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

RxCoreBluetooth

Swift CI Status spm Version codecov License Platform

RxCoreBluetooth is a CoreBluetooth Extension for RxSwift


WIP

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.