TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Apr 2017 |
Maintained by Arthur Ariel Sabintsev.
If you are looking for the UITextView
equivalent of this class, please visit my UIFloatLabelTextView repository.
In 2013, Matt D. Smith unveiled the Float Label user interface design pattern. In short, it retains a text field's placeholder above said text field as a floating label. This label is brightly colored when the field is active, and dimly colored when a user has finished editing that field.
Image credit: Matt D. Smith.
init
styles
NSTextAlignments
pod 'UIFloatLabelTextField'
Check out UIFloatLabelTextField.h
for a full list of editable properties. Also, check out the UIFloatLabelSampleApp for an example implementation of the application.
I want to credit Jared Verdi for developing the first iOS implementation of this pattern in his JVFloatLabeledTextField project. I used it as a reference to make this version, but executed most aspects differently. I also added many other features that I personally needed, and plan on continuing to enhance this library over time.
Please refer to the LICENSE file.