/TFDemoApp

It is Demo app for Textfield which has floating placeholder and Customisation features.

Primary LanguageObjective-CMIT LicenseMIT

ACFloatingTextField

UITextfield class to float the Placeholder and customize the placeholder while editing. i have remove require add delegate.

Features

  • Add Floating effect In UITextfield Placeholder.
  • Change the Placeholder Text Color.
  • Change the Placeholder Text Color when UITextfield begins editing.
  • Add bottom line in UITextfield.
  • Change the bottom line color.
  • Change the bottom line color when UITextfield begins editing.
  • The best is yet to come.

Installation

Download the Sample and drag & drop the ACFloatingTextField.h and ACFloatingTextField.m in your project.

How To Use.

1) Add Textfield From Storyboard in View Controller and Set the class to ACFloatingTextField or create the textfield programmatically.

2) Set Placeholder Text By Following Method.

textField.placeholder = @"Username";

##Customization

1) Change the colour of Bottom Line.

_textField.btmLineColor = [UIColor blueColor];

2) Change the selected State colour for Bottom Line.

_textField.btmLineSelectionColor = [UIColor orangeColor];

3) Change the Placeholder Color.

_textField.placeHolderTextColor = [UIColor redColor];

4) Change the Selected Placeholder Color.

_textField.selectedPlaceHolderTextColor = [UIColor greenColor];

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute,please submit a pull request.

License

ACFloatingTextField is released under the MIT license. See LICENSE for details.