Skip to content

Navigation Menu

Sign up
fontnoPublic

About

A SwiftUI Barcode Generator

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Barcode Generator

Swift package to easily generate barcodes in your SwiftUI projects

Barcode Generators

  • Code 128 Barcode
    • example image
  • PDF417 Barcode
    • example image
  • Aztec Barcode
    • example image

Usage

Code 128 Barcode

import BarcodeGenerator
struct ContentView: View {
 var body: some View {
 Barcode128View(input: "12345678")
 }
}

PDF417 Barcode

import BarcodeGenerator
struct ContentView: View {
 var body: some View {
 BarcodePDF417View(input: "12345678")
 }
}

Aztec Barcode

import BarcodeGenerator
struct ContentView: View {
 var body: some View {
 AztecBarcodeView(input: "12345678")
 }
}

Required parameters - init

  • input - The String message that is encoded in the Barcode

Requirements

  • iOS 16.0+

Installation

dependencies: [
 .package(url: "https://github.com/fontno/BarcodeGenerator.git")
]

Hire Me

I am available to work on Swift projects.

Contact me on github to talk.

About

A SwiftUI Barcode Generator

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /