title: nscfstring text unrecognized selector sent to instance
body: <p>I am trying to figure out this error from previous 3 hours. By searching, I have come to know that this error is related to memory management, but I have failed to figure out that what I am doing wrong. </p>
  
  <p>I have declared these 4 labels:</p>
  
  <pre><code>@interface InteractiveHistory : UITableViewController {
  UILabel *date;
  UILabel *startTime;
  UILabel *cal;
  UILabel *duration;
  }
  </code></pre>
  
  <p>Then created properties and synthesized them. In viewDidLoad, I initialized all like this one:</p>
  
  <pre><code>date = [[UILabel alloc] init];
  </code></pre>
  
  <p>I also have deallocated them in dealloc() method.</p>
  
  <p>What I want to do is use these 4 labels to write some text in cells of the table. Text will depend upon the indexPath.</p>
  
  <p>In cellForRowAtIndexPath method,  just showing you for 2 labels and have indicated error line:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease];
  
          NSLog(@"constructing cell");
  
          //set up labels text
  
          date = [NSString stringWithFormat:@"%@",[[int_data objectAtIndex:indexPath.row] objectForKey:@"Date"]];
  
  
   NSLog(@"%@",date.text); //App crashes at this line
         [date setTag:1];
  
  
          startTime = [NSString stringWithFormat:@"%@",[[int_data objectAtIndex:indexPath.row] objectForKey:@"Start Time"]]; 
  
          //setting tag and position of label
          [startTime setTag:2];
          CGRect labelpos =  startTime.frame;
          labelpos.origin.y = date.bounds.size.height + 2;
          startTime.frame = labelpos;
  
          NSLog(@"labels set");
  
     // Configure the cell...
      [[cell contentView] addSubview:date];
      [[cell contentView] addSubview:startTime];
      [[cell contentView] addSubview:duration];
      [[cell contentView] addSubview:cal];
  
  
      NSLog(@"A cell set");
  
      }      
  
      return cell;
  }
  </code></pre>
  
  <p>Can anybody plz tell me what am I doing wrong? I hope my Question is clear..</p>