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:
http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users
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