Latest 1.0.7
Homepage https://github.com/diogomaximo/SingleLineInput
License MIT
Platforms ios 7.0, requires ARC
Authors

[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, [email protected]

License

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

Latest podspec

{
    "name": "SingleLineInput",
    "version": "1.0.7",
    "summary": "A single line textfield with float label animation.",
    "description": "It's an implementation of Telegram text field used on https://web.telegram.orgn* Custom input with one linen* Place holder animation like float label",
    "homepage": "https://github.com/diogomaximo/SingleLineInput",
    "license": "MIT",
    "authors": {
        "Diogo Maximo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/diogomaximo/SingleLineInput.git",
        "tag": "1.0.7"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "SingleLineInput": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This