TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2015 |
Maintained by Diogo Maximo.
To run the example project, clone the repo, and run pod install
from the Example directory first.
2- Run
pod update
3- Change your UITextField to SingleLineInput
4- Change SingleLineInput Properties (Optional)
_myInput.lineDisabledColor = [UIColor cyanColor];
_myInput.lineNormalColor = [UIColor grayColor];
_myInput.lineSelectedColor = [UIColor blueColor];
_myInput.inputTextColor = [UIColor redColor];
_myInput.inputPlaceHolderColor = [UIColor greenColor];
#OR use UIAppearance in your AppDelegate for change all inputs properties
[[SingleLineTextField appearance] setLineDisabledColor:[UIColor cyanColor]];
[[SingleLineTextField appearance] setLineNormalColor:[UIColor grayColor]];
[[SingleLineTextField appearance] setLineSelectedColor:[UIColor blueColor]];
[[SingleLineTextField appearance] setInputPlaceHolderColor:[UIColor greenColor]];
[[SingleLineTextField appearance] setInputFont:[UIFont boldSystemFontOfSize:18]];
[[SingleLineTextField appearance] setPlaceHolderFont:[UIFont boldSystemFontOfSize:16]];
Diogo Maximo, [email protected]
SingleLineInput is available under the MIT license. See the LICENSE file for more info.