LLTextView
特性
- 支持设置最大输入字符串长度 maxStringLength。
- 支持 占位符 和 占位符颜色
安装
只需将以下行添加到您的 Podfile
pod 'LLTextView'
截图
用法
在使用的文件中导入头文件
#import "LLTextView.h"
LLTextView *textView = [LLTextView new];
textView.placeHolder = @"请输入字符串";
textView.placeHolderColor = [UIColor lightGrayColor];
textView.maxStingLength = 50;
许可协议
LLTextView 在 MIT 许可协议下可用。更多信息请参阅 LICENSE 文件。