How do I debug this cryptic "UITableView configureCellForDisplay:" assertion failure message?

Discussion in 'iOS Programming' started by moonman239, Jul 27, 2015.

  1. moonman239, Jul 27, 2015
    Last edited: May 24, 2018

    moonman239 macrumors 68000

    Mar 27, 2009
    My app crashed and I got the following message in the debugger log:

    Worse, this is all I see in Xcode:Edit: If you can't see it, here's the link: Screenshot

    Update: I'm just looking for generalizable advice, not really too specific to any problem.
  2. ViviUO macrumors 6502

    Jul 4, 2009
    I can't see your image, but this typically gets thrown when you are returning nil in tableView:cellForRowAtIndexPath. Make sure you are actually returning a UITableViewCell and also ensure your cell identifier string is valid.
  3. moonman239 thread starter macrumors 68000

    Mar 27, 2009
    Ah, thanks!
    Edit: That's it! (Note to self:
    UITableViewCell *cell
    TableViewCellSubclass *cell 
    creates two different variables)

Share This Page