Latest 0.1.5
Homepage https://github.com/SaiNaveenMagatala/transparentTF
License MIT
Platforms ios 11.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 11+, Xcode 9+

Overview

transparentTF

Usage

  • Use import transparentTF in the file you are using the textfield.
  • Drag and drop a UIView in the storyboard and name its custom class to transparentTF.
  • Compile and run the project you should be able to see the new textfield.

Configuring

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.

Installation

transparentTF is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'transparentTF'

Author

NaveenMagatala, [email protected]

License

transparentTF is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "transparentTF",
    "version": "0.1.5",
    "summary": "Transparent iOS text field with a highlight on the bottom and ability to chain responders.",
    "swift_version": "4.2",
    "description": "Transparent iOS text field with a highlight on the bottom and ability to chain responders, contains padding between images and text box, has ability to chain responders.",
    "homepage": "https://github.com/SaiNaveenMagatala/transparentTF",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "NaveenMagatala": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SaiNaveenMagatala/transparentTF.git",
        "tag": "0.1.5"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source_files": "transparentTF/Classes/**/*"
}

Pin It on Pinterest

Share This