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.
git clone firstname.lastname@example.org:Tangdixi/DCPathButton.git
Drag the Source into your project.
Well, it is strongly recommended that you install via CocoaPods
pod 'DCQRCode', '~> 2.0.1'
let qrcode = DCQRCode(info: "https://github.com/Tangdixi/DCQRCode", size: CGSize(width: 300, height: 300))
qrcode.backgroundColor = UIColor.yellowColor() qrcode.color = UIColor.brownColor()
let qrcodeImage = qrcode.image()
More detail just head to the Example Project
Support quicklook in Xcode
All you need is open an issue, I'll answer it ASAP !
Thanks @knightbat's PR (Migration to Swift 3) !!!!
DCQRCode is available under the MIT license. See the LICENSE file for more info.