Latest | 1.1 |
---|---|
Homepage | https://github.com/hanton/HTYTextField |
License | MIT |
Platforms | ios 8.0, requires ARC |
Authors |
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:
```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])
Latest podspec
{ "name": "HTYTextField", "version": "1.1", "summary": "A UITextField with bouncy placeholder.", "homepage": "https://github.com/hanton/HTYTextField", "license": "MIT", "authors": { "Hanton Yang": "[email protected]" }, "platforms": { "ios": "8.0" }, "source": { "git": "https://github.com/hanton/HTYTextField.git", "tag": "1.1" }, "source_files": "HTYTextField/*.swift", "requires_arc": true }
Tue, 01 Mar 2016 19:48:02 +0000