TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2015 |
SPMSupports SPM | ✗ |
Maintained by Ricardo Pereira.
A simple QRCode reader for Swift (based on CDZQRScanningViewController)
let reader = QRCodeReaderViewController()
reader.resultCallback = {
println($1)
$0.dismissViewControllerAnimated(true, completion: nil)
}
reader.cancelCallback = {
$0.dismissViewControllerAnimated(true, completion: nil)
}
presentViewController(reader, animated: true, completion: nil)
QRCodeReader is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "QRCodeReader"
You will also need to make sure you're opting into using frameworks:
use_frameworks!
Then run pod install
with CocoaPods 0.36 or newer.
Ricardo Pereira, @ricardopereiraw
QRCodeReader is available under the MIT license. See the LICENSE file for more info.