Author Topic: unable to dequeue a cell with identifier NameAddress  (Read 9871 times)

haitang

  • Newbie
  • *
  • Posts: 2
    • View Profile
unable to dequeue a cell with identifier NameAddress
« on: April 01, 2013, 10:12:47 AM »
i followed the instructions in Chapter 12, and executed the build successfully before the section of "Firefox and the SQlite Manager".

i added records to the iDeliverMobileCD data in SQLite Manger, and run the app.

the following occured:

*** Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-2380.17/UITableView.m:4460
2013-04-01 22:06:24.330 iDeliverMobileCD[2602:c07] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier NameAddress - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'

what is the problem?

haitang

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: unable to dequeue a cell with identifier NameAddress
« Reply #1 on: April 02, 2013, 10:16:26 AM »
in the table view controller of the  Deliveries scene, i changed the Attributes Inspector from Static Cells to Dynamic Prototypes. And the build succeeded.

is that the cause?