Skip to content
VandelayQr adds QR code support to Vandelay.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Vandelay logo

Version Build Status CocoaPods Carthage Platform Swift 4.2 License 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,


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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.