Latest 0.1.1
License MIT
Platforms ios 7.0, requires ARC

CI Status

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


  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


  1. ARC
  2. iOS 7+


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

pod "WCTextField"


wesley_chen, [email protected]


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": "",
    "license": "MIT",
    "authors": {
        "wesley_chen": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.1"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*"

Pin It on Pinterest

Share This