Latest 0.2.0
Homepage https://github.com/harshalrj25/BarcodeEasyScan
License MIT
Platforms ios 10.0
Authors

BarcodeEasyScan :loudspeaker:

CI Status
Version
License
Platform

Easily implement barcode scan with few lines. No boilerplate code, no xib, no storboards.

Example :books:

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation :hourglass_flowing_sand:

BarcodeEasyScan is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'BarcodeEasyScan'

alt text

Usage :bulb:

Import the pod inside your viewcontroller class.

import BarcodeEasyScan

You need to add the "Privacy - Camera usage description" key to your app’s Info.plist

Present ‘BarcodeScannerViewController’ and assign its delegate to self.

// Call this controller to open barcode screen
let barcodeViewController =  BarcodeScannerViewController()
barcodeViewController.delegate = self
self.present(barcodeViewController, animated: true, completion: {
})

Use the ‘ScanBarcodeDelegate’ to implement userDidScanWith(barcode: String) method.

func userDidScanWith(barcode: String) {
// This method results the scanned barcode string
}

Author :innocent:

My email id, [email protected]

BarcodeEasyScan

Harshal Jadhav

BarcodeEasyScan
BarcodeEasyScan
BarcodeEasyScan

License

It’s all your’s :gift:

Latest podspec

{
    "name": "BarcodeEasyScan",
    "version": "0.2.0",
    "summary": "Scan barcode and QR code with few lines of swift. No xib or storyboards",
    "description": "Scan your barcode by implementing a delegate which provides the string result. No need to write boilerplate codes. Just install the pod, and implement a delegate.",
    "homepage": "https://github.com/harshalrj25/BarcodeEasyScan",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "harshalrj25": "[email protected]"
    },
    "source": {
        "git": "https://github.com/harshalrj25/BarcodeEasyScan.git",
        "tag": "0.2.0"
    },
    "swift_version": "4.2",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "BarcodeEasyScan/Classes/**/*"
}

Pin It on Pinterest

Share This