title: How to change font style and background color in titleForHeaderInSection method
body: <p>after long reading and checking code, I am proud to have a custom table view with sections and section titles, all populated from core data objects. Now I would need to customize the section title and background color. I have seen it done but in a <code>viewForHeaderInSection</code> method. Is is not possible inside my <code>titleForHeaderInSection</code> method?
  Here you have my method:</p>
  
  <pre><code>-(NSString*)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section{
  
  
  
  
      id &lt;NSFetchedResultsSectionInfo&gt; theSection = [[self.fetchedResultsController sections]objectAtIndex:section];
      NSString *sectionname = [theSection name];
      if ([sectionname isEqualToString:@"text 1"]){
          return @"Today";
  
      }
      else if ([sectionname isEqualToString:@"text 2"]){
          return @"Tomorrow";
      }
  
  
      if ([[self.fetchedResultsController sections]count]&gt;0){
          id&lt;NSFetchedResultsSectionInfo&gt; sectionInfo = [[self.fetchedResultsController sections]objectAtIndex:section];
          return [sectionInfo name];
      }
      else{
          return nil;
      }
  
  }
  </code></pre>