This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
62 lines (49 loc) · 2.44 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
libBarcodes — library which summarises several efforts of the scanning and
generating of barcodes for iOS under the unified single umbrella controller
Some portions of scan controller are acknowledged from CardIO library, by the courtesy
of eBay Software Foundation. See LICENSE file
----------------------------------------------------------------------------------------
libBarcodes aggregates three ways of barcode scanning (with 3rd party components
as well):
* iOS system approach (iOS7+)
* ZXing (https://github.com/TheLevelUp/ZXingObjC ; ZXingObjC port)
* ZBar (http://zbar.sourceforge.net ; curtsy to ultrafast scanning library ever)
libBarcodes aggregates several ways of barcode generating (with 3rd party components
as well):
* iOS system approach (iOS7+, and iOS8+ or iOS9+ for some symbology)
* ZXing (https://github.com/TheLevelUp/ZXingObjC ; ZXingObjC port)
* ZInt (http://www.zint.org.uk)
* qrencode (stand-alone QR generator, http://fukuchi.org/works/qrencode/)
* aztecgen (stand-alone Aztec generator, http://aztecgen.sourceforge.net/)
----------------------------------------------------------------------------------------
Building:
cd barcodes/core
./build.sh [cfg]
where cfg is set of
system - with system scanner/generator (iOS7+)
zxing - with ZXing scanner/generator
zbar - with ZBar scanner
zint - with Zint generator
qr - with qrencode generator
aztec - with aztecgen generator
bitcode - disable bitcode stripping
debug - disable debug info stripping
----------------------------------------------------------------------------------------
Using:
see barcodes/example for sample project
Basically you need to build library and copy it with headers to your project, so
required files are:
barcodes/core/libbarcodes.a
barcodes/core/include/UMBarcodeGenerator.h (for barcodes generating)
barcodes/core/include/UMBarcodeScanViewController.h (for barcodes scanning)
----------------------------------------------------------------------------------------
Note to github.com mirror users:
use https://bitbucket.org/ravel/barcodes (zbar subrepo is missing after the sync)
----------------------------------------------------------------------------------------
Preventing FAQ:
Q: What about ARC?
A: Your project doesn't care which memory management used inside libBarcodes
Q: No, really, why no ARC in libBarcodes?
A: Go away
Q: What about CocoaPods?
A: Certainly, go away