DCQRCode 2.0.1

DCQRCode 2.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release May 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Pauls Macbook on 29 Aug, 2015 3:08 pm.



DCQRCode 2.0.1

  • By
  • Tangdixi

DCQRCode

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 [email protected]:Tangdixi/DCPathButton.git

Installation

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

Usage

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

More detail just head to the Example Project

Documentation

Documentation is added into the source file.
You can use option and click the keyword 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

License

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