title: Prevent UITableViewCells from repeating content
body: <p>I have the following code which has 2 sections. I want the first section, which has 3 cells, to have text, and the second section to have no text. The problem is after the 6th or so cell in section 2, the cells repeat the text from section 1.</p>
  
  <p>So my cells look like: Section 1 - Profile, Contacts, Settings; Section 2 - Blank Blank, Blank, Blank, Blank, Profile, Contacts, Settings.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
  {
      // Return the number of sections.
      return 2;
  }
  
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
      if(section == 0) return 3;
      else return 9;
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
      static NSString *CellIdentifier = @"LeftMenuCell";
      UITableViewCell *cell = (UITableViewCell *) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  
      if(indexPath.section == 0) {
      switch (indexPath.row) {
          case 0:
              cell.textLabel.text = @"Profile";
              break;
          case 1:
              cell.textLabel.text = @"Contacts";
              break;
          case 2:
              cell.textLabel.text = @"Settings";
              break;
  
          default:
              break;
      }
  
      } else {
           //nothing should appear in these cells
      }
  
      return cell;
  }
  </code></pre>