Yeol Yeol - 4 months ago 54
Swift Question

iOS app wont run: unable to dequeue a cell with identifier Cell

My app currently has a

TableView
with customized cells. I've searched already for the problem but the solutions I saw online had something to do with the
IBOutlet
connections, but my UI element's connections are fine. How do I solve this?

XCode: 7.0.1
Language: Swift


Terminating app due to uncaught exception
'
NSInternalInconsistencyException
', reason: 'unable to dequeue a cell
with identifier Cell - must register a nib or a class for the
identifier or connect a prototype cell in a storyboard'

Answer

EDIT: I added your log error on your question. Based on this you should check if you have set the correct cell identifier on your table view in your storyboard.

Your code, in your cellForRowAtIndexPAth delegate, is trying to dequeue a table view cell named Cell but it did not find any cell named like this.