title: iOS swift UIImageView change image in tableView cell
body: <p>I have a strange problem in <code>tableView</code> Custom <code>cell</code>. for like Image action I write these code in Custom <code>cell</code> called <code>FeedViewCell</code>:</p>
  
  <pre><code>self.like.isUserInteractionEnabled = true
  let CommenttapGestureRecognizer = UITapGestureRecognizer(target:self, action:#selector(likehandleTap))
  self.like.addGestureRecognizer(CommenttapGestureRecognizer)
  
  func likehandleTap(_ sender: UITapGestureRecognizer) {
  
      if self.like.image == UIImage(named: "like-btn-inactive") {
  
          self.like.image = UIImage(named: "like-btn-active")
  
      } else {
          self.like.image = UIImage(named: "like-btn-inactive")
      }
  }
  </code></pre>
  
  <p>and TableViewController:</p>
  
  <pre><code>func tableView(_ tableView: UITableView, cellForRowAtIndexPath indexPath: IndexPath) -&gt; UITableViewCell {
  
      let cell = tableView.dequeueReusableCell(withIdentifier: "FeedCell", for: indexPath) as! FeedViewCell
  
      return cell
  }
  </code></pre>
  
  <p>but as you see in <a href="https://dl.dropboxusercontent.com/u/8744173/quickcast-23-07-1395-01-02-13.mp4" rel="nofollow">this</a> video when I touch the like button in index 0 and change the image, the like button in index 3 change image also. can you guys tell me my mistake please?</p>
  
  <p>thanks</p>