Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

i need help with a error message when making the "Ribit app"

"Prototype table cells must have reuse identifiers"

it is under: Librarary>IOS Devlopement>Build a self-distructing message iphone app>designing and starting the app>adding log in and signe up screens

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hi Maximilian,

That means that one of the prototype cells in one of your table view controllers in your Storyboard is missing a reuse identifier. Hopefully this picture will help explain it better than this sentence: :smile:

Prototype Cell

Make sure the value you type in the Identifier field matches what you have in this line in cellForRowAtIndexPath:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

The table view cell needs an identifier which is specified in the storyboard. This is taught in the "How to Build a Blog Reader app". If you have not gone through that course then I'd suggest that you take the previous two courses before you attempt at taking the "Build a Self-Destructing message" app. Each course builds upon the other and without having gone through them in succession it will not make a lot of sense if you have no experience with iOS development.