reloadData method not called from another class
<p>I will directly start from an ex:
I have two classes A and B, both are derived from UITableViewController.</p>

<p>I have also added them into navigation controller so there is navigation going on from A to B. These both classes use database for showing data into the table. Now in B View I delete a row from the DB and A view displays the row count of that DB table. Now what I am doing is on the BACK button of the navigation I want to I am calling this method 
TRY 1:</p>

<pre><code>//in class B
-(IBAction)backBtnPressed
{
[ObjA.tbleView reloadData];
[self.navigationController popViewControllerAnitmated:YES]; 
}
</code></pre>

<p>on its action. The problem is this method does not reload the data of View A. i.e., it doesn't call the tbleView's delegate methods like cellForIndexPath...etc.
Then I thought that may the reloadData shud be called from the same class so did this 
TRY 2: </p>

<pre><code>//in class B
-(IBAction)backBtnPressed
{
[ObjA.tbleView myReloadData];
[self.navigationController popViewControllerAnitmated:YES]; 
}
//Class A
-(void)myReloadData
{
[self.tbleView reloadData];
}
</code></pre>

<p>It comes into this method but still doesn't call the tableView delegate methods. Please let me know why I am not able to do this silly thing :(.
Regards..
Amit</p>
