twostraws/CodeScanner
Some data may be outdated — see provenance labels.
A SwiftUI view that is able to scan barcodes, QR codes, and more, and send back what was found. observed · 2026-10-01
Health v2 · maintenance only
53/100
- Activity 67
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2504
- days_rel: 688
- days_push: 201
- n_releases_24m: 1
Adoption not part of the score
1227 stars · 328 forks observed · 2026-10-01
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-10-01 · cb0917ee754c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| twostraws/CodeScanner | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="twostraws/CodeScanner")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem