Skip to content

mmmilo/JVFloatLabeledTextField

 
 

Repository files navigation

JVFloatLabeledTextField

UITextField subclass with placeholders that change into floating labels when the field is populated with text.

Currently, JVFloatLabeledTextField used alone is iOS 6+, but JVFloatLabeledTextView requires iOS 7 due to the use of UITextView's textContainer. I would welcome pull requests to make JVFloatLabeledTextView iOS 6 compatible.

Credits for the concept to Matt D. Smith (@mds), and his original design:

Matt D. Smith's Design

http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users

Ports

JQuery / Zepto.js - Achmad Mahardi
Xamarin.iOS - Greg Shackles
Bootstrap plugin - Matt Powell
JavaFX - Andy Till
JQuery - Mike Mitchell
Android - Henrik Sandström

Added a port? Let me know - @jverdi

About

UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 97.1%
  • Ruby 2.9%