MRJRemarkTextView
示例
要运行示例项目,首先克隆仓库,然后从Example目录运行pod install
需求
安装
MRJRemarkTextView可以通过CocoaPods获取。为了安装,只需在Podfile中添加以下行
pod 'MRJRemarkTextView'
使用
MRJRemarkTextView *remarkTextView = [[MRJRemarkTextView alloc] initWithFrame:CGRectMake(0, 100, [UIScreen mainScreen].bounds.size.width, 100)];
remarkTextView.limitTextColor = [UIColor purpleColor];
remarkTextView.limitForegroundColor = [UIColor orangeColor];
remarkTextView.limitBackColor = [UIColor blueColor];
remarkTextView.placeholder = @"请输入备注内容";
remarkTextView.textLimitNum = 100;
remarkTextView.rowMaxCount = 100;
[self.view addSubview:remarkTextView];
操作
作者
[email protected],[email protected]
许可证
MRJRemarkTextView遵循MIT许可证。更多信息请参阅LICENSE文件。