Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SimformSolutionsPvtLtd/iOS-BarcodeScan
https://github.com/SimformSolutionsPvtLtd/iOS-BarcodeScan
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/SimformSolutionsPvtLtd/iOS-BarcodeScan
- Owner: SimformSolutionsPvtLtd
- Created: 2014-11-10T07:00:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-10T07:36:37.000Z (about 10 years ago)
- Last Synced: 2024-07-23T22:04:00.275Z (6 months ago)
- Language: Objective-C
- Size: 124 KB
- Stars: 5
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-SS-Mobile - iOS-BarcodeScan - Barcode scanning is general feature which require in most of the application so here is the simple barcode scanning code with just 2-3 steps. (iOS Guides / Objective-C)
README
### iOS-BarcodeScan - By Sunil Chauhan @Simform Solutions
#### Version: 1.0
##### Supported Barcode Types:
- AVMetadataObjectTypeAztecCode,
- AVMetadataObjectTypeCode128Code,
- AVMetadataObjectTypeCode39Code,
- AVMetadataObjectTypeCode39Mod43Code,
- AVMetadataObjectTypeCode93Code,
- AVMetadataObjectTypeEAN13Code,
- AVMetadataObjectTypeEAN8Code,
- AVMetadataObjectTypePDF417Code,
- AVMetadataObjectTypeQRCode,
- AVMetadataObjectTypeUPCECode#### Description:
Barcode scanning is general feature which require in most of the application so here is the simple barcode scanning code with just 2-3 steps. This the sample project so you can test it before implementing in the working code. Below is the steps how to implement this code in your code.#### How to use:
##### Step 1:
Download the zip file and drag "BarCodeScannerView" folder to your project.
##### Step 2:
Import class file "#import "BarCodeScannerView.h" in your view controller file.
##### Step 3:
Write the following method that will return you the scanned text.
```sh
[BarCodeScannerView showScannerWithCompletionBlock:^(NSString *result) {
if (result != nil && ![result isEqualToString:@""]) {
//some text has been scanned and text will return.
NSLog(@"%@",result);
}
}];
```
##### Step 4:
Run project and scan barcode.License
----Simform Solutions Pvt Ltd