Crash on [[NSBundle mainBundle] loadNibnamed:owner:options:] [duplicate] Crash on [[NSBundle mainBundle] loadNibnamed:owner:options:] [duplicate] xcode xcode

Crash on [[NSBundle mainBundle] loadNibnamed:owner:options:] [duplicate]


Somewhere in your nib, you connect something to the cityArrivalTimeLabel property on an object that does not have that property. Make sure you 1) changed the class of the cell to ArrivalTimesCell and 2) connected that label to the right object.

You do not need to alloc/init the labels in your init method. They are simply replaced when the nib loads, so it is just a waste of RAM until then.