title: tableview static cell dynamic footer
body: <p>I have a static cell with 2 sections. One section has 2 rows and the other has a single row. One of the cells in the first section perform an operation that could take up to a minute (decrypting lots of data from the database then encrypting it again. </p>
  
  <p>In order to inform the user that the operation is ongoing and not stuck, I am trying to do the following: (The below is a pseudo of my actual code)</p>
  
  <p><strong>Issue:</strong></p>
  
  <p>the <code>footerString</code> in <code>doStuff</code> is not shown. However the one in <code>callDoStuff</code> is shown just fine... Any ideas what am I doing wrong?</p>
  
  <pre><code>- (void) doStuff
  {
      for (int i=0; i&lt;[resultsArray count]; i++)
      {
        rec1 = [decrypt record1];
        footerString = [@"Preparing item : " stringByAppendingString:rec1];
        [self.tableView reload];
        rec2 = [decrypt record2];
        ...
        ...
        ...
        rec10 = [decrypt record10];
      }
  }
  </code></pre>
  
  <p><code>doStuff</code> is called from another function</p>
  
  <pre><code>- (void) callDoStuff
  {
      [self doStuff];
      footerString = @"Done preparing items";
      [self.tableView reload];
  }
  </code></pre>
  
  <p>I do have the following in my <code>tableviewcontroller</code></p>
  
  <pre><code>- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section
  {
      if (section == 0)
          return footerString;
      else
          return @"";
  }
  </code></pre>