I've created a tableview in the storyboard, and a custom prototype cell. I've set the cell identifier in the storyboard, and am trying to dequeue it and am getting:
unable to dequeue a cell with identifier TTEntry - must register a nib or a class for the identifier or connect a prototype cell in a storyboard
I can't see anything else in the storyboard TableCell properties to link it with. I just don't know what the message is getting at.
Can someone point me in the right direction?
Thanks!
Screwtape.
From Storyboard:
From code (like lemon lime pomelo posted) :
[self.tableView registerClass:<Your UITableViewCell subclass> forCellReuseIdentifier:<Your identifier>]
Add your CustomCell class in your storyboard
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With