Skip to content

Dwarven/QRCode-Encoder

Repository files navigation

QRCode-Encoder

CocoaPods Compatible Platform Twitter License

An iOS QRCode Image Encoder

Preview

Podfile

To integrate UIImage+DYQRCodeEncoder into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'UIImage+DYQRCodeEncoder'

How to use

#import "UIImage+DYQRCodeEncoder.h"

[UIImage DY_QRCodeImageWithString:@"https://github.com/Dwarven/QRCode-Encoder" size:300.f]

// or

[UIImage DY_QRCodeImageWithString:@"https://github.com/Dwarven/QRCode-Encoder" size:300.f color:[UIColor darkGrayColor]]

Enjoy