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: Jul 27, 2015

    moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
    #1
    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

    Joined:
    Jul 4, 2009
    #2
    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

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

Share This Page