-
-
Notifications
You must be signed in to change notification settings - Fork 503
Getting Started with EFQRCode
EFQRCode is a tool to generate QRCode image or recognize QRCode from image, in Swift. It is based on CoreImage
.
- Generation: Create pretty two-dimensional code image with input watermark or icon;
- Recognition: Recognition rate is higher than simply
CIDetector
.
![]() |
![]() |
![]() |
![]() |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
To run the example project, clone the repo, demos are in the 'Examples' folder.
Or you can run the following command in terminal:
git clone git@github.com:EyreFree/EFQRCode.git; cd EFQRCode/Examples/iOS; open 'iOS Example.xcodeproj'
- XCode 8.0+
- Swift 3.0+
- iOS 8.0+ / macOS 10.11+ / tvOS 9.0+
Follow the Installation Guide to integrate EFQRCode to your project.
Curious about what EFQRCode could do and how would it look like when used in your project? See our Cheat Sheet page, in which some useful code snippet are listed. There you can learn how to use EFQRCode in your project better.
At last, please also remember to check the full API Reference whenever you need to know more about EFQRCode.
- Support GIF
- Support more styles
- Please select a high contrast foreground and background color combinations;
- You should use
magnification
instead ofsize
if you want to improve the definition of QRCode image, you can also increase the value of them; - Magnification too high/Size too long/Content too much may cause failure;
- It is recommended to test the QRCode image before put it into use;
- You can contact me if there is any problem, both
Issue
andPull request
are welcome.
PS of PS: I wish you can click the Star
button if this tool is useful for you, thanks, QAQ...
EyreFree, eyrefree@eyrefree.org
EFQRCode is available under the MIT license. See the LICENSE file for more info.
- Ask a question ...
- in discussions
- on Stack Overflow
- Submit an issue
- Open a pull request