Latest 1.0.8
Homepage https://github.com/bawn/LCTextView
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit
Authors

License MIT
Pod version
Platform info
Support

支持 placeholder 的 UITextview

1

使用

CocoaPods:

pod 'LCTextView'

功能

支持直接在IB中设置属性,无需一行代码即可建立一个带有 placeholder 功能的 UITextview

2

同样也支持外部设置

self.textView.leadingConstant = 10.0f;
self.textView.topConstant = 10.0f;
self.textView.placeholder = @"请输入";
self.textView.placeholderColor = [[UIColor grayColor] colorWithAlphaComponent:0.7f];

要求

  • iOS 6 或更高
  • ARC

License

MIT

Latest podspec

{
    "name": "LCTextView",
    "version": "1.0.8",
    "summary": "UITextview with placeholder u652fu6301placeholderu7684UITextview",
    "homepage": "https://github.com/bawn/LCTextView",
    "license": "MIT",
    "authors": {
        "bawn": "[email protected]"
    },
    "source": {
        "git": "https://github.com/bawn/LCTextView.git",
        "tag": "1.0.8"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "source_files": "LCTextView/*.{h,m}"
}

Pin It on Pinterest

Share This