Latest 1.0.3
Homepage https://github.com/qiubaiying/BYPhoneNumTF
License MIT
Platforms ios 7.0, requires ARC
Dependencies AFNetworking, PINCache
Frameworks UIKit, Foundation
Authors

BYPhoneNumTF

这是一个电话号码格式的文本框的框架

获取

  • CocoaPods

    $ pod 'BYPhoneNumTF', '~> 1.0.0'
  • 手动添加

    BYPhoneNumTF 文件夹中的 BYPhoneNumTF.h BYPhoneNumTF.m 拖入工程中即可

使用

  • 代码创建

    @property (nonatomic, strong) BYPhoneNumTF *phoneNumTF;
  • storyboard

     storyboard 中的 TextFieldClass 类型选择该 BYPhoneNumTF 即可。

效果

当在TextField输入电话号码时,会自动分隔电话号码如:137 9922 2299 或 137-9922-2299

LLLL
LLLL

支持重任意位置删除时保持格式不变

效果看图:
LLLL

English Explanation

This 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

Use

  • code

    @property (nonatomic, strong) BYPhoneNumTF *phoneNumTF;
  • storyboard

     The TextField class BYPhoneNumTF choice in the storyboard.

Demo Project

LLLL
LLLL

To keep the same format when support burden means deleted

Effect of the picture:

LLLL

Latest podspec

{
    "name": "LLLL",
    "version": "1.0.3",
    "license": "MIT",
    "summary": "A delightful TextField of PhoneNumber",
    "homepage": "https://github.com/qiubaiying/BYPhoneNumTF",
    "source": {
        "git": "https://github.com/GitHubXuLiying/LLLL.git",
        "tag": "1.0.3"
    },
    "source_files": [
        "TEST/*.{h,m}",
        "TEST/**/*.{h,m}"
    ],
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    },
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "dependencies": {
        "AFNetworking": [],
        "PINCache": []
    },
    "authors": {
        "BY": "[email protected]"
    },
    "social_media_url": "http://qiubaiying.github.io"
}

Pin It on Pinterest

Share This