title: How can i disable the prepareForSegue and DidSelectRow only in a cell?
body: <p>I have a GADBannerView between my tableviewcells, my banner doesn't have the full width of UITableViewCell, when i clicked outside the banner in tableviewcell my application was crashed, because in the detail of tableviewcell don't have any data to receive. I tried to do a bool logic but it doesn't work:</p>
  
  <pre><code>if !isAd {
  
          let news = newsTeam[indexPath.row]
          print(indexPath.row)
          viewController.news = news
  
          self.navigationController?.pushViewController(viewController, animated: true)
      }
  </code></pre>
  
  <p>i set the isAd = true when i will call my Ad.xib for table view cell.</p>
  
  <p>with this code i disable all the cells, when the cell who has a banner is appearing.</p>