CocoaPods
- Add the dependency to your Podfile:
use_frameworks!pod'HTYTextField'
...- Run
pod installto 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.
- Import the header file to your view controller:
import HTYTextField
@IBOutlet weak varemailTextField:HTYTextField!@IBOutlet weak varpasswordTextField:HTYTextField!
emailTextField.rightPlaceholder ="xxx@xxx.xx"
passwordTextField.rightPlaceholder ="6~12 digits"- iOS 8.0+
- Xcode 7+
- Swift 2+
Anyone who would like to contribute to the project is more than welcome.
- Fork this repo
- Make your changes
- Submit pull request
HTYTextField is released under the MIT license.
Hanton Yang (hanton.yang@gmail.com)
