Platformsios 6.0, requires ARC


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

Used by millions of people in the app! Is your app using it? Let me know!

Please see the included example app for sample usage.

Support this project via Gratipay RPFloatingPlaceholders


Animate upward (default)

Upwards animation

Animate downward

Downwards animation


ARC & iOS 6+, Autolayout or springs and struts

Apps using it:

  • — Used by millions of people around the world to book hotels.

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 for the design concept goes to Matt D. Smith.

Latest podspec

    "name": "RPFloatingPlaceholders",
    "version": "0.3.3",
    "summary": "UITextField and UITextView subclasses with floating placeholder labels.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": "Rob Phillips",
    "source": {
        "git": "",
        "tag": "v0.3.3"
    "platforms": {
        "ios": "6.0"
    "source_files": "RPFloatingPlaceholders",
    "requires_arc": true

Pin It on Pinterest

Share This