HTYTextField
  • December 2, 2023

A UITextField with bouncy placeholder.


Screenshot


Installation


CocoaPods
  • Add the dependency to your Podfile:

use_frameworks!

pod ‘HTYTextField’

  • Run pod install to install the dependencies.

Source files

Just clone this repository or download it in zip-file. Then you will find source files under HTYTextField directory. Copy them to your project.

Usage


  • Import the header file to your view controller:

import HTYTextField

@IBOutlet weak var emailTextField: HTYTextField!
@IBOutlet weak var passwordTextField: HTYTextField!

emailTextField.rightPlaceholder = “xxx@xxx.xx”
passwordTextField.rightPlaceholder = “6~12 digits”

Requirements


  • iOS 8.0+
  • Xcode 7+
  • Swift 2+

GitHub


View Github

#ios #placeholder #swift #uitextfield
YOU MIGHT ALSO LIKE...
SwiftSpeech

Recognize your user's voice elegantly without having to figure out authorization and audio engines. SwiftSpeech Examples Features Installation Getting Started ...

SwiftUIValueSlider

Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements iOS 14.0 Installation ...

Sliders

Sliders is a compilation of all my stylable drag based SwiftUI components. It provides a variety of unique controls as well ...

SlidingRuler

SlidingRuler is a Swift package containing a SwiftUI control that acts like an linear infinite slider or a finite, more precise ...

Skeletonui

SkeletonUI aims to bring an elegant, declarative syntax to skeleton loading animations. Get rid of loading screens or spinners and ...