Download the latest version ,then unzip & drag-drop the Classes folder inside your iOS project. You can do that directly within Xcode,
just be sure you have the copy items if needed and the create groups options checked.
Do you want to use SwiftQRCodeScanner with SwiftUI?
SwiftQRCodeScanner
Features
Screenshots
Example
To run the example project, clone the repo, go to Example folder and open SwiftQRScanner.xcworkspace.
Requirements
Installation
Using CocoaPods
SwiftQRScanner is available through CocoaPods. To install it, simply add the following line to your Podfile:
Swift Package Manager Installation
Swift Package Manager
Manual Installation
Download the latest version ,then unzip & drag-drop the Classes folder inside your iOS project. You can do that directly within Xcode, just be sure you have the copy items if needed and the create groups options checked.
Do you want to use SwiftQRCodeScanner with SwiftUI?
Please follow this example QRCodeSwiftUIExample.
How to use
Import SwiftQRScanner module and confirm to the QRScannerCodeDelegate protocol.
Create instance of SwiftQRScanner to scan QR code.
To use more features like camera switch, flash and many other options use QRScannerConfiguration:
And finally implement delegate methods to get result:
Complete code:
You can use following QRScannerConfiguration properties:
Author
Vinod, vinod.jagtap@hotmail.com
License
SwiftQRScanner is available under the MIT license. See the LICENSE file for more info.