{"id":23900700,"url":"https://github.com/pcjbird/qrcodeuikit","last_synced_at":"2025-04-10T20:55:09.625Z","repository":{"id":62451505,"uuid":"115991775","full_name":"pcjbird/QRCodeUIKit","owner":"pcjbird","description":"一款让扫码变得简单的视图控制器。","archived":false,"fork":false,"pushed_at":"2023-07-24T07:51:06.000Z","size":1353,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T12:02:54.002Z","etag":null,"topics":["barcode","qrcode","scan","ui"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/pcjbird.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":"2018-01-02T08:17:43.000Z","updated_at":"2023-08-22T12:14:36.000Z","dependencies_parsed_at":"2025-01-04T20:36:58.148Z","dependency_job_id":"b4cb01e5-adea-4ed7-93dc-03ed1e5bd042","html_url":"https://github.com/pcjbird/QRCodeUIKit","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQRCodeUIKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQRCodeUIKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQRCodeUIKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQRCodeUIKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcjbird","download_url":"https://codeload.github.com/pcjbird/QRCodeUIKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298091,"owners_count":21080313,"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":["barcode","qrcode","scan","ui"],"created_at":"2025-01-04T20:36:38.298Z","updated_at":"2025-04-10T20:55:09.597Z","avatar_url":"https://github.com/pcjbird.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](logo.png)\n[![Build Status](http://img.shields.io/travis/pcjbird/QRCodeUIKit/master.svg?style=flat)](https://travis-ci.org/pcjbird/QRCodeUIKit)\n[![Pod Version](http://img.shields.io/cocoapods/v/QRCodeUIKit.svg?style=flat)](http://cocoadocs.org/docsets/QRCodeUIKit/)\n[![Pod Platform](http://img.shields.io/cocoapods/p/QRCodeUIKit.svg?style=flat)](http://cocoadocs.org/docsets/QRCodeUIKit/)\n[![Pod License](http://img.shields.io/cocoapods/l/QRCodeUIKit.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![GitHub release](https://img.shields.io/github/release/pcjbird/QRCodeUIKit.svg)](https://github.com/pcjbird/QRCodeUIKit/releases)\n[![GitHub release](https://img.shields.io/github/release-date/pcjbird/QRCodeUIKit.svg)](https://github.com/pcjbird/QRCodeUIKit/releases)\n[![Website](https://img.shields.io/website-pcjbird-down-green-red/https/shields.io.svg?label=author)](https://pcjbird.github.io)\n\n# QRCodeUIKit\n一款让扫码变得简单的视图控制器。\n    \n    \n## 演示 / Demo\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"demo.gif\" title=\"demo\"\u003e\u003c/p\u003e\n    \n    \n##  安装 / Installation\n\n方法一：`QRCodeUIKit` is available through CocoaPods. To install it, simply add the following line to your Podfile:\n\n```\npod 'QRCodeUIKit'\n```\n    \n    \n## 使用 / Usage   \n```\n#import \u003cQRCodeUIKit/QRCodeUIKit.h\u003e\n     \n- (IBAction)OnQRCodeScan:(id)sender {\n     QuickQRCodeScanController *scanVC = [QuickQRCodeScanController new];\n     [self.navigationController pushViewController:scanVC animated:YES];\n}\n     \n- (IBAction)OnBarCodeScan:(id)sender {\n     QuickBarCodeScanController *scanVC = [QuickBarCodeScanController new];\n     [self.navigationController pushViewController:scanVC animated:YES];\n}\n     \n- (IBAction)OnGenQRCode:(id)sender {\n     UIImage* logo = [[UIImage imageNamed:@\"AppIcon60x60\"] yy_imageByRoundCornerRadius:8.0f];\n     self.qrcode.image = [QuickQRCodeGenerator generateQRCode:@\"我是一个二维码\" width:CGRectGetWidth(self.qrcode.frame) height:CGRectGetHeight(self.qrcode.frame) logo:logo logoSize:CGSizeMake(60, 60)];\n     self.qrcodeback.hidden = NO;\n}\n     \n- (IBAction)OnGenBarCode:(id)sender {\n     NSString* code = @\"8986011684013010860\";\n     self.barcodeLabel.text = [QuickBarCodeGenerator formatCode:code];\n     self.barcode.image = [QuickBarCodeGenerator generateBarCode:code width:CGRectGetWidth(self.barcode.frame) height:CGRectGetHeight(self.barcode.frame)];\n}\n```\n    \n    \n## 关注我们 / Follow us\n  \n\u003ca href=\"https://itunes.apple.com/cn/app/iclock-一款满足-挑剔-的翻页时钟与任务闹钟/id1128196970?pt=117947806\u0026ct=com.github.pcjbird.QRCodeUIKit\u0026mt=8\"\u003e\u003cimg src=\"https://github.com/pcjbird/AssetsExtractor/raw/master/iClock.gif\" width=\"400\" title=\"iClock - 一款满足“挑剔”的翻页时钟与任务闹钟\"\u003e\u003c/a\u003e\n\n[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=https://github.com/pcjbird/QRCodeUIKit)\n[![Twitter Follow](https://img.shields.io/twitter/follow/pcjbird.svg?style=social)](https://twitter.com/pcjbird)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fqrcodeuikit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcjbird%2Fqrcodeuikit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fqrcodeuikit/lists"}