{"id":16550392,"url":"https://github.com/qiubaiying/byphonenumtf","last_synced_at":"2025-10-28T18:30:48.941Z","repository":{"id":56903361,"uuid":"75372676","full_name":"qiubaiying/BYPhoneNumTF","owner":"qiubaiying","description":"电话号码文本框(A UITextfield of phonenumber)","archived":false,"fork":false,"pushed_at":"2017-03-08T09:36:44.000Z","size":42,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T17:05:45.929Z","etag":null,"topics":["phone-number","textfield"],"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/qiubaiying.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":"2016-12-02T07:39:42.000Z","updated_at":"2023-03-22T03:33:40.000Z","dependencies_parsed_at":"2022-08-21T01:50:47.696Z","dependency_job_id":null,"html_url":"https://github.com/qiubaiying/BYPhoneNumTF","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/qiubaiying%2FBYPhoneNumTF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiubaiying%2FBYPhoneNumTF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiubaiying%2FBYPhoneNumTF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiubaiying%2FBYPhoneNumTF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiubaiying","download_url":"https://codeload.github.com/qiubaiying/BYPhoneNumTF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238689780,"owners_count":19514092,"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":["phone-number","textfield"],"created_at":"2024-10-11T19:34:08.204Z","updated_at":"2025-10-28T18:30:48.606Z","avatar_url":"https://github.com/qiubaiying.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BYPhoneNumTF\n\n这是一个电话号码格式的文本框的框架\n\n\n## 获取\n- CocoaPods\n\n\t\t$ pod 'BYPhoneNumTF', '~\u003e 1.0.0'\n\n- 手动添加\n\t\n\t将 `BYPhoneNumTF` 文件夹中的 `BYPhoneNumTF.h` `BYPhoneNumTF.m` 拖入工程中即可 \n\n## 使用\n\n- 代码创建\n  \n  ```\n  @property (nonatomic, strong) BYPhoneNumTF *phoneNumTF;\n  ```\n- storyboard\n\n  storyboard 中的 `TextField`的 `Class` 类型选择该 **`BYPhoneNumTF`** 即可。\n\n## 效果\n\n当在TextField输入电话号码时，会自动分隔电话号码如：137 9922 2299 或 137-9922-2299\n\n\u003cimg src=\"http://ww4.sinaimg.cn/large/7853084cgw1fa3cnqywemj20af0j60t8.jpg\" width=\"200\"\u003e\n\u003cimg src=\"http://ww4.sinaimg.cn/large/7853084cgw1fa3cnqxvnnj20ag0j7mxt.jpg\" width=\"200\"\u003e\n\n\n支持重任意位置删除时保持格式不变\n\n效果看图：\n![](http://ww2.sinaimg.cn/large/7853084cgw1fa3cqnu8s2g207i0dc4qp.gif)\n\n\n# English Explanation\n\nThis is a phone number formatting input Demo, when in the TextField enter the phone number, will automatically separate phone Numbers such as: 137 9922 2299 or 137-9922-2299\n\n## Use\n\n- code\n\n  ```\n  @property (nonatomic, strong) BYPhoneNumTF *phoneNumTF;\n  ```\n- storyboard\n\n  The TextField class BYPhoneNumTF choice in the storyboard.\n  \n## Demo Project\n\n\u003cimg src=\"http://ww4.sinaimg.cn/large/7853084cgw1fa3cnqywemj20af0j60t8.jpg\" width=\"200\"\u003e\n\u003cimg src=\"http://ww4.sinaimg.cn/large/7853084cgw1fa3cnqxvnnj20ag0j7mxt.jpg\" width=\"200\"\u003e\n\nTo keep the same format when support burden means deleted\n\nEffect of the picture：\n\n![](http://ww2.sinaimg.cn/large/7853084cgw1fa3cqnu8s2g207i0dc4qp.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiubaiying%2Fbyphonenumtf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiubaiying%2Fbyphonenumtf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiubaiying%2Fbyphonenumtf/lists"}