title: error with custom UITableViewCell
body: <p>I am getting this error:</p>
  
  <pre><code> *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[&lt;NSObject 0x5a37750&gt; setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key destination.'
  </code></pre>
  
  <p>Following is the code:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"ReservationCell";
  
      ReservationCell *cell = (ReservationCell*) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"ReservationCell" owner:nil options:nil];
          for (id currentObject in topLevelObjects){
              if ([currentObject isKindOfClass:[UITableViewCell class]]){
                  cell = (ReservationCell *) currentObject;
                  break;
              }
          }
      }
  
  
      //cell.origin.text = [[data objectAtIndex:indexPath.row] origin];
      //cell.destination.text = [[data objectAtIndex:indexPath.row] destination]; 
      //cell.time_range.text = [[data objectAtIndex:indexPath.row] time_range]; 
  
      return cell;
  }
  </code></pre>
  
  <p>Here is the ReservationCell.h</p>
  
  <pre><code>@interface ReservationCell : UITableViewCell {
      UILabel * origin;
      UILabel * destination;
      UILabel * time_range;
  }
  
  @property (nonatomic, retain) IBOutlet UILabel * origin;
  @property (nonatomic, retain) IBOutlet UILabel * destination;
  @property (nonatomic, retain) IBOutlet UILabel * time_range;
  
  @end
  </code></pre>
  
  <p>Here's how I wired it up:
  <img src="https://i.stack.imgur.com/tGsYL.png" alt="enter image description here"></p>