LCTextView 1.0.8

LCTextView 1.0.8

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2016

Maintained by Bawn.



  • By
  • bawn

支持 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