Barcode.Swift

Pure Swift barcode library — Easy 2 Steps × 4 output modes

Easy 2 Steps
1
Create barcode
let qr = QRCode(outputFormat: "png")
2
Draw!
try qr.draw(code: data, size: 300)

PDF output uses HTML rendering with embedded barcodes

URL, text, or numbers

Base64 PNG getImageBase64()
SVG Draw() → getSVG()
PDF Invoice HTML + Barcodes
Canvas Illustration + Barcodes
</> SWIFT CODE
PREVIEW
All 18 barcode types and full API: Manual