Reputation: 3
I've been following a guide to create my own UITableView cell and I created the class and the interface successfully.
When I tried to change my app code from the default UITableViewCell
to my custom-made SimpleTableCell
I got the following error:
My code and the error
Why I get this error while the commented area in the above code works great?
The error appears in the following line:
SimpleTableCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentifier];
Upvotes: 0
Views: 26
Reputation: 6272
Make sure that at the top of your file you have
#import "SimpleTableCell.h"
or whichever other header in which this class is declared.
Upvotes: 1