Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!