Latest 0.1.1
Homepage https://github.com/daydreamboy/WCTextField
License MIT
Platforms ios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

WCTextField is a subclass of UITextField, fixing some issues and adding some features.

Fix Issues

There are some issues with UITextField on iOS 7-9 as followings:

  1. When toggle secureTextEntry YES to NO and the cursor at trail, will show some unwanted spaces

![Demo gif](Documentation/issue – more spaces.gif)

  1. When secureTextEntry is NO, input some text, then toggle secureTextEntry to YES and back to NO, the text’s font changed

  2. When secureTextEntry is YES, the cursor in the middle of text, and toggle secureTextEntry to NO, the cursor’s position is not correct

Features

  1. top and bottom separators

  2. disable or allow showing Copy & Cut menu

  3. disable or allow showing Paste menu

  4. disable or allow showing Magnifier

  5. disable or allow Selectable

Features png

Requirements

  1. ARC
  2. iOS 7+

Installation

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

pod "WCTextField"

Author

wesley_chen, [email protected]

License

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

Latest podspec

{
    "name": "WCTextField",
    "version": "0.1.1",
    "summary": "A light subclass of UITextField.",
    "description": "A light wrapper of UITextField providing some useful features.",
    "homepage": "https://github.com/daydreamboy/WCTextField",
    "license": "MIT",
    "authors": {
        "wesley_chen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/daydreamboy/WCTextField.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*"
}

Pin It on Pinterest

Share This