The Wayback Machine - https://web.archive.org/web/20201221151238/https://github.com/gscarrone/iOS-QR-Code-Generator
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

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

About

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

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.