I get this error:
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSObject 0x5a37750> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key destination.'
Below is the 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; } } }
Here is ReservationCell.h
@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
This is how I connected it: 
source share