How can I get indexPath.row in cell.swift
<p>I have 2 files.</p>

<ul>
<li>myTableViewController.swift</li>
<li>myTableCell.swift</li>
</ul>

<p>Can I get the indexPath.row in myTabelCell.swift function?</p>

<p>Here is myTableCell.swift</p>

<pre><code>import UIKit
import Parse
import ActiveLabel

class myTableCell : UITableViewCell {

    //Button
    @IBOutlet weak var commentBtn: UIButton!
    @IBOutlet weak var likeBtn: UIButton!
    @IBOutlet weak var moreBtn: UIButton!


    override func awakeFromNib() {
        super.awakeFromNib()


    }

    @IBAction func likeBtnTapped(_ sender: AnyObject) {

        //declare title of button
        let title = sender.title(for: UIControlState())

        //I want get indexPath.row in here!

    }
</code></pre>

<p>Here is myTableViewController.swift</p>

<pre><code>class myTableViewController: UITableViewController {

    //Default func
    override func viewDidLoad() {
        super.viewDidLoad()

        //automatic row height
        tableView.estimatedRowHeight = 450
        tableView.rowHeight = UITableViewAutomaticDimension



    }

 // cell config
    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {


        //define cell
        let cell = tableView.dequeueReusableCell(withIdentifier: "myTableCell", for: indexPath) as! myTableCell



 }
</code></pre>

<p>As you can see... I'm trying to get indexPath.row in myTableCell, liktBtnTapped function. </p>

<p>Could you let me know how can I access or get IndexPath.row?</p>