title: How do I get the position of subview in my UITableViewCell with respect to the whole window?
body: <p>I know <code>convertRect:toRect</code> is the key here, but I'm not sure how to call it. I have a subview of my cell, and I want its position in the app's entire window. </p>
  
  <p>I need to know this when I tap on this button (the subview) in its target action method. I need to call the <code>convertRect:toRect</code> function on the cell, I figure, in order to get the right coordinates, but in this method I have no reference to the cell itself.</p>
  
  <p>Do I climb the superview hierarchy? That seems gross, as I'm not totally sure what I would get, as it's embedded in the contentView of the cell, and Apple does wacky stuff with their private subviews and whatnot.</p>
  
  <p>Code:</p>
  
  <pre><code>@IBAction buttonPressed(sender: UIButton) {
      // This button got the callback that it was pressed. It's in a cell. I need to convert its rect to that of the window here. I need the coordinate system it's calculated from (the cell) which I'm not sure of how to easily do in a target action callback.
  }
  </code></pre>