sin

SingleLineInput

A single line textfield implementation with Float Label Animation

Showing:

Popularity

Downloads/wk

0

GitHub Stars

184

Maintenance

Last Commit

6yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

SingleLineInput

[CI Status](https://travis-ci.org/Diogo Maximo/SingleLineInput) Version License Platform

Demo

alt tag

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod "SingleLineInput"

2- Run

pod update

3- Change your UITextField to SingleLineInput

alt tag

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]];

Author

Diogo Maximo, dcmaximo@gmail.com

License

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100