Skip to content

Commit f1ccc59

Browse files
committed
UPT: readme
1 parent 99ada99 commit f1ccc59

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,19 @@ Copy `GrowingTextView.swift` into your project.
4141

4242
## Usage
4343

44-
**Programmatically**<br>
44+
**Example**<br>
45+
46+
GrowingTextview is just a textview, download the example to see how to use it as a input toolbar like other instant messaging apps.
47+
48+
**Using GrowingTextview programmatically**<br>
4549

4650
```swift
4751
let textView = GrowingTextView()
4852
textView.delegate = self
4953
addSubview(textView)
5054
```
5155

52-
**Storyboard**<br>
56+
**Using GrowingTextview in Storyboard**<br>
5357

5458
1. Drag a TextView into Storyboard.
5559
2. Set class to "GrowingTextView".

0 commit comments

Comments
 (0)