Latest 1.0.0
Homepage https://github.com/Zeacone/FXTextField
License GPL
Platforms ios 8.0, requires ARC
Authors

FXTextField FXTextField FXTextField

A subclass of UITextField which has some features as follow.

  • Supports moving cursor by pan gesture.
  • Supports floating label to show it’s placeholder text.
  • To be continued.

Usage

You can just use it as UITextField or change the class name as FXTextField in the storyboard or xib file.

Code

FXTextField *textfield = [[FXTextField alloc] initWithFrame:frame];
// Set properties like bottom line color, float label color etc.
[self.view addSubview:textfield];

XIB/Storyboard

Select your textfield control, go to the inspector =>Custom Class =>Class , Change it as FXTextField. OK, It’s done.

Latest podspec

{
    "name": "FXTextField",
    "version": "1.0.0",
    "summary": "A subclass of UITextField which has some features.",
    "homepage": "https://github.com/Zeacone/FXTextField",
    "license": "GPL",
    "authors": {
        "Zeacone": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Zeacone/FXTextField.git",
        "tag": "1.0.0"
    },
    "source_files": "Classes/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This