title: Loading data from cell to detailView always show the last data
body: <p>I have UITableView with some data from backend, I have everything in table,3 UILable and I will get that information from backend and I can show them in table row, when I click on row I want to have the same label in my detail view, but now, I have just one information in all my detail view, same information, just load the last row for all detailView,</p>
  
  <p>would you please help me in this implementation,
  Thanks in advance!</p>
  
  <p>cellForRowAtIndexPath method </p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath
  *)indexPath
  
  {
  
  static NSString *CellIdentifier = @"BooksCell";
  BooksCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  if (cell == nil) {
      cell =[ [[NSBundle mainBundle] loadNibNamed:@"BooksCell" owner:nil options:nil]   
  lastObject];
  }
  
  _books = [server get_tests:10 offset:0 sort_by:0 search_for:@""];
  _t = [NSMutableString stringWithFormat:@"%@ ", [_books objectAtIndex:indexPath.row]];
  
  NSString *testdata = _t;
  
  _components = [testdata componentsSeparatedByString:@","];
  NSLog(@"_components:  %@",_components);
  for (NSString *aComponent in _components) {
      if ([aComponent hasPrefix:@"title"]) {
          _subComponents = [aComponent componentsSeparatedByString:@":"];
          _titleString = [_subComponents[1] stringByTrimmingCharactersInSet:[NSCharacterSet
   characterSetWithCharactersInString:@"\""]];
  
  
      }if ([aComponent hasPrefix:@"authors"]){
          _subComponents = [aComponent componentsSeparatedByString:@":"];
          _writerString = [_subComponents[1] stringByTrimmingCharactersInSet:[NSCharacterSet
   characterSetWithCharactersInString:@"\""]];
  
  
      }if ([aComponent hasPrefix:@"name"]){
          _subComponents = [aComponent componentsSeparatedByString:@":"];
          _publisherString = [_subComponents[1] stringByTrimmingCharactersInSet:
  [NSCharacterSet characterSetWithCharactersInString:@"\""]];
  
  
  
          break;
      }
  }
  
  
  
  cell.bookTitle.text = _titleString;
  cell.writer.text = _writerString;
  cell.publisher.text = _publisherString;
  
  return cell;
  }
  </code></pre>
  
  <p>didSelectRowAtIndexPath method</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath 
  *)indexPath
  {
  [tableView deselectRowAtIndexPath:indexPath animated:YES];
  
  
  BooksDetailView *c = [[BooksDetailView alloc] init];
  [self.booksTable addSubview:c.view];
  
  c.bDetailTitle.text = _titleString;
  c.bDetailWriter.text = _writerString;
  c.bDetailPublisher.text = _publisherString;
  
  
  }
  </code></pre>