HTYTextField A UITextField with bouncy placeholder.

Overview

HTYTextField

A UITextField with bouncy placeholder.

Screenshot

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 = "[email protected]"
passwordTextField.rightPlaceholder = "6~12 digits"

Requirements

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

Contributing

Anyone who would like to contribute to the project is more than welcome.

  • Fork this repo
  • Make your changes
  • Submit pull request

License

HTYTextField is released under the MIT license.

Contact

Hanton Yang ([email protected])

You might also like...
UITextField character counter with lovable UX ๐Ÿ’–. No math skills required ๐Ÿ™ƒ.
UITextField character counter with lovable UX ๐Ÿ’–. No math skills required ๐Ÿ™ƒ.

TextFieldCounter UITextField character counter with lovable UX ๐Ÿ’–. No math skills required ๐Ÿ™ƒ. Features Set max length of UITextField. A beautiful an

๐Ÿ„โ€โ™‚๏ธ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews
๐Ÿ„โ€โ™‚๏ธ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews

' __________________ _______ _________ _______ _________ _______ _ ______ ' |\ /|\__ __/\__ __/( ____ \|\ /

Animated UITextField enhance UX for the user by giving clarity that they are focused
Animated UITextField enhance UX for the user by giving clarity that they are focused

JDCircularProgress JDTextField is animateable UITextField that can significantly enhance your user's experiences and set your app apart from the rest

Animated Subclass of UITextField created with CABasicAnimation and CAShapeLayer
Animated Subclass of UITextField created with CABasicAnimation and CAShapeLayer

JDAnimatedTextField JDAnimatedTextField is animateable UITextField that can significantly enhance your user's experiences and set your app apart from

This project will add a done button on your UITextField and UITextView

This project will add a done button on your UITextField and UITextView

UITextField subclass with floating labels
UITextField subclass with floating labels

JVFloatLabeledTextField JVFloatLabeledTextField is the first implementation of a UX pattern that has come to be known the "Float Label Pattern". Due t

UITextField category that adds shake animation
UITextField category that adds shake animation

UITextField category that adds a shake animation like the password field of the OsX login screen. Screenshot Setup with CocoaPods pod 'UITextField+Sha

UITextField extension in Swift that adds shake animation

UITextField-Shake-Swift UITextField extension in Swift that adds shake animation Initially created by Andrea Mazzini (using Objective-C) on 08/02/14:

iOS - Subclass of UITextField to achieve autocompletion for Place Search like Google Places, Uber and Much more apps having maps.

MVAutocompletePlaceSearchTextField iOS - Subclass of UITextField to achieve autocompletion for Place Search like Google Places, Uber and Much more app

Comments
  • Activating Open Collective

    Activating Open Collective

    Hi, I'm making updates for Open Collective. Either you or another core contributor signed this repository up for Open Collective. This pull request adds financial contributors from your Open Collective https://opencollective.com/HTYTextField โค๏ธ

    What it does:

    • adds a badge to show the latest number of financial contributors
    • adds a banner displaying contributors to the project on GitHub
    • adds a banner displaying all individuals contributing financially on Open Collective
    • adds a section displaying all organizations contributing financially on Open Collective, with their logo and a link to their website

    P.S: As with any pull request, feel free to comment or suggest changes.

    Thank you for your great contribution to the Open Source community. You are awesome! ๐Ÿ™Œ And welcome to the Open Collective community! ๐Ÿ˜Š

    Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other Open Source sustainers!

    opened by monkeywithacupcake 0
  • Text overlapping with rightPlaceholder text

    Text overlapping with rightPlaceholder text

    While entering text into HTYTextField , entered text overlaps rightPlaceholder text. See the attached image. is there any way to handle this particular bug. thumb_img_1144_1024

    opened by madan222 3
Owner
Hanton Yang
ANIMO
Hanton Yang
A SwiftUI TextField with a prompt (or placeholder) that floats above the text field when active or not empty. Requires iOS 15.

FloatingPromptTextField A prompt is the label in a text field that informs the user about the kind of content the text field expects. In a default Tex

Emilio Pelรกez 43 Nov 3, 2022
Simple placeholder move textfield

PlaceholderTextField Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements iOS 11.0 o

null 6 Mar 9, 2022
A light-weight UITextView subclass that adds support for placeholder.

RSKPlaceholderTextView A light-weight UITextView subclass that adds support for placeholder. Installation Using Swift Package Manager To add the RSKPl

Ruslan Skorb 220 Dec 17, 2022
Placeholder views based on content, loading, error or empty states

StatefulViewController A protocol to enable UIViewControllers or UIViews to present placeholder views based on content, loading, error or empty states

Alexander Schuch 2.1k Dec 8, 2022
A UITextView subclass that adds support for multiline placeholder written in Swift.

KMPlaceholderTextView A UITextView subclass that adds support for multiline placeholder written in Swift. Usage You can set the value of the placehold

Zhouqi Mo 795 Nov 18, 2022
An UITextView in Swift. Support auto growing, placeholder and length limit.

GrowingTextView Requirements iOS 8.0 or above Installation CocoaPods GrowingTextView is available through CocoaPods. To install it, simply add the fol

Kenneth Tsang 941 Jan 5, 2023
DGPlaceholderTextView - A light-weight UITextView that supports for placeholder

DGPlaceholderTextView Requirements Installation Usage Properties DGPlaceholderTe

donggyu 5 Jan 26, 2022
TTextField is developed to help developers can initiate a fully standard textfield including title, placeholder and error message in fast and convinient way without having to write many lines of codes

TTextField is developed to help developers can initiate a fully standard textfield including title, placeholder and error message in fast and convinient way without having to write many lines of codes

Nguyen Duc Thinh 7 Aug 28, 2022
An UITextField subclass to simplify country code's picking. Swift 5.0

Preview Installation NKVPhonePicker is available through CocoaPods. To install it, simply add the following line to your Podfile: pod 'NKVPhonePicker'

Nike Kov 140 Nov 23, 2022
Fully-wrapped UITextField made to work entirely in SwiftUI

iTextField โŒจ๏ธ A fully-wrapped `UITextField` that works entirely in SwiftUI. ?? Get Started | Examples | Customize | Install | Get Started Install iTex

Benjamin Sage 89 Jan 2, 2023