title: How to use UIButtons in a Cell with Functions?
body: <p>I created a custom cell added the actions and outlets.</p>
  
  <p>I want to be able to get the cell indexpath when the cell button is pressed.</p>
  
  <p>I am send data to my parse server and I need to the cell indexPath.row so when someone clicks the button the count for likes or dislikes goes up.</p>
  
  <p>My Custom Cell : </p>
  
  <pre><code>class myTVC: UITableViewCell {
  @IBOutlet weak var greenUp: UIButton!
  
  @IBOutlet weak var redDown: UIButton!
      @IBOutlet weak var imageViewTVC: UIImageView!
  
  @IBOutlet weak var upVote: UILabel!
  @IBOutlet weak var downVote: UILabel!
  @IBOutlet weak var saveButton: UIButton!
  override func awakeFromNib() {
      super.awakeFromNib()
      // Initialization code
  }
  
  override func setSelected(selected: Bool, animated: Bool) {
      super.setSelected(selected, animated: animated)
  
      // Configure the view for the selected state
  }
  
  @IBAction func voteDownPressed(sender: UIButton) {
      print("downVote")
  
  
  }
  @IBAction func voteUpPressed(sender: UIButton) {
       print("upVote")
  
  }
  
  
  }
  </code></pre>