
- 248 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Summary Barcodes with iOS is the first and only book that comprehensively addresses barcode technology for the iOS developer. It offers an introduction to commonly used formats, such as ISBN and UPC codes, and provides real-world examples that teach you how to integrate code scanning and generation into your apps. This book consolidates information about applicable Apple frameworks in one place so you can quickly add native barcode support to your existing enterprise apps or start building new apps that help bring together the physical and digital worlds.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Barcodes are a universal way to track and share information, appearing on everything from cereal boxes to shop windows. Starting with iOS 7, Apple has added native features for building apps that scan, display, and print barcodes, eliminating the need for third-party libraries. About the Book Barcodes with iOS teaches you how to effectively use barcodes in your iOS apps. You'll master Apple's new barcode frameworks while you explore real-world examples that integrate code scanning and generation and metadata retrieval into your apps. Along the way, you'll pick up numerous best practices for bringing together the physical and digital worlds.This book is written for readers with a working knowledge of Objective-C and iOS app development. What's Inside
- Learn about all barcode formats supported by iOS
- Native barcode scanning with AV Foundation
- Using Core Image and BarCodeKit to produce a wide range of barcodes
- Printing to sheets and labels with AirPrint
- Retrieving metadata for products with NSURLSession and NSURLProtocol
- Harnessing context information from Core Location and iBeacons
About the Author Oliver Drobnik is an independent consultant specializing in custom iOS and Mac development. Table of Contents
- Barcodes, iOS, and you 1
- Media capture with AV Foundation 18
- Scanning barcodes 48
- Passbook, Apple's digital wallet 70
- Generating barcodes 97
- Getting metadata for barcodes 133
- Putting barcodes in context 172
-
Appendices
- History of the UPC 205
- GTIN prefix ranges 212
- GS1-128 application identifiers 217
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Chapter 1. Barcodes, iOS, and you
- Why the nexus of barcodes and mobile technologies is creating new, exciting opportunities for app makers
- The barcode symbologies in iOS you should know about
- The distinctions between 1D and 2D barcodes
- A brief history of the UPC/GTIN, the mother of modern barcodes
- The Passbook app lets you add new passes to your device by scanning special QR Codes.
- The iTunes app has the ability to redeem iTunes credits by scanning a voucher.
- The Apple Store app has an in-store UI that lets you scan the barcodes of accessories for unassisted checkout (see figure 1.1).
Figure 1.1. Barcode scanning in the Apple Store app

1.1. The evolution of barcodes
Figure 1.2a. Timeline of barcodes

Figure 1.2b. Timeline of barcodes

1.1.1. One dimension: laser
Figure 1.3. A laser needs to cross all bars of a 1D barcode for scanning

1.1.2. Two dimensions: CCD
Figure 1.4. A CCD camera can âseeâ the squares that make up a 2D b...
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this Book
- About the Cover Illustration
- Chapter 1. Barcodes, iOS, and you
- Chapter 2. Media capture with AV Foundation
- Chapter 3. Scanning barcodes
- Chapter 4. Passbook, Appleâs digital wallet
- Chapter 5. Generating barcodes
- Chapter 6. Getting metadata for barcodes
- Chapter 7. Putting barcodes in context
- Appendix A. History of the UPC
- Appendix B. GTIN prefix ranges
- Appendix C. GS1-128 application identifiers
- Index
- List of Figures
- List of Tables
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app