iThink32 / QR-Barcode-Generator

QR-Barcode-Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QR-Barcode-Generator

QR-Barcode-Generator

This enum returns either a barcode or a qrcode from a string you pass to it

Use it as follows:

        let code = CodeType.barcode
        imgView.image = code.image(string: "hello how are you??", imgViewFrame: imgView.frame)

OR

        let code = CodeType.qrcode
        imgView.image = code.image(string: "hello how are you??", imgViewFrame: imgView.frame)

About

QR-Barcode-Generator

License:MIT License


Languages

Language:Swift 100.0%