title: Return NSIndexPath from custom cell ? (UITableView)
body: <p>I need to get the <code>NSIndexPath</code> for a custom cell in a <code>UITableView</code>. Here's the problem: I send a <code>NSNotification</code> from my custom cell to my <code>UITableViewController</code> when <code>editingDidBegin</code> gets called from a <code>UITextField</code> in my custom cell. In my <code>UITableViewController</code>, I resize the <code>UITableView</code> when the <code>UITextField</code> began editing, and then want the table view to scroll to the Cell in which the <code>UITextField</code> is first responder. But I can't figure out how to return the <code>indexPath</code> of the cell where the <code>UITextField</code> is being edited. I have tried so many ways, but its still not working. One way is this: in my cstomCell class i select the row using <code>[self setSelected:YES]</code> and in my TV controller then if I <code>NSLog</code> the row of <code>[self.tableV indexPathForSelectedRow]</code> it always returns 0 even though its always not 0.</p>