Latest 0.2.0
Homepage https://github.com/KuroBCN/FloatingHintTextField
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Pereiro, Delfin/FloatingHintTextField.svg?style=flat)](https://travis-ci.org/Pereiro, Delfin/FloatingHintTextField)
Version
License
Platform

Overview

FloatingHintTextField is a subclass of UITextField, written in Swift, and another implementation of the UX pattern known as the "Float Label Pattern". It allows to keep the placeholder "label" even when

Requirements

  • ARC
  • iOS 8.0 or higher

Installation

CocoaPods

FloatingHintTextField is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "FloatingHintTextField"

Manual

Simply download the latest files from the Releases page and add the FloatingHintTextField.swift class to your project.

Usage

import FloatingHintTextField

let  floatingHintTextField = FloatingHintTextField.init(frame: CGRectMake(20,200, 200, 40))
floatingHintTextField.placeholder = "Placeholder text"
self.view.addSubview(floatingHintTextField)

Example Project

An example project is included with this repo. To run the example project, clone the repo, and run pod install from the Example directory first.

Author

Delfin Pereiro Parejo

License

FloatingHintTextField is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FloatingHintTextField",
    "version": "0.2.0",
    "summary": "Yet another 'Float Label Pattern' implementation over UITexfield control for iOS. Written in Swift",
    "description": "This pod is another iOS implementation of the Android edit text floating labels design. This design enables to see the input field hint/placeholder in order to provide context to the user while typing and later on.",
    "homepage": "https://github.com/KuroBCN/FloatingHintTextField",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Pereiro, Delfin": ""
    },
    "source": {
        "git": "https://github.com/KuroBCN/FloatingHintTextField.git",
        "tag": "0.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "FloatingHintTextField/Classes/**/*"
}

Pin It on Pinterest

Share This