Skip to content

samrithyoeun/QrCodeHelper

Repository files navigation

QrCodeHelper

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

QrCodeHelper is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'QrCodeHelper'

Features

QrCodeHelper can help you to generate the QrCode with multiple options:

  • embeded image in the center
  • invert the qr to have the transparent background effect
  • apply the custom tint color to the QrCode

image

Usage

QrCodeHelper was created as part of UIImageView extension, all you need to do is call setQrCode funtions and give the appropriate param

imageView.setQrCode(embededContent: content)

you can of course add the desired options including .embeddedLogo, .invertedColor and .tintColor

imageView.setQrCode(embededContent: content,
                    options: [.embeddedLogo("logo", size: CGSize(width: 80, height: 80)),
                              .tintColor(color: .red)]

Author

samrith.yoeun@gmail.com, sam.yoeun@pathmazing.com

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published