Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harshalrj25/barcodeeasyscan
Easily implement barcode/QR scan with few lines. No boilerplate code, no xib, no storboards.
https://github.com/harshalrj25/barcodeeasyscan
barcode barcode-detection barcode-reader barcode-recognizer barcode-scanner barcode-scanning barcodes ios ios-swift qr-codes qrcode qrcode-reader qrcode-scanner swift
Last synced: 4 days ago
JSON representation
Easily implement barcode/QR scan with few lines. No boilerplate code, no xib, no storboards.
- Host: GitHub
- URL: https://github.com/harshalrj25/barcodeeasyscan
- Owner: harshalrj25
- License: mit
- Created: 2019-02-28T07:10:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T15:51:07.000Z (about 5 years ago)
- Last Synced: 2024-10-04T22:01:59.560Z (about 1 month ago)
- Topics: barcode, barcode-detection, barcode-reader, barcode-recognizer, barcode-scanner, barcode-scanning, barcodes, ios, ios-swift, qr-codes, qrcode, qrcode-reader, qrcode-scanner, swift
- Language: Swift
- Homepage:
- Size: 52.7 KB
- Stars: 15
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BarcodeEasyScan :loudspeaker:
[![CI Status](https://img.shields.io/travis/harshalrj25/BarcodeEasyScan.svg?style=flat)](https://travis-ci.org/harshalrj25/BarcodeEasyScan)
[![Version](https://img.shields.io/cocoapods/v/BarcodeEasyScan.svg?style=flat)](https://cocoapods.org/pods/BarcodeEasyScan)
[![License](https://img.shields.io/cocoapods/l/BarcodeEasyScan.svg?style=flat)](https://cocoapods.org/pods/BarcodeEasyScan)
[![Platform](https://img.shields.io/cocoapods/p/BarcodeEasyScan.svg?style=flat)](https://cocoapods.org/pods/BarcodeEasyScan)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](https://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage):
To Install for `CocoaPods`
```ruby
pod 'BarcodeEasyScan'
```
Or Install for `Carthage````ruby
github "harshalrj25/BarcodeEasyScan" "master"
```
![alt text](https://github.com/harshalrj25/MasterAssetsRepo/blob/master/barcode.gif "Barcode")## 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.plistPresent '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]
Harshal Jadhav
## License
It's all your's :gift: