An open API service indexing awesome lists of open source software.

https://github.com/rushisangani/rsworddetectortextview

Get Clicked/Tapped word by user in UITextView
https://github.com/rushisangani/rsworddetectortextview

Last synced: 7 months ago
JSON representation

Get Clicked/Tapped word by user in UITextView

Awesome Lists containing this project

README

          

# RSWordDetectorTextView

The convinient class to get **clicked/tapped** word by user in **UITextView**.

## Features

- Get user clicked text in UITextView using delegate method.

## How To Use

### RSWordDetectorTextView

```objective-c
/* set delegate */

self.textView.wordDetectorDelegate = self;

#pragma mark- RSWordDetectorDelegate method

-(void)textView:(UITextView *)textView didTappedWord:(NSString *)word {
NSLog(@"Tapped word: %@", word);
}

```

## License

RSWordDetectorTextView is released under the MIT license. See LICENSE for details.