title: Why are my UITableViewCell's repeating?
body: <p>When I scroll offscreen I get some repeating cells. How can I fix this?</p>
  
  <pre><code>// Customize the appearance of table view cells.
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
      }
  
      switch (indexPath.row) {
          case 0:
              cell.textLabel.text = [NSString stringWithFormat:@"Bar Cafe",indexPath.row];
              break;
          case 1:
              cell.textLabel.text = [NSString stringWithFormat:@"Boutique Hester",indexPath.row];
              break;
          case 2:
              cell.textLabel.text = [NSString stringWithFormat:@"Boutique Hester Shoes",indexPath.row];
              break;
          case 3:
              cell.textLabel.text = [NSString stringWithFormat:@"Local Advice - Paulina",indexPath.row];
              break;
          case 4:
              cell.textLabel.text = [NSString stringWithFormat:@"Museum Brileyeglass",indexPath.row];
              break;
          case 5:
              cell.textLabel.text = [NSString stringWithFormat:@"Redlight Swans",indexPath.row];
              break;
          case 6:
              cell.textLabel.text = [NSString stringWithFormat:@"Reefer Flying Dutchman",indexPath.row];
              break;
          case 7:
              cell.textLabel.text = [NSString stringWithFormat:@"Reefer Tiani Hempshop",indexPath.row];
              break;
  
          default:
              break;
      }
  
      // Configure the cell...
      //cell.textLabel.text = [NSString stringWithFormat:@"Featured Event %d",indexPath.row];
      //cell.detailTextLabel.text = [NSString stringWithFormat:@"Description %d", indexPath.row];
      cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
  
      return cell;
  }
  </code></pre>