dcq

DCQRCode

A tiny QRCode Generate Library

Showing:

Popularity

Downloads/wk

0

GitHub Stars

43

Maintenance

Last Commit

4yrs ago

Contributors

3

Package

Dependencies

0

License

MIT

Categories

Readme

DCQRCode

Build Status Build Status

ColorFrame Cat ColorFrame

DCQRCode is a QRCode generate library implement by CoreImage and CoreGraphics. DCQRCode allow you to change the QRCode's color or Position Style, etc. The inspirarion come from the QRCode feature in WeChat.

How To Get Started

git clone git@github.com:Tangdixi/DCPathButton.git

Installation

Drag the Source into your project.
Well, it is strongly recommended that you install via CocoaPods

CocoaPods

pod 'DCQRCode', '~> 2.0.1'

Usage

  • Create a DCQRCode
let qrcode = DCQRCode(info: "https://github.com/Tangdixi/DCQRCode", size: CGSize(width: 300, height: 300))
  • Configure the qrcode
qrcode.backgroundColor = UIColor.yellowColor()
qrcode.color = UIColor.brownColor()
  • Output the qrcode image
let qrcodeImage = qrcode.image()

More detail just head to the Example Project

Documentation

Support quicklook in Xcode

Bug, Suggestions

All you need is open an issue, I'll answer it ASAP !

TODO

  • Allow reverse position color
  • Generate pattern images as the QRCode mask
  • Change QRCode style, like round rect

Contribution

Thanks @knightbat's PR (Migration to Swift 3) !!!!

License

DCQRCode is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100