Skip to content
/ QRCode Public

A QRCode generator written in Objective-C & Swift with native api

Notifications You must be signed in to change notification settings

tasselx/QRCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRCode

####A QRCode generator written in Object-C with native api

Usage

 _imageView.image = ({
    
        QRCode *qrcode = [[QRCode alloc] init];
        qrcode.dataString = @"www.baidu.com";
        qrcode.size = _imageView.bounds.size;
        qrcode.errorCorrection = ErrorCorrectionHigh;
        qrcode.frontColor = [UIColor redColor];
        qrcode.backgroudColor = [UIColor cyanColor];
        qrcode.iconImage  = [UIImage imageNamed:@"dog.jpg"];
        qrcode.iconRadius = 8;
        qrcode.iconBorderWidth = 10;
        qrcode.iconBorderColor = [UIColor whiteColor];
        [qrcode qrImage];
    
    });


##ScreenShot

image

About

A QRCode generator written in Objective-C & Swift with native api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages