Skip to content
 
 

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This fork allows to use RPFloatingPlaceholders with Auto Layout when it is set in code. The example uses Auto Layout Visual Format for setup. The only thing that needs to be done is to call the adjustFrames in -(void)viewDidLayoutSubviews (check example).

RPFloatingPlaceholders

UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text.

Please see the included example app for sample usage.

Options:

Animate upward (default)

Upwards animation

Animate downward

Downwards animation

Supports:

ARC & iOS 6+, Autolayout or springs and struts

A little help from my friends:

Please feel free to fork and create a pull request for bug fixes or improvements, being sure to maintain the general coding style and adding comments as necessary.

Thanks to the following people for their help:

Credit:

Credit for the design concept goes to Matt D. Smith.

About

UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages