{"id":20173367,"url":"https://github.com/d-date/swiftbarcodereader","last_synced_at":"2026-02-23T10:08:40.419Z","repository":{"id":135912858,"uuid":"69779263","full_name":"d-date/SwiftBarcodeReader","owner":"d-date","description":"Capturing Barcode / QR written in Swift","archived":false,"fork":false,"pushed_at":"2017-03-28T02:49:41.000Z","size":30,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-24T22:05:52.437Z","etag":null,"topics":["swift"],"latest_commit_sha":null,"homepage":null,"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/d-date.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2016-10-02T04:42:39.000Z","updated_at":"2023-10-30T00:11:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"66cd5dc0-ab0e-4cb2-8b5a-876e91c5502f","html_url":"https://github.com/d-date/SwiftBarcodeReader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/d-date/SwiftBarcodeReader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-date%2FSwiftBarcodeReader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-date%2FSwiftBarcodeReader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-date%2FSwiftBarcodeReader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-date%2FSwiftBarcodeReader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-date","download_url":"https://codeload.github.com/d-date/SwiftBarcodeReader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-date%2FSwiftBarcodeReader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29741144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["swift"],"created_at":"2024-11-14T01:35:52.197Z","updated_at":"2026-02-23T10:08:40.411Z","avatar_url":"https://github.com/d-date.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftBarcodeReader\n\nThis is a helper library for capturing barcode or QR written in Swift.\n\n## Usage\n\nOn calling `presentBarcodeReader`, capturing View Controller will be modaled.\n\nYou can specifiy `AVMetadataObjectTypes` as enum, requirement of change camera position button and handling result/error using closure.\n\n```swift\nimport SwiftBarcodeReader\n\nfunc appear(){\n        presentBarcodeReader(scanTypes: [.EAN13Code], //you can specify code type to scan type as enum value\n                             needChangePositionButton: true, // If you need change position button, pass `true`\n                             success: { (type, value) in\n            print(\"type:\\(type) value:\\(value)\")\n            self.resultLabel.text = \"\\(value)\"\n\n        }) {(canceled, error) in\n            \n            //cancel handle when tapped back button\n            if canceled {\n                print(\"canceled\")\n            }\n            \n            //error handle when occured some error\n            if error != nil {\n                print(\"error:\\(error)\")\n            }\n        }\n    }\n```\n\n\n## Requirements\n\n* Xcode 8 and Swift 3.0\n* iOS 8.0 and later\n\n## Installation\n\n### Cocoapod\n\n```ruby\npod \"SwiftBarcodeReader\"\n```\n\n### Carthage\n\nPrepare Cartfile, then add below.\n\n``` ruby\ngithub \"d-date/SwiftBarcodeReader\"\n```\n\nRun below on Terminal.\n\n``` ruby\ncarthage update --platform-iOS\n```\n\n## Author\n\nDaiki Matsudate([@d_date](https://twitter.com/d_date))\n\n## Contribute\n\n If you want to add new feature or fix bug, make an issue first and try to contact me.\n\n## License\n\nSwiftBarcodeReader is available under the MIT license. See the LICENSE file for more info.\n\n## TODO\n\n* Custermizable Capturing UI\n* Show Capturing Rect\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-date%2Fswiftbarcodereader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-date%2Fswiftbarcodereader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-date%2Fswiftbarcodereader/lists"}