Skip to content

Commit 2c5ee4f

Browse files
committed
[UPDATE] README.md
1 parent c175ae2 commit 2c5ee4f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ CocoaPods is a dependency manager for Objective-C, which automates and simplifie
6565

6666
Now, TXScrollLabelView supports both **array & string**. just enjoy it. 👀
6767

68-
**Objective-C example :**
68+
### Example
69+
70+
**Objective-C :**
6971

7072
/** Step1: 滚动文字 */
7173
NSString *scrollTitle = @"xxxxxx";
@@ -86,7 +88,17 @@ Now, TXScrollLabelView supports both **array & string**. just enjoy it. 👀
8688
8789
You can running **TXScrollLabelViewDemo** for more details.
8890

89-
**Swift example :** Producting.([**Swift-version**](https://github.com/tingxins/ScrollLabelView))
91+
**Swift :** Producting.([**Swift-version**](https://github.com/tingxins/ScrollLabelView))
92+
93+
### Delegate Method
94+
95+
Tap Gesture callback.
96+
97+
```
98+
99+
- (void)scrollLabelView:(TXScrollLabelView *)scrollLabelView didClickWithText:(NSString *)text atIndex:(NSInteger)index;
100+
101+
```
90102

91103
## Communication
92104

0 commit comments

Comments
 (0)