TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2016 |
SPMSupports SPM | ✗ |
Maintained by Delfín Pereiro.
FloatingHintTextField is a subclass of UITextField, written in Swift, and another implementation of the UX pattern known as the “Float Label Pattern”. It allows to keep the placeholder “label” even when
Simply download the latest files from the Releases page and add the FloatingHintTextField.swift class to your project.
import FloatingHintTextField
let floatingHintTextField = FloatingHintTextField.init(frame: CGRectMake(20,200, 200, 40))
floatingHintTextField.placeholder = "Placeholder text"
self.view.addSubview(floatingHintTextField)
An example project is included with this repo. To run the example project, clone the repo, and run pod install
from the Example directory first.
Delfin Pereiro Parejo
FloatingHintTextField is available under the MIT license. See the LICENSE file for more info.