Projekte
Auf GitHub ansehen
viniciusmo/VMaskTextField
Über uns
VMaskTextField ist eine Bibliothek zum Erstellen von Eingabemasken für iOS.
Web- und App-EntwicklungWhat you can do
- Validating data type
- Automatic maxlength
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalVMaskTextField
An inputmask helps the user with the input by ensuring a predefined format. This can be useful for dates, numerics, phone numbers etc

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, [email protected]
License
VMaskTextField is available under the MIT license. See the LICENSE file for more info.
Ähnliche Projekte entdecken
Wird geladen…