https://github.com/astrokin/ean13barcodegenerator
Simple and performance solution to generate EAN13 barcode for iOS applications
https://github.com/astrokin/ean13barcodegenerator
barcode ean13 objective-c swift
Last synced: 5 months ago
JSON representation
Simple and performance solution to generate EAN13 barcode for iOS applications
- Host: GitHub
- URL: https://github.com/astrokin/ean13barcodegenerator
- Owner: astrokin
- License: mit
- Created: 2013-08-28T08:01:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-11-17T23:53:01.000Z (about 7 years ago)
- Last Synced: 2024-12-01T15:43:17.563Z (about 1 year ago)
- Topics: barcode, ean13, objective-c, swift
- Language: Objective-C
- Homepage: http://iapps.by
- Size: 121 KB
- Stars: 82
- Watchers: 9
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EAN13BarcodeGenerator
[](https://travis-ci.org/astrokin/EAN13BarcodeGenerator)
[](https://cocoapods.org/pods/EAN13BarcodeGenerator)
[](https://cocoapods.org/pods/EAN13BarcodeGenerator)
[](https://cocoapods.org/pods/EAN13BarcodeGenerator)
Simple and performance solution to generate EAN13 barcode for iOS applications

## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
```Objective-C
#import "BarCodeView.h"
#import "BarCodeEAN13.h"
BarCodeView *barCodeView = [[BarCodeView alloc] initWithFrame:kBarCodeFrame];
[self.view addSubview:barCodeView];
[barCodeView setBarCode:GetNewRandomEAN13BarCode()];
```
```Swift
import EAN13BarcodeGenerator
let barCodeView = BarCodeView(frame: CGRect(x: 103.0, y: 155.0, width: 113.0, height: 100.0))
view.addSubview(barCodeView)
barCodeView.barCode = GetNewRandomEAN13BarCode()
```
If you need any additional functionality please contact me.
If you have any questions don't hesitate to contact me.
Have a nice day! =)
## Requirements
iOS 8+
## Installation
EAN13BarcodeGenerator is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'EAN13BarcodeGenerator'
```
## Author
Alexey Strokin, alex.strok@gmail.com
## License
EAN13BarcodeGenerator is available under the MIT license. See the LICENSE file for more info.