title: How to detect indexPath.row in CustomCell button Click?
body: <p>I have a custom cell. like this</p>
  
  <p><img src="https://i.stack.imgur.com/0OVYr.png" alt="Cell"></p>
  
  <p>There are buttons, like LIKE, COMMENT, SHARE.</p>
  
  <p>I want indexPath.row in method when click these buttons.</p>
  
  <p>I made protocol like this</p>
  
  <pre><code>@protocol Cell_StreamCellDelegate
  @required
  
  -(void)like;
  -(void)comment;
  -(void)share;
  
  
  @end
  </code></pre>
  
  <p>I called them when methods in CELL.m like as below</p>
  
  <pre><code>-(IBAction)likePressed:(id)sender{
      [delegate like];
  }
  -(IBAction)commentPressed:(id)sender{
      [delegate comment];
  }
  -(IBAction)sharePressed:(id)sender{
      [delegate share];
  }
  </code></pre>
  
  <p>But I am unable to fetch the indexPath.row. I want get an object which is on particular index.</p>
  
  <p>Thanks</p>