To run the example project, clone the repo, and run pod install
from the Example directory first.
iOS 11+, Xcode 9+
- Use import
transparentTF
in the file you are using the textfield. - Drag and drop a
UIView
in the storyboard and name its custom class totransparentTF
. - Compile and run the project you should be able to see the new textfield.
emailTFV.configure(leftImage: UIImage(named: "email"),
placeHolder: "Enter Email",
nextTextField: passwordTFV)
- Use the configure method to add a left image, right image, placeholder and a next text field.
- Next text field is used to chain the responders when user hits done on your current text field that resigns the responder on the current text field(dismisses editing) and assigns the next text field as the first responder(enables editing).
- Leaving Divider and the Textfield as public variables as you can customize the color of the divider and few other stuff for flexibility.
- please run the sample project to see how it runs.
transparentTF is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'transparentTF'
NaveenMagatala, [email protected]
transparentTF is available under the MIT license. See the LICENSE file for more info.