Latest 2.1.1
Homepage https://github.com/ebaker355/DPSFloatingLabelTextField
License MIT
Platforms ios 9.0, requires ARC
Authors

Floating label for UITextField

Implements the "Float Label Pattern" for iOS.
See Matt D. Smith’s design: http://dribbble.com/shots/1254439–GIF-Mobile-Form-Interaction?list=users

There are many frameworks for iOS that provide this functionality:

This framework is designed to be storyboard-friendly (in fact, storyboards are
required!) There are some advantages to setting up the view in storyboards:

  • Position your textfield and label in the visible state, so you know how much top-clearance to leave above the text field.
  • Tweak appearance properties for the label in Interface Builder.

How to install

wip…
A demo project is included.

Configuring in Interface Builder

wip…

Latest podspec

{
    "name": "DPSFloatingLabelTextField",
    "version": "2.1.1",
    "summary": "A UITextField subclass that creates a floating label from the placeholder text.",
    "description": "DPSFloatingLabelTextField is a highly-customizable UITextField subclass thatncreatings a "floating label" from the placeholder string. It also supportsna bottom line border style.",
    "homepage": "https://github.com/ebaker355/DPSFloatingLabelTextField",
    "license": "MIT",
    "authors": {
        "Eric Baker": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/ebaker355/DPSFloatingLabelTextField.git",
        "tag": "2.1.1"
    },
    "source_files": "FloatingLabelTextField/Source/*.{h,swift}",
    "requires_arc": true
}

Pin It on Pinterest

Share This