title: Get button click inside UITableViewCell
body: <p>I have a view controller with a table view and a separate nib for the table cell template. The cell template has some buttons. I want to access the button click along with the index of the cell clicked inside the view controller where I have defined the Table view.</p>
  
  <p>So I have <code>ViewController.h</code> and <code>ViewController.m</code> where I have the <code>UITableView</code> and <code>TableTemplate.h</code>, <code>TableTemplate.m</code> and <code>TableTemplate.xib</code> where I have the nib defined. I want the button click event with cell index in <code>ViewController.m</code>.</p>
  
  <p>Any help on how can I do that?</p>