Latest 0.8.0
Homepage https://github.com/danielsaidi/VandelayQr
License MIT
Platforms ios 9.0
Dependencies Vandelay, QRCodeReader.swift
Authors

Vandelay logo


Version

Build Status
CocoaPods


Carthage

PlatformSwift 4.2License
Twitter: @danielsaidi

About

VandelayQr adds QR code support to Vandelay. It includes a
QR code importer that can import strings and data by scanning QR codes.
It also has a class that can create QR code images from URLs.

Installation

Cocoapods

If you use CocoaPods, add this line to your Podfile and
run pod install:

pod "VandelayQr"

This also installs Vandelay and QRCodeReader
since they are required by VandelayQr.

Carthage

If you use Carthage, add this line to your Cartfile then
run carthage update --platform iOS:

github "danielsaidi/Vandelay"

This also builds Vandelay and QRCodeReader,
since they are required by VandelayQr. You must add them to your app.

Exporting data

VandelayQR has no data exporters, but you can use the QrCodeGenerator
protocol and StandardQrCodeGenerator implementation to create images
of QR codes, that refer to urls that contain importable data.

Importing data

If you add VandelayQr, you get access to the following importer:

  • QrCodeImporter – imports strings & data by scanning QR codes

To use this feature, make sure to specify a NSCameraUsageDescription
text in Info.plist. Otherwise, the app will crash. Also make sure that
the app can fetch the scanned url, by configuring the app Info.plist
NSAppTransportSecurity setting. The app has NSAllowsArbitraryLoads
set to true. For real world apps, this is considered a bad practice.

Example Project

The main Vandelay repository contains an example app, that
shows you how to use the QR code support.

Versioning

Versions < 1.0.0 will have breaking changes between minor versions, so
VandelayQr 0.8.0 will probably not be compatible with 0.7.0 etc.

Author

Daniel Saidi, [email protected]

License

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

Latest podspec

{
    "name": "VandelayQr",
    "version": "0.8.0",
    "summary": "VandelayQr adds QR code support to Vandelay.",
    "description": "VandelayQr adds QR code support to Vandelay. You can use it to importndata by scanning QR codes.",
    "homepage": "https://github.com/danielsaidi/VandelayQr",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Daniel Saidi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/danielsaidi/VandelayQr.git",
        "tag": "0.8.0"
    },
    "social_media_url": "https://twitter.com/danielsaidi",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "VandelayQr/**/*.{swift}",
    "dependencies": {
        "Vandelay": [
            "0.8.1"
        ],
        "QRCodeReader.swift": []
    }
}

Pin It on Pinterest

Share This