title: Activity indicator (spinner) with UIActivityIndicatorView
body: <p>I have a tableView that loads an XML feed as follows:</p>
  
  <pre><code>- (void)viewDidAppear:(BOOL)animated {
      [super viewDidAppear:animated];
  
      if ([stories count] == 0) {
          NSString *path = @"http://myurl.com/file.xml";
          [self parseXMLFileAtURL:path];
      }
  }
  </code></pre>
  
  <p>I'd like to have the spinner to show on the top bar at the app launch and dissapear once the data is displayed on my tableView.</p>
  
  <p>I thought that putting the beginning at viewDidAppear and the end at <code>-(void)parserDidEndDocument:(NSXMLParser *)parser</code>  but it didn't work.</p>
  
  <p>I'd appreciate a good explained solution on how to implement this solution.</p>