Latest 4.1.3
Homepage https://github.com/hyperoslo/BarcodeScanner
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit, AVFoundation
Authors

BarcodeScanner

CI Status
Version
Swift
Carthage Compatible
License
Platform

Description

BarcodeScanner is a simple and beautiful wrapper around the camera with
barcode capturing functionality and a great user experience.

  • [x] Barcode scanning.
  • [x] State modes: scanning, processing, unauthorized, not found.
  • [x] Handling of camera authorization status.
  • [x] Animated focus view and custom loading indicator.
  • [x] Torch mode switch.
  • [x] Customizable colors, informational and error messages.
  • [x] No external dependencies.
  • [x] Demo project.

Table of Contents

BarcodeScanner Icon

Usage

Controller

To start capturing just instantiate BarcodeScannerViewController, set needed
delegates and present it:

let viewController = BarcodeScannerViewController()
viewController.codeDelegate = self
viewController.errorDelegate = self
viewController.dismissalDelegate = self

present(viewController, animated: true, completion: nil)
BarcodeScanner scanning

Latest podspec

{
    "name": "BarcodeScanner",
    "summary": "Simple and beautiful barcode scanner.",
    "version": "4.1.3",
    "homepage": "https://github.com/hyperoslo/BarcodeScanner",
    "license": "MIT",
    "authors": {
        "Hyper Interaktiv AS": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hyperoslo/BarcodeScanner.git",
        "tag": "4.1.3"
    },
    "social_media_url": "https://twitter.com/hyperoslo",
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "Sources/**/*",
    "resource_bundles": {
        "BarcodeScanner": [
            "Images/*.{png}"
        ],
        "Localization": [
            "Localization/*.lproj/Localizable.strings"
        ]
    },
    "frameworks": [
        "UIKit",
        "AVFoundation"
    ],
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    }
}

Pin It on Pinterest

Share This