Latest 2.0.0
Homepage https://github.com/wddwycc/RxQRScanner
License MIT
Platforms ios 9.0
Dependencies RxSwift, RxCocoa
Authors

Version
License
Platform

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', '~> 4.0'

Author

wddwycc, [email protected]

License

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

Latest podspec

{
    "name": "RxQRScanner",
    "version": "2.0.0",
    "swift_versions": "5.0",
    "summary": "QRScanner in RxSwift way",
    "description": "Popup QRScanner like a boss",
    "homepage": "https://github.com/wddwycc/RxQRScanner",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wddwycc": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wddwycc/RxQRScanner.git",
        "tag": "2.0.0"
    },
    "social_media_url": "https://twitter.com/wddwycc",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "RxQRScanner/Classes/**/*",
    "resource_bundles": {
        "RxQRScanner": [
            "RxQRScanner/Assets/*.png"
        ]
    },
    "dependencies": {
        "RxSwift": [
            "~> 5.0"
        ],
        "RxCocoa": [
            "~> 5.0"
        ]
    }
}

Pin It on Pinterest

Share This