Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
更新README文件。
Browse files Browse the repository at this point in the history
  • Loading branch information
rakuyoMo committed Sep 23, 2017
1 parent 4f64727 commit 0c571ff
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@
// 设置大小位置。
CGRect frame = CGRectMake(100, 300, 200, 200);

// 设置样式
RKOTextView *textViewWithCode = [RKOTextView textViewWithFrame:frame
placeholder:@"纯代码创建..."
font:[UIFont systemFontOfSize:18]
maxNumber:50
maxNumberOfLines:4 clearBtnMode:RKOTextFieldViewModeWhileEditing
needBorder:YES];
// 添加视图
[self.view addSubview:textViewWithCode];
// 设置样式
RKOTextView *textViewWithCode = [RKOTextView textViewWithFrame:frame
placeholder:@"纯代码创建..."
font:[UIFont systemFontOfSize:18]
maxNumber:50
maxNumberOfLines:4
clearBtnMode:RKOTextFieldViewModeWhileEditing
needBorder:YES];
// 添加视图
[self.view addSubview:textViewWithCode];
```
---------------------------------------------------------------------
Expand Down Expand Up @@ -126,7 +127,7 @@ RKOTopAlert *topAlert = [[self sharedManager] alertViewWithText:@"提醒文字"
### 集成:

```shell
pod 'RKOTools', '~> 1.4.0'
pod 'RKOTools', '~> 1.4.2'
```

---------------------------------------------------------------------
Expand Down

0 comments on commit 0c571ff

Please sign in to comment.