MRJRemarkTextView
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
MRJRemarkTextView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MRJRemarkTextView'
use
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];
action
Author
[email protected], [email protected]
License
MRJRemarkTextView is available under the MIT license. See the LICENSE file for more info.