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

Jack Campbell
Jack Campbell
1,822 Points

When I run my program it is coming up black? URGENT

Ok so I have followed this video very closely and all the code is the same. However I think the video is done in an older version of Xcode. Do you have any Idea why my screen is coming up black instead of coming up with the tab bars on the bottom? Everything went well until the eleventh minute on. The yellow triangle says "Unsupported Configuration Prototype table cells must have reuse identifiers." Does anyone know how to fix this?

2 Answers

Stone Preston
Stone Preston
42,016 Points

post the code for your app delegate method didFinishLaunchingWithOptions. also make sure that in your project settings (to open the settings, click the file at the very top of your project tree and select the general tab) and make sure you have your storyboard file set as your main interface.

in your app delegate method didFinishLaunching with options the only thing you should have in that method is

return YES;
Jack Campbell
Jack Campbell
1,822 Points

You are the man! Thanks so much!!!!

Stone Preston
Stone Preston
42,016 Points

no problem. Was the app delegate method the problem? or was it the storyboard setting? as far as the tableViewCell warning goes, go to your tableVIewController in storyboard and select the prototype cell. In the attributes inspector (I think its attributes thought it may be in the identity inspector) there should be a field called identifier. type in Cell for the identifier value

Jack Campbell
Jack Campbell
1,822 Points

Story board setting. Thanks so much for your help!