{"id":19952287,"url":"https://github.com/sparrowcode/spqrcode","last_synced_at":"2025-05-03T19:30:48.410Z","repository":{"id":43032955,"uuid":"465989536","full_name":"sparrowcode/SPQRCode","owner":"sparrowcode","description":"The native QR code scanner of iOS. Repeated system scanner from the camera app.","archived":false,"fork":false,"pushed_at":"2023-11-30T12:56:23.000Z","size":81,"stargazers_count":80,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T20:21:23.699Z","etag":null,"topics":["ios","qr","qr-code","qr-scanner","qrcode","qrscanner","spm","swift","uikit","url","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sparrowcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ivanvorobei","sparrowcode"]}},"created_at":"2022-03-04T05:05:55.000Z","updated_at":"2025-01-06T00:44:57.000Z","dependencies_parsed_at":"2024-11-13T01:12:32.536Z","dependency_job_id":"69379f1b-f055-49e5-b533-e679d31c41f1","html_url":"https://github.com/sparrowcode/SPQRCode","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSPQRCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSPQRCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSPQRCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FSPQRCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparrowcode","download_url":"https://codeload.github.com/sparrowcode/SPQRCode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252241936,"owners_count":21717070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","qr","qr-code","qr-scanner","qrcode","qrscanner","spm","swift","uikit","url","xcode"],"created_at":"2024-11-13T01:12:26.991Z","updated_at":"2025-05-03T19:30:47.786Z","avatar_url":"https://github.com/sparrowcode.png","language":"Swift","readme":"# SPQRCode\n\n\u003cimg src=\"https://user-images.githubusercontent.com/10995774/159624802-497afa7c-70f5-4bd5-893b-dfe01818456b.jpeg\" height=\"550\"/\u003e\n\n### iOS Dev Community\n\n\u003cp float=\"left\"\u003e\n    \u003ca href=\"https://twitter.com/i/communities/1730194338489987403\"\u003e\n        \u003cimg src=\"https://cdn.sparrowcode.io/github/badges/x-community.png?version=1\" height=\"52\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"#apps-using\"\u003e\n        \u003cimg src=\"https://cdn.sparrowcode.io/github/badges/download-on-the-appstore.png?version=4\" height=\"52\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\nReady for use on iOS 13+.\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/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.\n\nOnce 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`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/sparrowcode/SPQRCode\", .upToNextMajor(from: \"1.0.4\"))\n]\n```\n\n### Manually\n\nIf 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`.\n\n## Usage\n\nExample for handle QRCode.\n\n```swift\nSPQRCode.scanning(\n    detect: { data, controller in\n        return data\n    }, \n    handled: { data, controller in\n        controller.dismiss(animated: true)\n    },\n    on: viewController\n)\n```\n\nIf 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.\n\n\n","funding_links":["https://github.com/sponsors/ivanvorobei","https://github.com/sponsors/sparrowcode"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowcode%2Fspqrcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparrowcode%2Fspqrcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowcode%2Fspqrcode/lists"}