Popularity
5.2
Growing
Activity
0.0
Stable
384
8
61

Monthly Downloads: 0
Programming language: Objective-C
License: MIT License
Tags: UI     TextField & TextView    
Latest version: v1.0.8

VMaskTextField alternatives and similar libraries

Based on the "TextField & TextView" category

Do you think we are missing an alternative of VMaskTextField or a related project?

Add another 'TextField & TextView' Library

README

VMaskTextField

CI Status Version License Platform

An inputmask helps the user with the input by ensuring a predefined format. This can be useful for dates, numerics, phone numbers etc

demo

Usage

@interface VViewController ()

@property (weak,nonatomic) IBOutlet VMaskTextField * maskTextField;

@end

@implementation VViewController

- (void)viewDidLoad{
    //Telephone with Code Area
    self.maskTextField.mask = @"(##) ####-####";
    self.maskTextField.delegate = self;
}

- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string{
   return  [_maskTextField shouldChangeCharactersInRange:range replacementString:string];
}

@end

Features

  • Validating data type
  • Flexible masks
  • Automatic maxlength

Installation

VMaskTextField is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "VMaskTextField"

or copy VMaskTextField.h and VMaskTextField.m to your project folder.

Author

viniciusmo, vinicius.moises.oliveira@gmail.com

License

VMaskTextField is available under the MIT license. See the LICENSE file for more info.


*Note that all licence references and agreements mentioned in the VMaskTextField README section above are relevant to that project's source code only.