Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ramonxm/barcode-scanner
π¦ | Barcode is an iOS app built with SwiftUI, designed to scan and decode barcodes.
https://github.com/ramonxm/barcode-scanner
avfoundation barcode-scanner swift swiftui
Last synced: about 1 month ago
JSON representation
π¦ | Barcode is an iOS app built with SwiftUI, designed to scan and decode barcodes.
- Host: GitHub
- URL: https://github.com/ramonxm/barcode-scanner
- Owner: ramonxm
- Created: 2024-09-01T17:56:35.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T00:40:05.000Z (about 2 months ago)
- Last Synced: 2024-09-29T11:25:39.513Z (about 2 months ago)
- Topics: avfoundation, barcode-scanner, swift, swiftui
- Language: Swift
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π¦ Barcode
[In Development]
**Barcode** is a fast and simple iOS app built with SwiftUI, designed to scan and decode barcodes. This app supports multiple barcode formats and provides a clean, user-friendly interface for quick scanning.
## π Features
- **Fast Scanning**: Instantly scan and decode barcodes using your deviceβs camera.
- **Multiple Barcode Formats**: Supports various formats including QR codes, EAN, UPC, Code 128, and more.
- **SwiftUI Interface**: A modern and responsive interface built entirely with SwiftUI.
- **History Log**: Save and view previously scanned barcodes.
- **Lightweight and Efficient**: Designed to be lightweight with minimal battery usage.## π οΈ Technologies Used
- **SwiftUI**: For creating the app's user interface.
- **AVFoundation**: For accessing the device camera and scanning barcodes.
- **CoreData**: To store and manage a history of scanned barcodes.
- **Combine**: For managing state and handling asynchronous events.## π¦ Installation
1. **Clone the repository**:
```bash
git clone https://github.com/ramonxm/barcode.git
cd barcode
```2. **Open the project in Xcode**:
```bash
open BarcodeScanner.xcodeproj
```3. **Build and run the app** on your desired iOS device or simulator.
## π± How to Use
1. **Allow Camera Access**: When you first launch the app, it will request access to your device's camera. Please grant permission to start scanning.
2. **Scan a Barcode**: Position the barcode within the camera frame, and the app will automatically detect and decode it.
3. **View Details**: After scanning, the app will display the decoded information. You can choose to save this information for future reference.
4. **Access Scan History**: View all previously scanned barcodes from the history tab.## π Supported Barcode Formats
- **QR Code**
- **EAN-8**
- **EAN-13**
- **UPC-A**
- **UPC-E**
- **Code 39**
- **Code 93**
- **Code 128**
- **PDF417**
- **Aztec**## π¨ UI Preview
//
## π Additional Resources
- [AVFoundation Documentation](https://developer.apple.com/documentation/avfoundation)
- [SwiftUI Documentation](https://developer.apple.com/documentation/swiftui)
- [CoreData Documentation](https://developer.apple.com/documentation/coredata)## π€ Contributing
Contributions are welcome! Whether it's improving documentation, fixing bugs, or adding new features, feel free to open a pull request or issue.
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
**Barcode** is the perfect tool for scanning and managing barcodes quickly and efficiently. Happy scanning!