{"id":23900705,"url":"https://github.com/pcjbird/quicksecuritycode","last_synced_at":"2025-04-10T20:54:57.772Z","repository":{"id":62451721,"uuid":"127535742","full_name":"pcjbird/QuickSecurityCode","owner":"pcjbird","description":"A security or sms verify code input control. 一个安全码/短信验证码输入控件，支持4位或6位数字的安全码/短信验证码。","archived":false,"fork":false,"pushed_at":"2018-11-16T01:32:22.000Z","size":366,"stargazers_count":15,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T18:45:03.520Z","etag":null,"topics":["code","input","mobile","phone","security","sms","textfield","verify"],"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}},"created_at":"2018-03-31T13:45:28.000Z","updated_at":"2024-10-21T08:48:20.000Z","dependencies_parsed_at":"2022-11-01T23:33:12.557Z","dependency_job_id":null,"html_url":"https://github.com/pcjbird/QuickSecurityCode","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickSecurityCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickSecurityCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickSecurityCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickSecurityCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcjbird","download_url":"https://codeload.github.com/pcjbird/QuickSecurityCode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298021,"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":["code","input","mobile","phone","security","sms","textfield","verify"],"created_at":"2025-01-04T20:36:41.604Z","updated_at":"2025-04-10T20:54:57.753Z","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/QuickSecurityCode/master.svg?style=flat)](https://travis-ci.org/pcjbird/QuickSecurityCode)\n[![Pod Version](http://img.shields.io/cocoapods/v/QuickSecurityCode.svg?style=flat)](http://cocoadocs.org/docsets/QuickSecurityCode/)\n[![Pod Platform](http://img.shields.io/cocoapods/p/QuickSecurityCode.svg?style=flat)](http://cocoadocs.org/docsets/QuickSecurityCode/)\n[![Pod License](http://img.shields.io/cocoapods/l/QuickSecurityCode.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![CocoaPods](https://img.shields.io/cocoapods/at/QuickSecurityCode.svg)](https://github.com/pcjbird/QuickSecurityCode)\n[![CocoaPods](https://img.shields.io/cocoapods/dt/QuickSecurityCode.svg)](https://github.com/pcjbird/QuickSecurityCode)\n[![GitHub release](https://img.shields.io/github/release/pcjbird/QuickSecurityCode.svg)](https://github.com/pcjbird/QuickSecurityCode/releases)\n[![GitHub release](https://img.shields.io/github/release-date/pcjbird/QuickSecurityCode.svg)](https://github.com/pcjbird/QuickSecurityCode/releases)\n[![Website](https://img.shields.io/website-pcjbird-down-green-red/https/shields.io.svg?label=author)](https://pcjbird.github.io)\n\n\n# QuickSecurityCode\n### A security or sms verify code input control. 一个安全码/短信验证码输入控件，支持4位或6位数字的安全码/短信验证码。\n\n## 特性 / Features\n\n1. 支持4位或6位的安全码/验证码。\n2. 设置设置边框颜色，数字字体及颜色。\n3. 支持 xib, storyboard。\n4. 支持用下划线替代边框模式。\n\n## 演示 / Demo\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"demo.gif\" title=\"demo\"\u003e\u003c/p\u003e\n\n##  安装 / Installation\n\n方法一：`QuickSecurityCode` is available through CocoaPods. To install it, simply add the following line to your Podfile:\n```\npod 'QuickSecurityCode'\n```\n## 使用 / Usage\n```\n#import \u003cQuickSecurityCode/QuickSecurityCode.h\u003e\n\n@interface ViewController ()\n\n@property (weak, nonatomic) IBOutlet QuickSecurityCode *securityCodeCtrl1;\n@property (weak, nonatomic) IBOutlet QuickSecurityCode *securityCodeCtrl2;\n@property (weak, nonatomic) IBOutlet QuickSecurityCode *securityCodeCtrl3;\n@end\n\n@implementation ViewController\n\n- (void)viewDidLoad {\n    [super viewDidLoad];\n    // Do any additional setup after loading the view, typically from a nib.\n    self.securityCodeCtrl1.digitFont = [UIFont boldSystemFontOfSize:18.0f];\n    self.securityCodeCtrl1.complete = ^(NSString *code) {\n    NSLog(@\"SecurityCodeCtrl1: %@\", code);\n    };\n\n    self.securityCodeCtrl2.complete = ^(NSString *code) {\n    NSLog(@\"SecurityCodeCtrl2: %@\", code);\n    };\n    \n    self.securityCodeCtrl3.digitFont = [UIFont boldSystemFontOfSize:18.0f];\n    self.securityCodeCtrl3.complete = ^(NSString *code) {\n    NSLog(@\"SecurityCodeCtrl3: %@\", code);\n    };\n}\n\n@end\n```\n## 关注我们 / Follow us\n  \n  \u003ca href=\"https://itunes.apple.com/cn/app/iclock-一款满足-挑剔-的翻页时钟与任务闹钟/id1128196970?pt=117947806\u0026ct=com.github.pcjbird.QuickSecurityCode\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/QuickSecurityCode)\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%2Fquicksecuritycode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcjbird%2Fquicksecuritycode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fquicksecuritycode/lists"}