Kakashi Mask
Input mask for your UITextField
from UIKit
Could be useful for phones, documents, dates, etc.
- Can be used with or without masks
- All functionalities have unit tests
- Max length for your text field
- Can be used with view code
- You can use
applyMask()
to apply the mask promgamatically without User's input
Instalation
KakashiMask is available through CocoaPods. To install it, simply add the following line to your Podfile: pod 'KakashiMask'
How to use
Just inherit from KakashiField
and set the maskTextValue
with your mask the examples below:
- phone mask: (##) #####-####
- document mask: ##.###.###/####-##
Authors
- Bruno Milliet - [email protected]
- Lucas Pedrazoli - [email protected]