<commit_before># SHMultipleSelect

SHMultipleSelect is an easy-to-use multiple selection view for iOS 7+.

<a href="url"><img src="ScreenShots/shmultipleselect.png" height="320" width="568" ></a>

Created by Shamsiddin
https://www.linkedin.com/in/shamsiddin

## Usage

* Copy class files from `Pod/Classes` folder to your project
* Import `SHMultipleSelect.h` and implement `SHMultipleSelectDelegate` protocol
* See Demo project for details

##Delegate methods

```objective-c
- (void)multipleSelectView:(SHMultipleSelect*)multipleSelectView clickedBtnAtIndex:(NSInteger)clickedBtnIndex withSelectedIndexPaths:(NSArray*)selectedIndexPaths;
- (NSString*)multipleSelectView:(SHMultipleSelect*)multipleSelectView titleForRowAtIndexPath:(NSIndexPath*)indexPath;
- (BOOL)multipleSelectView:(SHMultipleSelect*)multipleSelectView setSelectedForRowAtIndexPath:(NSIndexPath*)indexPath;
```

```objective-c
#pragma mark - SHMultipleSelectDelegate

- (void)multipleSelectView:(SHMultipleSelect *)multipleSelectView clickedBtnAtIndex:(NSInteger)clickedBtnIndex withSelectedIndexPaths:(NSArray *)selectedIndexPaths {
    if (clickedBtnIndex == 1) { // Done btn
        for (NSIndexPath *indexPath in selectedIndexPaths) {
            NSLog(@"%@", _dataSource[indexPath.row]);<commit_msg>modified README.md<commit_after># SHMultipleSelect

SHMultipleSelect is an easy-to-use multiple selection view for iOS 7+.

<a href="url"><img src="ScreenShots/shmultipleselect.png" width="320" height="568" ></a>

Created by Shamsiddin
https://www.linkedin.com/in/shamsiddin

## Usage

* Copy class files from `Pod/Classes` folder to your project
* Import `SHMultipleSelect.h` and implement `SHMultipleSelectDelegate` protocol
* See Demo project for details

##Delegate methods

```objective-c
- (void)multipleSelectView:(SHMultipleSelect*)multipleSelectView clickedBtnAtIndex:(NSInteger)clickedBtnIndex withSelectedIndexPaths:(NSArray*)selectedIndexPaths;
- (NSString*)multipleSelectView:(SHMultipleSelect*)multipleSelectView titleForRowAtIndexPath:(NSIndexPath*)indexPath;
- (BOOL)multipleSelectView:(SHMultipleSelect*)multipleSelectView setSelectedForRowAtIndexPath:(NSIndexPath*)indexPath;
```

```objective-c
#pragma mark - SHMultipleSelectDelegate

- (void)multipleSelectView:(SHMultipleSelect *)multipleSelectView clickedBtnAtIndex:(NSInteger)clickedBtnIndex withSelectedIndexPaths:(NSArray *)selectedIndexPaths {
    if (clickedBtnIndex == 1) { // Done btn
        for (NSIndexPath *indexPath in selectedIndexPaths) {
            NSLog(@"%@", _dataSource[indexPath.row]);
{'fraction_non_alphanumeric': 0.11163337250293771, 'fraction_numerical': 0.00626713670191931, 'mean_word_length': 7.716723549488054, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6552813', 'n_tokens_mistral': 763, 'n_tokens_neox': 708, 'n_words': 148}