EFQRCode generates styled QR images with icons or watermarks and reads QR content from images across Apple's platforms.
Overview
EFQRCode is a lightweight pure-Swift library for creating stylized QR code images and recognizing codes in existing pictures. It is built on CoreGraphics, CoreImage, and ImageIO and can be added via CocoaPods, Carthage, or Swift Package Manager.
Recognition returns an array of strings because a single image may contain multiple codes. Generation supports static designs with embedded logos or watermarks, including transparency, and animated QR codes built from image sequences. Export formats include PNG, JPEG, PDF, GIF, SVG, and several video containers for animated output.
Documented platform requirements cover recent iOS, macOS, tvOS, watchOS, and visionOS releases. Demo apps are available on the App Store and Mac App Store, and sample projects ship in the bundled Examples folder.
The authors recommend high-contrast colors, adequate output size, and testing scannable results before production use, and note that very large payloads or media can cause generation failures.
Key features
- QR recognition from CGImage
- Stylized static QR generation
- Animated QR from image sequences
- Watermark and icon overlays
- Multiple static and animated exports
- Swift Package Manager distribution
- CoreImage-based rendering pipeline
Use cases
- Branded QR codes in iOS and macOS apps
- Scanning multiple codes in one photo
- Animated marketing QR assets
- Server-free on-device QR workflows