title: indentationLevelForRowAtIndexPath not indenting custom cell
body: <p>I have overridden the <code>tableView:indentationLevelForRowAtIndexPath</code> method in my <code>UITableViewController</code> derived class as follows:</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndexPath *)indexPath {
      NSDictionary* item = [self.projects objectAtIndex:indexPath.row];
      int indentationLevel = [[item objectForKey:@"indent"] intValue];
      DLog (@"Indentation Level for Row %d : %d", indexPath.row, indentationLevel);
      return indentationLevel;
  }
  </code></pre>
  
  <p>I initially thought that this was not being called but that was operator error (err, mine) and I hadn't defined the symbol DEBUG=1.</p>
  
  <p>However, it is being called (duh me!) and this is the log output:</p>
  
  <pre><code> -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 0 : 1
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 1 : 1
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 2 : 2
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 3 : 2
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 4 : 2
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 5 : 1
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 6 : 2
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 7 : 2
   -[RootViewController tableView:indentationLevelForRowAtIndexPath:] [Line 129] Indentation Level for Row 8 : 1
  </code></pre>
  
  <p>But, this is not affecting the layout of the cells.  No indentation.</p>
  
  <p>This is my <code>itemCellForRowAtIndexPath</code> implementation, if that makes any difference:</p>
  
  <pre><code>-(UITableViewCell*)tableView:(UITableView *)tableView itemCellForRowAtIndexPath:(NSIndexPath *)indexPath {
      static NSString* cellIdentifier = @"projectItemCell";
      ProjectItemTableViewCell* cell = (ProjectItemTableViewCell*)[tableView dequeueReusableCellWithIdentifier:cellIdentifier];
  
      if (cell == nil) {
          NSArray* nib = [[NSBundle mainBundle] loadNibNamed:@"ProjectItemTableViewCell" owner:self options:nil];
          for (id oneObject in nib) {
              if ([oneObject isKindOfClass:[ProjectItemTableViewCell class]]) {
                  cell = (ProjectItemTableViewCell*)oneObject;
              }
          }
      }
  
      NSDictionary* item = [self.projects objectAtIndex:indexPath.row];
      cell.projectDescLabel.text = [item objectForKey:@"name"];
      cell.itemCountlabel.text = [NSString stringWithFormat:@"%d", [[item objectForKey:@"cache_count"] intValue]];
      cell.itemCountlabel.backgroundColor = [UIColor colorForHex:[item objectForKey:@"color"]];
      cell.indentationWidth = 20;
      return cell;
  }
  </code></pre>
  
  <p>How do I indent a custom <code>UITableViewCell</code> which I have defined in Interface Builder?</p>
  
  <p>If I change the <code>itemCellForRowAtIndexPath</code> to use a default <code>UITableViewCell</code> with the code below, then it indents fine.</p>
  
  <pre><code>static NSString* cellIdentifier = @"projectItemCell";
  UITableViewCell* cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
  if (cell == nil) {
      cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier] autorelease];
  }
  
  NSDictionary* item = [self.projects objectAtIndex:indexPath.row];
  cell.textLabel.text = [item objectForKey:@"name"];
  cell.indentationWidth = 40;
  
  return cell;
  </code></pre>