twostraws/CodeScanner
A SwiftUI view that is able to scan barcodes, QR codes, and more, and send back what was found. observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 75
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 73
- age_days: 2456
- days_rel: 640
- days_push: 153
- n_releases_24m: 2
Adoption not part of the score
1224 stars · 328 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CodeScanner is a SwiftUI library providing a CodeScannerView struct that scans QR codes, barcodes, and other code types using the device camera. It wraps AVFoundation scanning into a simple declarative view with completion callbacks and customization options.
Use cases
- scan qr codes in a swiftui app
- read barcodes with the iphone camera
- add a code scanner view to an ios app
- scan multiple codes continuously
- simulate qr scanning in the ios simulator
When to choose
- you are building an iOS app with SwiftUI and need camera-based code scanning
- you want a simple drop-in scanner view with scan modes and simulator support
When to avoid
- you need code scanning on Android or non-Apple platforms
- your app is not using SwiftUI
- you need to scan codes from images rather than a live camera feed
Facets
library · maturity active
ui-components computer-vision sdk mobile-development frontend developer-tools swiftui qr-code barcode-scanning camera avfoundation ios swift mobile
1 source
- readme: https://github.com/twostraws/CodeScanner · fetched 2026-08-28 · cb0917ee754c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| twostraws/CodeScanner | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="twostraws/CodeScanner")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem