Latest 0.7.0
License MIT
Platforms ios 8.0


  • iOS 8.0+
  • Xcode 8.0+
  • Swift 3.0+


CocoaPods (Recommended)

Install CocoaPods if not already available:

$ [sudo] gem install cocoapods
$ pod setup

Go to the directory of your Xcode project, and Create and Edit your Podfile and add UIFloatPHTextField.swift to your corresponding TargetName:

$ cd /path/to/MyProject
$ touch Podfile
$ edit Podfile
source ''
platform :ios, '8.0'

target 'TargetName' do
    pod 'UIFloatPHTextField.swift', '~> 0.7.0'

Install into your project:

$ pod install

Open your project in Xcode from the .xcworkspace file (not the usual project file):

$ open MyProject.xcworkspace


Carthage is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate UIFloatPHTextField into your Xcode project using Carthage, specify it in your Cartfile file:

github "sawijaya/UIFloatPHTextField.swift" >= 0.7.0

Latest podspec

    "name": "UIFloatPHTextField",
    "version": "0.7.0",
    "summary": "Create a label from placeholder in UITextField and easy use for dropdown in UITextField",
    "description": "UIFloatPHTextField is simple ui for create placeholder replace label and base class for dropdown.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "sawijaya": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.7.0"
    "resources": [
    "platforms": {
        "ios": "8.0"
    "source_files": [
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "3.0"
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This