Giter VIP home page Giter VIP logo

ean13barcodegenerator's Introduction

EAN13BarcodeGenerator

CI Status Version License Platform

Simple and performance solution to generate EAN13 barcode for iOS applications

alt tag

Example

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

#import "BarCodeView.h"
#import "BarCodeEAN13.h"

BarCodeView *barCodeView = [[BarCodeView alloc] initWithFrame:kBarCodeFrame];
[self.view addSubview:barCodeView];
[barCodeView setBarCode:GetNewRandomEAN13BarCode()];
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. To install it, simply add the following line to your Podfile:

pod 'EAN13BarcodeGenerator'

Author

Alexey Strokin, [email protected]

License

EAN13BarcodeGenerator is available under the MIT license. See the LICENSE file for more info.

ean13barcodegenerator's People

Contributors

astrokin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ean13barcodegenerator's Issues

bigger barcode

Hi is it possible to make the barcode view bigger.
Im testing it assign barcode view to a view in storyboards. Always is the same width.
Thank you

Barcode width

Hello,

is there a way how to make barcode widther?

Cocoapods support

I suggest to support Cocoapods and eventually Carthage. In this way you can update easily the library using a dependency manager.

-Paolo

Missing numbers in barcode

Thanks for this lib.
I've tried to use it but unfortunately it seems that there are problems with the frame of the view, which lead to missing numbers in barcode.

I've tried with width: 113.0, height: 100.0, as it is in ReadMe, and here's the result :
image

I've also tried with bigger frames and I still encounter issues…
What is the recommended frame to use with this ? Why don't number reduce their font to fit the frame ?

Thanks in advance for your help 🙏

Code is not updating

Hi, i recently downloaded your code and it is very help full to convert string to EAN13 barcode. But i don't want some features in your code. So i just want to remove/Disable those features(i.e no need to show the barcode number etc.). After some understanding i'm able to remove that barcode number showing. But i can't able to edit your code(updating or commenting some code is not working). It always showing the default functionality. How can i update your code. In my case i don't wan to show the text @"Invalid barcode!".

Yellow lines above code

Sometimes there are yellow lines above code on iOS 10. Sometimes they hides after re-build.
image

Background color change for the left & right side.

Hi,

I am using your source code for my application so easy, simple and powerful.
but I wonder whether I can change the background color of left and right side black color for filling up the spaces.
I can assume that it will not be difficult but I can't
Please help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.