Q:

Need to disable particular button in swipe cell?

I am using https://github.com/CEWendel/SWTableViewCell library to my project.
Certain situation I need to disable the particular button action of swipe cell.
I cannot find any property in their class file. If anyone crossed this, give me answer.
Here I have attaced my swipe options image:

For ex
: I want to disable the share button action.

A:

Let's assume your share button is in the leftButtonsArray. In the method:
- (void)swipeableTableViewCell:(SWTableViewCell *)cell scrollingToState:(SWCellState)state
{
   //case:left buttons opened      
   UIButton *shareButton = leftButtonsArray[theIndexOfTheShareButton];
    shareButton.enabled = NO;
}

