Latest 0.0.1
Homepage https://github.com/hold-my-hand/NumberInputView
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, UIKit
Authors

当输入数字时,自定义数字键盘,免受第3方键盘影响

import "ViewController.h"

import "UITextField+VENCalculatorInputView.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UITextField *TF;

@end

@implementation ViewController

  • (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    // can change to see
    // self.TF.keyboardType = UIKeyboardTypeDecimalPad;
    [self.TF initNumberInputView];
    }

-(BOOL)textField:(UITextField )textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString )string{
NSLog(@"%s",FUNCTION);
return YES;
}

NumberInputView

Latest podspec

{
    "name": "NumberInputView",
    "version": "0.0.1",
    "summary": "cocoapods u6d4bu8bd5",
    "description": "u5c31u662fu4e00u4e2au6570u5b57u952eu76d8, u9632u6b62u7b2cu4e09u65b9u7684u952eu76d8u4e0du7ed9u529b",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "hold-my-hand": "[email protected]"
    },
    "homepage": "https://github.com/hold-my-hand/NumberInputView",
    "source": {
        "git": "https://github.com/hold-my-hand/NumberInputView.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "KeyBoardInputViewNumber/NumberKeyBoard/**/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This