IBAction for each TableViewCell not returning unique NSIndexPath
<p>I'm attempting to segue to a user's profile screen when I tap on their username (see screenshot below). I have a <code>UITableViewController</code> with a feed of <code>UITableViewCell</code> that each have a <code>usernameLabel</code> (UILabel) and a transparent <code>userNameButton</code> (UIButton) positioned directly on top of the <code>usernameLabel</code> in order for the UILabel to be visible. The button acts like a 'hit area' essentially. I know I should probably just remove the UILabel and have the UIButton's text update to say the username, but that's a different story.</p>

<p>Here is my IBAction (Segue code isn't in here yet):</p>

<pre><code>    @IBAction func usernameButtonPressed(sender: UIButton) {

       let indexPath = NSIndexPath(forRow: sender.tag, inSection: 0)
       let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! DrawingTableViewCell
       print("index path is: \(indexPath)")

       let cellsUsernameString = cell.usernameLabel.text

       print("just tapped the Feed username button for \(cellsUsernameString!)")

    }
</code></pre>

<p>Couple of questions:</p>

<ol>
<li>My <code>usernameButtonPressed</code> is in my UITableViewController. Should I put this IBAction in the UITableViewCell's class? Or is it fine here?</li>
<li>The <code>indexPath</code> I print is exactly the same for each table cell. Why is this? Doesn't my <code>sender.tag</code> update to a different int value?</li>
<li>I think as a result of #2, each table cell is returning an incorrect username string.</li>
</ol>

<p>Overall, my goal with this action is to get user (or object) info from the specific user for each respective tableview cell so that I can properly segue to that specific users profile. Obviously I will need more code to do this, but this is the beginning of my attempt at this and at this point I'm purely trying to obtain the correct username for each cell.</p>

<p>Here's a screenshot of the TableView in an attempt to provide more context:</p>

<p><a href="https://i.stack.imgur.com/LizfD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LizfD.jpg" alt="enter image description here"></a></p>