A QR code generator written in pure Swift with no dependencies.
To use in your project, add the following dependency to your
.package(url: "https://github.com/fwcd/swift-qrcode-generator.git", from: "1.0.0")
Swift QR Code Generator is available through CocoaPods. To install it, simply add the following line to your Podfile:
import QRCodeGenerator let qr = try! QRCode.encode(text: text, ecl: .medium) let svg = qr.toSVGString(border: 4)