Example Code: Custom iOS Text Fields With Interesting Animation Effects

I’ve mentioned a few projects for creating text fields with the floating label effect, most recently the Swift based component FloatLabelFields.

Here’s a source code example containing several excellent text field effects from Raul Riera.

The three different effects include a nice sliding door type effect that slides a label out-of-the-way exposing the text field, floating label type effects with colored lines to indicate the field,text fields that expand horizontally.

These three images from the readme show the 3 different effects included in TextFieldEffects in action:

TextFieldEffects

TextFieldEffects

TextFieldEffects

You can find TextFieldEffects on Github here.

A nice example showing how to create several different text field effects.

Original article: Example Code: Custom iOS Text Fields With Interesting Animation Effects

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *