FloatingLabelTextField

FloatingLabelTextField is a simple and flexible implementation of the space saving “Float Label Pattern”. It is inspired from SkyFloatingLabelTextField

FloatingTextField.mp4


Usage:

  1. Add FloatingLabelTextField.xib and FloatingLabelTextField.swift files to your project
  2. Add a view to the ViewController and subclass it using FloatingLabelTextField class.
  3. Create outlet for newly created view in the ViewController
  4. If you are interested in the events such as textfieldDidBeginEditing textfieldDidEndEditing etc. add protocol conformance in your ViewController.

GitHub

View Github