AKFloatingLabel is an implementation of a UX pattern that has come to be known the "Float Label Pattern".
Due to space constraints on mobile devices, it is common to rely solely on placeholders as a means to label fields. This presents a UX problem, in that, once the user begins to fill out a form, no labels are present.
This UI component library, which includes both a UITextField and UITextView subclass, aims to improve the user experience by having placeholders transition into floating labels that hover above the fields after they are populated with text.
To run the example project, clone the repo, and run
pod install from the Example directory first.
AKFloatingLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:
Diogo Autilio, email@example.com
AKFloatingLabel is available under the MIT license. See the LICENSE file for more info.