Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fork of Jeff Lamarche's original barcode generator library at http://code.google.com/p/cocoabarcodes/
Objective-C C
Tree: fb7358c478

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CocoaTouchBarcodes.xcodeproj
.gitignore
CocoaTouchBarcodes_Prefix.pch
JapanPostBarcode.h
JapanPostBarcode.m
NKDAbstractUPCEANBarcode.h
NKDAbstractUPCEANBarcode.m
NKDBarcode.h
NKDBarcode.m
NKDBarcodeFramework.h
NKDBarcodeOffscreenView.h
NKDBarcodeOffscreenView.m
NKDCodabarBarcode.h
NKDCodabarBarcode.m
NKDCode128Barcode.h
NKDCode128Barcode.m
NKDCode39Barcode.h
NKDCode39Barcode.m
NKDEAN13Barcode.h
NKDEAN13Barcode.m
NKDEAN8Barcode.h
NKDEAN8Barcode.m
NKDExtendedCode39Barcode.h
NKDExtendedCode39Barcode.m
NKDIndustrialTwoOfFiveBarcode.h
NKDIndustrialTwoOfFiveBarcode.m
NKDInterleavedTwoOfFiveBarcode.h
NKDInterleavedTwoOfFiveBarcode.m
NKDModifiedPlesseyBarcode.h
NKDModifiedPlesseyBarcode.m
NKDModifiedPlesseyHexBarcode.h
NKDModifiedPlesseyHexBarcode.m
NKDPlanetBarcode.h
NKDPlanetBarcode.m
NKDPostnetBarcode.h
NKDPostnetBarcode.m
NKDRoyalMailBarcode.h
NKDRoyalMailBarcode.m
NKDUPCABarcode.h
NKDUPCABarcode.m
NKDUPCEBarcode.h
NKDUPCEBarcode.m
NSString-UPCEAN.h
NSString-UPCEAN.m
README
UIImage-NKDBarcode.h
UIImage-NKDBarcode.m
UIImage-Normalize.h
UIImage-Normalize.m

README

This is a fork of Jeff Lamarche's Cocoa Barcodes project, with the code modified to work on the iPhone and iPad.  In my testing, a CCD and laser scanner can read UPC and Code 128 barcodes directly from the screen w/ no issue.  I haven't tested other barcodes yet.

Things that are missing:

 * Rendering the actual numbers of a code below the barcode
 * rectForPage, knowsPageRange don't have any affect on the barcode rendering now

Things that have changed:

 * the UIImage for the barcode is generated on the calling thread, as opposed to the library's old behavior of generating the image on a separate thread
 * the library provides UIImage and PDF generation of barcodes - PDF is more accurate

Things that have been fixed:

 * The Code128 checksum generation 
 * Generation of EAN-13 barcodes that start with 2. See http://code.google.com/p/cocoabarcodes/issues/detail?id=3
Something went wrong with that request. Please try again.