RxQRScanner
QRScanner in Rx style
Install / Use
/learn @wddwycc/RxQRScannerREADME
RxQRScanner
Popup QRScanner like a boss
import RxQRScanner
button.rx.tap
.flatMap { [unowned self] in QRScanner.popup(on: self) }
.map({ (result) -> String? in
if case let .success(str) = result { return str }
return nil
})
.bind(to: label.rx.text)
.disposed(by: disposeBag)
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
- iOS >= 9.0
- Swift 5
Installation
RxQRScanner is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RxQRScanner', '~> 2.0'
Author
wddwycc, wddwyss@gmail.com
License
RxQRScanner is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
