Skip to content

idevChandra6/Playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#QR framework QR framework provides an easy way to scan and generate QR barcodes.

#How to integrate into a project:

  1. Drag and drop QR.framework into the project.
  2. Include QR.framework into the project target’s embedded binaries.
  3. Import QR into the Swift files as necessary.

#How to QR codes:

  1. In your storyboard, subclass a new ViewController as QRScannerViewController and set QR as its module.
  2. In prepareForSegue method, QRScannerViewController's delegate
  3. Conform to QRScannerViewControllerDelegate protocol to get call backs when a QR code is read or when there is an error. Implement the following methods:
func didScanBarcodeWith(resultString: String)

func didEncounterError(error: NSError)

#How to generate QR codes Use

func createQRFromString(_ str: String, size: CGSize) -> UIImage? 

#Requirements:

  • iOS 10.0+
  • Swift 3.0
  • Xcode 8.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published