Skip to content

Easily create a QR code and detect a string. Also can call like a method chain.

License

Notifications You must be signed in to change notification settings

natpenguin/QRKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRKit

Carthage compatible Swift 3.0.x

QRKit is a library that create and detect QR code on iOS.

Create

  • Correction level: H
  • Image size: 150x150
  • Rendering environment: software
let string: String = // Any character string
let image = string.qr.creator?.correction(.h).size(CGSize(width: 150, height: 150)).renderer(.software).image

Detect

  • Recognition accuracy: high
let image: UIImage = // Image containing QR code
let strings = image.qr.detector?.accurary(.high).strings

Requirements

  • Swift 3.0
  • iOS 8.0 or later

Installation

  • Insert github "natpenguin/QRKit" "master"
  • Run carthage update.
  • Link your app with QRKit.framework in Carthage/Build.

License

MIT

About

Easily create a QR code and detect a string. Also can call like a method chain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published