title: How can I reload data in tableview in view controller in iphone
body: <p>I am new to iphone development. I have created 5 buttons in the view. On clicking the buttons it navigates to the corresponding views. On clicking the "News" button it navigates and displayed the parsing details in the table view.(This table view, I have created View controller and added table view using Interface Builder and I have set all the properties.)
  and I go to another button and comes back to the "News" button, every time parsing will happened.How to avoid the multiple parsing when I come back to the button.</p>
  
  <p>I have tried this one and my code is,</p>
  
  <pre><code> - (void)viewDidAppear:(BOOL)animated {
  
       [super viewDidAppear:animated];
  
       static int i;
  
       if(i == 0)
       {
            NSString * path = @"http://www.AAAAAAAAAAAAAA.com";
  
           [self parseXMLFileAtURL:path];
  
           i++;
  
       }
  
        [self.newsTable reloadData];
  
    }
  </code></pre>
  
  <p>Now the parsing is happened only one time but the datas are not displayed.</p>
  
  <p>My problem is the tableview does not reload. newsTable is the instance of the Tableview.</p>
  
  <p>How can I achieve this?</p>
  
  <p>Please help me out.</p>