Latest 0.8.0
License MIT
Platforms ios 9.0
Dependencies Vandelay, QRCodeReader.swift

Vandelay logo


Build Status


PlatformSwift 4.2License
Twitter: @danielsaidi


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.



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.


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.


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.


Daniel Saidi, [email protected]


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": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Daniel Saidi": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.8.0"
    "social_media_url": "",
    "platforms": {
        "ios": "9.0"
    "source_files": "VandelayQr/**/*.{swift}",
    "dependencies": {
        "Vandelay": [
        "QRCodeReader.swift": []

Pin It on Pinterest

Share This