I'm using a custom cell of UITableViewCell in multiple tableview
, and its working fine, but i want to know that, the custom cell is used by which tableview ?
Eg.
Suppose ViewControllerA
has a tableView
with custom cell, namely (ReuseIdentifier) cellA
.
Also ViewControllerB
has a tableView
with custom cell, namely (ReuseIdentifier) cellB
but both cell has the same class.
Now, from a ViewController
both the class has push by any button action.
now, how that custom cell will understand which tableView
is used it ?
Is there any way ?
Any answer will be appreciated
Thanks