Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wddwycc/rxqrscanner
QRScanner in Rx style
https://github.com/wddwycc/rxqrscanner
ios qrcode rxswift rxswift-extensions swift
Last synced: 5 days ago
JSON representation
QRScanner in Rx style
- Host: GitHub
- URL: https://github.com/wddwycc/rxqrscanner
- Owner: wddwycc
- License: mit
- Created: 2018-02-23T03:26:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T08:09:41.000Z (over 4 years ago)
- Last Synced: 2024-11-08T21:47:57.173Z (8 days ago)
- Topics: ios, qrcode, rxswift, rxswift-extensions, swift
- Language: Swift
- Homepage:
- Size: 76.2 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RxQRScanner
[![Version](https://img.shields.io/cocoapods/v/RxQRScanner.svg?style=flat)](http://cocoapods.org/pods/RxQRScanner)
[![License](https://img.shields.io/cocoapods/l/RxQRScanner.svg?style=flat)](http://cocoapods.org/pods/RxQRScanner)
[![Platform](https://img.shields.io/cocoapods/p/RxQRScanner.svg?style=flat)](http://cocoapods.org/pods/RxQRScanner)**Popup QRScanner like a boss**
```swift
import RxQRScannerbutton.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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'RxQRScanner', '~> 2.0'
```## Author
wddwycc, [email protected]
## License
RxQRScanner is available under the MIT license. See the LICENSE file for more info.