{"id":13903097,"url":"https://github.com/MxABC/swiftScan","last_synced_at":"2025-07-18T00:33:15.853Z","repository":{"id":2872138,"uuid":"47696520","full_name":"MxABC/swiftScan","owner":"MxABC","description":"A barcode and qr code scanner( 二维码 各种码识别，生成，界面效果)","archived":false,"fork":false,"pushed_at":"2023-10-25T08:23:52.000Z","size":492,"stargazers_count":1606,"open_issues_count":86,"forks_count":325,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-07-09T19:15:09.395Z","etag":null,"topics":["avfoundation","barcode","qrcode","scan"],"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/MxABC.png","metadata":{"files":{"readme":"README-Chinese.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}},"created_at":"2015-12-09T14:34:01.000Z","updated_at":"2025-07-08T21:31:44.000Z","dependencies_parsed_at":"2024-01-19T10:17:29.317Z","dependency_job_id":"60d2a6f6-968e-4439-ab14-047e5a823996","html_url":"https://github.com/MxABC/swiftScan","commit_stats":{"total_commits":113,"total_committers":18,"mean_commits":6.277777777777778,"dds":"0.34513274336283184","last_synced_commit":"b0cc9aea11140125b75d1baaccb16c9567cdf69a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/MxABC/swiftScan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MxABC%2FswiftScan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MxABC%2FswiftScan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MxABC%2FswiftScan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MxABC%2FswiftScan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MxABC","download_url":"https://codeload.github.com/MxABC/swiftScan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MxABC%2FswiftScan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265179013,"owners_count":23723385,"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":["avfoundation","barcode","qrcode","scan"],"created_at":"2024-08-06T22:01:36.967Z","updated_at":"2025-07-18T00:33:15.544Z","avatar_url":"https://github.com/MxABC.png","language":"Swift","readme":"\r\n# iOS 二维码、条形码 Swift 版本\r\n\r\n\r\n### Objective-c版本: **[LBXScan](https://github.com/MxABC/LBXScan)**\r\n\r\n\r\n\r\n## 介绍\r\n**swift封装系统自带扫码及识别图片功能**\r\n- 扫码界面效果封装\r\n- 二维码和条形码识别及生成\r\n- 相册获取图片后识别（测试效果不好...）\r\n\r\n**模仿其他app**\r\n- 模仿QQ扫码界面\r\n- 支付宝扫码框效果\r\n- 微信扫码框效果\r\n\r\n**其他设置参数自定义效果**\r\n\r\n- 扫码框周围区域背景色可设置\r\n- 扫码框颜色可也设置\r\n- 扫码框4个角的颜色可设置、大小可设置\r\n- 可设置只识别扫码框内的图像区域\r\n- 可设置扫码成功后，获取当前图片\r\n- 根据扫码结果，截取码的部分图像(在模仿qq扫码界面，扫码成功后可看到)\r\n- 动画效果选择:   线条上下移动、网格形式移动、中间线条不移动(一般扫码条形码的效果).\r\n\r\n\r\n\r\n\r\n### CocoaPods安装\r\n\r\n\r\n\r\n```ruby\r\nsource 'https://github.com/CocoaPods/Specs.git'\r\nplatform :ios, '8.0'\r\nuse_frameworks!\r\npod 'swiftScan', '~\u003e 1.1.2'\r\n```\r\n\r\n\r\n### 手动安装 \r\n下载后将Source文件夹copy到工程即可\r\n\r\n\r\n### 版本\r\n#### v1.0.9\r\nswift3.0\r\n#### v1.0.8\r\n修改适应cocoapods安装后，编译报错bug\r\n\r\n\r\n## 界面效果\r\n\r\n(加载速度慢，可刷新网页)\r\n\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page1.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page2.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page3.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page4.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page5.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page6.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page7.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page8.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page9.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page10.jpg)\r\n![image](https://github.com/MxABC/swiftScan/blob/master/ScreenShots/page11.jpg)\r\n","funding_links":[],"categories":["OOM-Leaks-Crash","Swift"],"sub_categories":["Scan"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMxABC%2FswiftScan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMxABC%2FswiftScan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMxABC%2FswiftScan/lists"}