GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sparrowcode/SPQRCode: The native QR code scanner of iOS. Repeated system scanner from the camera app.

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
Example Apps
Example Apps
 
 
Sources/SPQRCode
Sources/SPQRCode
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 
TODO.md
TODO.md
 
 

Repository files navigation

SPQRCode

iOS Dev Community

Installation

Ready for use on iOS 13+.

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Once you have your Swift package set up, adding as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/sparrowcode/SPQRCode", .upToNextMajor(from: "1.0.4"))
]

Manually

If you prefer not to use any of dependency managers, you can integrate manually. Put Sources/SPQRCode folder in your Xcode project. Make sure to enable Copy items if needed and Create groups.

Usage

Example for handle QRCode.

SPQRCode.scanning(
    detect: { data, controller in
        return data
    }, 
    handled: { data, controller in
        controller.dismiss(animated: true)
    },
    on: viewController
)

If you want allow handle only specific type, like url or Ethereum wallet, in detect handler retun nil if you don't want handle current QR code data.

About

The native QR code scanner of iOS. Repeated system scanner from the camera app.

Topics

iosqrqr-codeqr-scannerqrcodeqrscannerspmswiftuikiturlxcode

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

85 stars

Watchers

1 watching

Forks

8 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.