Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanton/HTYTextField
A UITextField with bouncy placeholder.
https://github.com/hanton/HTYTextField
Last synced: 3 days ago
JSON representation
A UITextField with bouncy placeholder.
- Host: GitHub
- URL: https://github.com/hanton/HTYTextField
- Owner: hanton
- License: mit
- Created: 2015-10-29T13:45:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-02T23:20:50.000Z (about 5 years ago)
- Last Synced: 2024-10-29T21:51:39.711Z (about 1 month ago)
- Language: Swift
- Size: 2.45 MB
- Stars: 312
- Watchers: 11
- Forks: 29
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - HTYTextField - A UITextField with bouncy placeholder. (UI / TextField & TextView)
- awesome-swift - HTYTextField - A UITextField with bouncy placeholder. (Libs / UI)
- awesome-swift - HTYTextField - A UITextField with bouncy placeholder in Swift. (UI)
- awesome-cocoa - HTYTextField
- awesome-swift - HTYTextField - A UITextField with bouncy placeholder. (Libs / UI)
- awesome-ios-star - HTYTextField - A UITextField with bouncy placeholder. (UI / TextField & TextView)
- fucking-awesome-swift - HTYTextField - A UITextField with bouncy placeholder. (Libs / UI)
- awesome-swift-cn - HTYTextField - A UITextField with bouncy placeholder in Swift. (Libs / UI)
- awesome-swift - HTYTextField - A UITextField with bouncy placeholder. ` 📝 2 years ago` (UI [🔝](#readme))
README
# HTYTextField
## A UITextField with bouncy placeholder.Screenshot
----------![screenshot](https://github.com/hanton/HTYTextField/blob/master/screenshot/HTYTextField.gif)
Installation
-----**CocoaPods**
* Add the dependency to your Podfile:
```ruby
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:
```swift
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])