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

#htytextfield #ios #placeholder #swift #uitextfield
YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...