Latest 0.1.0
Homepage https://github.com/teffi/iOS-QR-Code-Generator
License MIT
Platforms ios 8.0, requires ARC
Authors

iOS QR Code Generator

A simple Objective-C library which simplify QR Code generation starting from a string.

Requirements

  • iOS >= 8.0

Usage

#import "QRCodeGenerator.h"

// generate a QR Code with `Hello World` string and default settings: black QR Code, white background, and 200x200 size
imageView.image = [[QRCodeGenerator alloc] initWithString:@"Hello World"] getImage];

Customization

#import "QRCodeGenerator.h"

// generate a QR Code with `Hello World` and custom size and aspect
QRCodeGenerator *qr = [[QRCodeGenerator alloc] initWithString:@"Hello World"];
qr.size = CGSizeMake(400.0f, 400.0f); // 400x400 size
qr.color = [CIColor colorWithRGBA:@"#FFFFFF"]; // white QR Code color
qr.backgroundColor = [CIColor colorWithRGBA:@"#000000"]; // black background color

imageView.image = [qr getImage];

Author

Giovanni Scarrone, https://www.giovanniscarrone.it/

License

MIT

Latest podspec

{
    "name": "iOS-QR-Code-Generator",
    "version": "0.1.0",
    "summary": "A simple Objective-C library which simplify QR Code generation.",
    "description": "'A simple Objective-C library which simplify QR Code generation using CIQRCodeGenerator.CIQRCodeGenerator. Authored by Giovanni Scarrone, https://www.giovanniscarrone.it/'",
    "homepage": "https://github.com/teffi/iOS-QR-Code-Generator",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Teffi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/teffi/iOS-QR-Code-Generator.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "QRCodeGenerator/*"
}

Pin It on Pinterest

Share This